Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 2.26 KB

File metadata and controls

51 lines (42 loc) · 2.26 KB

Go Report Card

Grade: A+ (98.1%)

Metric Value
Files 56
Issues 9

Checks

Check Score
gofmt 100%
go_vet 100%
gocyclo 83%
ineffassign 100%
license 100%
misspell 100%

Issues

gocyclo

  • internal/api/api_emails_test.go
    • Line 1034: warning: cyclomatic complexity 20 of function TestAPIGetEmailPreviewsWithFilters() is high (> 15) (gocyclo)
    • Line 2799: warning: cyclomatic complexity 19 of function TestApplyEmailFilters() is high (> 15) (gocyclo)
    • Line 653: warning: cyclomatic complexity 16 of function TestAPIGetAllEmailsWithFilters() is high (> 15) (gocyclo)
  • internal/webhook/config.go
    • Line 142: warning: cyclomatic complexity 32 of function compileTarget() is high (> 15) (gocyclo)
  • internal/api/api_emails.go
    • Line 465: warning: cyclomatic complexity 31 of function applyEmailFilters() is high (> 15) (gocyclo)
    • Line 213: warning: cyclomatic complexity 16 of function (*API).getEmailPreviews() is high (> 15) (gocyclo)
  • cmd/owlmail/main_test.go
    • Line 28: warning: cyclomatic complexity 23 of function TestCompleteWebAuthConfig() is high (> 15) (gocyclo)
    • Line 289: warning: cyclomatic complexity 18 of function TestSetupOutgoingConfig() is high (> 15) (gocyclo)
    • Line 138: warning: cyclomatic complexity 16 of function TestLoadAutoRelayRules() is high (> 15) (gocyclo)
  • internal/config/config_test.go
    • Line 285: warning: cyclomatic complexity 19 of function TestDefineAndResolveConfig() is high (> 15) (gocyclo)
  • internal/api/api_config.go
    • Line 121: warning: cyclomatic complexity 19 of function (*API).patchOutgoingConfig() is high (> 15) (gocyclo)
  • internal/config/validation.go
    • Line 13: warning: cyclomatic complexity 18 of function ValidateConfig() is high (> 15) (gocyclo)
  • internal/mailserver/mailserver_events_test.go
    • Line 40: warning: cyclomatic complexity 16 of function TestOnWithConcurrencyBoundsHandlersBeforeStartingGoroutines() is high (> 15) (gocyclo)
  • internal/mailserver/store.go
    • Line 344: warning: cyclomatic complexity 28 of function (*MailServer).parseEmail() is high (> 15) (gocyclo)

Generated by Go Report Card on 2026-08-30 00:38:14 UTC.