Preparing report...

Report for github.com/akamai/AkamaiOPEN-edgegrid-golang

(v1.2.1)

A+    Excellent!    Found 17 issues across 150 files

Tweet

go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gofmt96%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo93%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • configdns-v1/zone.go
    • Line 1376: warning: cyclomatic complexity 27 of function (*Zone).findRrsigRecord() is high (> 15) (gocyclo)
    • Line 186: warning: cyclomatic complexity 22 of function (*Zone).AddRecord() is high (> 15) (gocyclo)
    • Line 235: warning: cyclomatic complexity 22 of function (*Zone).RemoveRecord() is high (> 15) (gocyclo)
    • Line 1152: warning: cyclomatic complexity 21 of function (*Zone).findNaptrRecord() is high (> 15) (gocyclo)
    • Line 1228: warning: cyclomatic complexity 21 of function (*Zone).findNsec3Record() is high (> 15) (gocyclo)
    • Line 815: warning: cyclomatic complexity 21 of function (*Zone).FindRecords() is high (> 15) (gocyclo)
    • Line 1020: warning: cyclomatic complexity 17 of function (*Zone).findDsRecord() is high (> 15) (gocyclo)
    • Line 980: warning: cyclomatic complexity 17 of function (*Zone).findDnskeyRecord() is high (> 15) (gocyclo)
    • Line 1276: warning: cyclomatic complexity 17 of function (*Zone).findNsec3paramRecord() is high (> 15) (gocyclo)
    • Line 1464: warning: cyclomatic complexity 17 of function (*Zone).findSrvRecord() is high (> 15) (gocyclo)
    • configgtm-v1_5/domain.go
    • Line 434: warning: cyclomatic complexity 18 of function processObjectList() is high (> 15) (gocyclo)
    • Line 359: warning: cyclomatic complexity 16 of function (*Domain).NullFieldMap() is high (> 15) (gocyclo)
    • configdns-v1/record.go
    • Line 1228: warning: cyclomatic complexity 26 of function (*RrsigRecord).SetField() is high (> 15) (gocyclo)
    • Line 885: warning: cyclomatic complexity 20 of function (*Nsec3Record).SetField() is high (> 15) (gocyclo)
    • Line 712: warning: cyclomatic complexity 20 of function (*NaptrRecord).SetField() is high (> 15) (gocyclo)
    • Line 1359: warning: cyclomatic complexity 18 of function (*SoaRecord).SetField() is high (> 15) (gocyclo)
    • Line 990: warning: cyclomatic complexity 16 of function (*Nsec3paramRecord).SetField() is high (> 15) (gocyclo)
    • Line 1521: warning: cyclomatic complexity 16 of function (*SrvRecord).SetField() is high (> 15) (gocyclo)
    • Line 316: warning: cyclomatic complexity 16 of function (*DnskeyRecord).SetField() is high (> 15) (gocyclo)
    • Line 407: warning: cyclomatic complexity 16 of function (*DsRecord).SetField() is high (> 15) (gocyclo)
    • configgtm-v1_4/domain.go
    • Line 433: warning: cyclomatic complexity 18 of function processObjectList() is high (> 15) (gocyclo)
    • Line 358: warning: cyclomatic complexity 16 of function (*Domain).NullFieldMap() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell98%

Misspell Finds commonly misspelled English words