Preparing report...

Report for github.com/kubernetes/contrib

(v0.0.0-20190411182844-89f6948e2457)

F    ... is for lots of things to Fix!    Found 308 issues across 49 files

Tweet

gofmt97%

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


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!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo-524%

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.

    • service-loadbalancer/Godeps/_workspace/src/github.com/ugorji/go/codec/gen.go
    • Line 642: warning: cyclomatic complexity 47 of function (*genRunner).enc() is high (> 15) (gocyclo)
    • Line 1080: warning: cyclomatic complexity 43 of function (*genRunner).dec() is high (> 15) (gocyclo)
    • Line 166: warning: cyclomatic complexity 26 of function Gen() is high (> 15) (gocyclo)
    • Line 827: warning: cyclomatic complexity 23 of function (*genRunner).encStruct() is high (> 15) (gocyclo)
    • Line 1688: warning: cyclomatic complexity 18 of function genMethodNameT() is high (> 15) (gocyclo)
    • Line 371: warning: cyclomatic complexity 17 of function (*genRunner).genRefPkgs() is high (> 15) (gocyclo)
    • Line 1248: warning: cyclomatic complexity 16 of function (*genRunner).decTryAssignPrimitive() is high (> 15) (gocyclo)
    • Line 1816: warning: cyclomatic complexity 16 of function genInternalDecCommandAsString() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/github.com/ugorji/go/codec/encode.go
    • Line 1213: warning: cyclomatic complexity 44 of function (*Encoder).getEncFn() is high (> 15) (gocyclo)
    • Line 693: warning: cyclomatic complexity 41 of function (*Encoder).kMapCanonical() is high (> 15) (gocyclo)
    • Line 1056: warning: cyclomatic complexity 35 of function (*Encoder).encode() is high (> 15) (gocyclo)
    • Line 390: warning: cyclomatic complexity 25 of function (*encFnInfo).kSlice() is high (> 15) (gocyclo)
    • Line 506: warning: cyclomatic complexity 21 of function (*encFnInfo).kStruct() is high (> 15) (gocyclo)
    • Line 613: warning: cyclomatic complexity 16 of function (*encFnInfo).kMap() is high (> 15) (gocyclo)
    • flannel-server/Godeps/_workspace/src/github.com/ugorji/go/codec/gen.go
    • Line 1023: warning: cyclomatic complexity 43 of function (*genRunner).dec() is high (> 15) (gocyclo)
    • Line 613: warning: cyclomatic complexity 37 of function (*genRunner).enc() is high (> 15) (gocyclo)
    • Line 164: warning: cyclomatic complexity 26 of function Gen() is high (> 15) (gocyclo)
    • Line 772: warning: cyclomatic complexity 23 of function (*genRunner).encStruct() is high (> 15) (gocyclo)
    • Line 1611: warning: cyclomatic complexity 18 of function genMethodNameT() is high (> 15) (gocyclo)
    • Line 366: warning: cyclomatic complexity 17 of function (*genRunner).genRefPkgs() is high (> 15) (gocyclo)
    • Line 1739: warning: cyclomatic complexity 16 of function genInternalDecCommandAsString() is high (> 15) (gocyclo)
    • Line 1191: warning: cyclomatic complexity 16 of function (*genRunner).decTryAssignPrimitive() is high (> 15) (gocyclo)
    • flannel-server/Godeps/_workspace/src/github.com/ugorji/go/codec/msgpack.go
    • Line 284: warning: cyclomatic complexity 33 of function (*msgpackDecDriver).DecodeNaked() is high (> 15) (gocyclo)
    • Line 564: warning: cyclomatic complexity 25 of function (*msgpackDecDriver).ContainerType() is high (> 15) (gocyclo)
    • Line 427: warning: cyclomatic complexity 20 of function (*msgpackDecDriver).DecodeUint() is high (> 15) (gocyclo)
    • Line 383: warning: cyclomatic complexity 16 of function (*msgpackDecDriver).DecodeInt() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/conversion_generated.go
    • Line 3009: warning: cyclomatic complexity 36 of function autoConvert_api_VolumeSource_To_v1_VolumeSource() is high (> 15) (gocyclo)
    • Line 6187: warning: cyclomatic complexity 36 of function autoConvert_v1_VolumeSource_To_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 4955: warning: cyclomatic complexity 26 of function autoConvert_v1_PersistentVolumeSource_To_api_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 1780: warning: cyclomatic complexity 26 of function autoConvert_api_PersistentVolumeSource_To_v1_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 3365: warning: cyclomatic complexity 24 of function autoConvert_v1_Container_To_api_Container() is high (> 15) (gocyclo)
    • Line 206: warning: cyclomatic complexity 24 of function autoConvert_api_Container_To_v1_Container() is high (> 15) (gocyclo)
    • Line 4201: warning: cyclomatic complexity 17 of function autoConvert_v1_LimitRangeItem_To_api_LimitRangeItem() is high (> 15) (gocyclo)
    • Line 5305: warning: cyclomatic complexity 17 of function autoConvert_v1_PodSpec_To_api_PodSpec() is high (> 15) (gocyclo)
    • Line 2130: warning: cyclomatic complexity 17 of function autoConvert_api_PodSpec_To_v1_PodSpec() is high (> 15) (gocyclo)
    • Line 1026: warning: cyclomatic complexity 17 of function autoConvert_api_LimitRangeItem_To_v1_LimitRangeItem() is high (> 15) (gocyclo)
    • Line 4623: warning: cyclomatic complexity 16 of function autoConvert_v1_NodeStatus_To_api_NodeStatus() is high (> 15) (gocyclo)
    • Line 1448: warning: cyclomatic complexity 16 of function autoConvert_api_NodeStatus_To_v1_NodeStatus() is high (> 15) (gocyclo)
    • scale-demo/Godeps/_workspace/src/github.com/ugorji/go/codec/encode.go
    • Line 1181: warning: cyclomatic complexity 45 of function (*Encoder).getEncFn() is high (> 15) (gocyclo)
    • Line 687: warning: cyclomatic complexity 41 of function (*Encoder).kMapCanonical() is high (> 15) (gocyclo)
    • Line 1049: warning: cyclomatic complexity 35 of function (*Encoder).encode() is high (> 15) (gocyclo)
    • Line 381: warning: cyclomatic complexity 25 of function (*encFnInfo).kSlice() is high (> 15) (gocyclo)
    • Line 497: warning: cyclomatic complexity 21 of function (*encFnInfo).kStruct() is high (> 15) (gocyclo)
    • Line 607: warning: cyclomatic complexity 16 of function (*encFnInfo).kMap() is high (> 15) (gocyclo)
    • flannel-server/Godeps/_workspace/src/github.com/ugorji/go/codec/decode.go
    • Line 1642: warning: cyclomatic complexity 53 of function (*Decoder).getDecFn() is high (> 15) (gocyclo)
    • Line 810: warning: cyclomatic complexity 49 of function (*decFnInfo).kSlice() is high (> 15) (gocyclo)
    • Line 1468: warning: cyclomatic complexity 47 of function (*Decoder).decode() is high (> 15) (gocyclo)
    • Line 1010: warning: cyclomatic complexity 35 of function (*decFnInfo).kMap() is high (> 15) (gocyclo)
    • Line 700: warning: cyclomatic complexity 29 of function (*decFnInfo).kStruct() is high (> 15) (gocyclo)
    • Line 561: warning: cyclomatic complexity 22 of function (*decFnInfo).kInterfaceNaked() is high (> 15) (gocyclo)
    • Line 1393: warning: cyclomatic complexity 21 of function (*Decoder).swallow() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/conversion_generated.go
    • Line 3132: warning: cyclomatic complexity 40 of function autoConvert_api_VolumeSource_To_v1_VolumeSource() is high (> 15) (gocyclo)
    • Line 6318: warning: cyclomatic complexity 40 of function autoConvert_v1_VolumeSource_To_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 1924: warning: cyclomatic complexity 28 of function autoConvert_api_PersistentVolumeSource_To_v1_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 5161: warning: cyclomatic complexity 28 of function autoConvert_v1_PersistentVolumeSource_To_api_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 3594: warning: cyclomatic complexity 24 of function autoConvert_v1_Container_To_api_Container() is high (> 15) (gocyclo)
    • Line 298: warning: cyclomatic complexity 24 of function autoConvert_api_Container_To_v1_Container() is high (> 15) (gocyclo)
    • Line 1594: warning: cyclomatic complexity 19 of function autoConvert_api_NodeStatus_To_v1_NodeStatus() is high (> 15) (gocyclo)
    • Line 2265: warning: cyclomatic complexity 17 of function autoConvert_api_PodSpec_To_v1_PodSpec() is high (> 15) (gocyclo)
    • Line 5493: warning: cyclomatic complexity 17 of function autoConvert_v1_PodSpec_To_api_PodSpec() is high (> 15) (gocyclo)
    • Line 1174: warning: cyclomatic complexity 17 of function autoConvert_api_LimitRangeItem_To_v1_LimitRangeItem() is high (> 15) (gocyclo)
    • scale-demo/Godeps/_workspace/src/github.com/ugorji/go/codec/msgpack.go
    • Line 284: warning: cyclomatic complexity 33 of function (*msgpackDecDriver).DecodeNaked() is high (> 15) (gocyclo)
    • Line 564: warning: cyclomatic complexity 25 of function (*msgpackDecDriver).ContainerType() is high (> 15) (gocyclo)
    • Line 427: warning: cyclomatic complexity 20 of function (*msgpackDecDriver).DecodeUint() is high (> 15) (gocyclo)
    • Line 383: warning: cyclomatic complexity 16 of function (*msgpackDecDriver).DecodeInt() is high (> 15) (gocyclo)
    • podex/Godeps/_workspace/src/gopkg.in/yaml.v2/emitterc.go
    • Line 1429: warning: cyclomatic complexity 49 of function yaml_emitter_write_double_quoted_scalar() is high (> 15) (gocyclo)
    • Line 984: warning: cyclomatic complexity 44 of function yaml_emitter_analyze_scalar() is high (> 15) (gocyclo)
    • Line 311: warning: cyclomatic complexity 37 of function yaml_emitter_emit_document_start() is high (> 15) (gocyclo)
    • Line 798: warning: cyclomatic complexity 29 of function yaml_emitter_select_scalar_style() is high (> 15) (gocyclo)
    • Line 1133: warning: cyclomatic complexity 26 of function yaml_emitter_analyze_event() is high (> 15) (gocyclo)
    • Line 1370: warning: cyclomatic complexity 23 of function yaml_emitter_write_single_quoted_scalar() is high (> 15) (gocyclo)
    • Line 1629: warning: cyclomatic complexity 21 of function yaml_emitter_write_folded_scalar() is high (> 15) (gocyclo)
    • Line 1313: warning: cyclomatic complexity 20 of function yaml_emitter_write_plain_scalar() is high (> 15) (gocyclo)
    • Line 211: warning: cyclomatic complexity 19 of function yaml_emitter_state_machine() is high (> 15) (gocyclo)
    • Line 504: warning: cyclomatic complexity 18 of function yaml_emitter_emit_flow_mapping_key() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/github.com/ugorji/go/codec/gen.go
    • Line 1023: warning: cyclomatic complexity 43 of function (*genRunner).dec() is high (> 15) (gocyclo)
    • Line 613: warning: cyclomatic complexity 37 of function (*genRunner).enc() is high (> 15) (gocyclo)
    • Line 164: warning: cyclomatic complexity 26 of function Gen() is high (> 15) (gocyclo)
    • Line 772: warning: cyclomatic complexity 23 of function (*genRunner).encStruct() is high (> 15) (gocyclo)
    • Line 1611: warning: cyclomatic complexity 18 of function genMethodNameT() is high (> 15) (gocyclo)
    • Line 366: warning: cyclomatic complexity 17 of function (*genRunner).genRefPkgs() is high (> 15) (gocyclo)
    • Line 1191: warning: cyclomatic complexity 16 of function (*genRunner).decTryAssignPrimitive() is high (> 15) (gocyclo)
    • Line 1739: warning: cyclomatic complexity 16 of function genInternalDecCommandAsString() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/k8s.io/kubernetes/pkg/apis/batch/v1/conversion_generated.go
    • Line 2400: warning: cyclomatic complexity 40 of function autoConvert_v1_VolumeSource_To_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 1098: warning: cyclomatic complexity 40 of function autoConvert_api_VolumeSource_To_v1_VolumeSource() is high (> 15) (gocyclo)
    • Line 1471: warning: cyclomatic complexity 24 of function autoConvert_v1_Container_To_api_Container() is high (> 15) (gocyclo)
    • Line 173: warning: cyclomatic complexity 24 of function autoConvert_api_Container_To_v1_Container() is high (> 15) (gocyclo)
    • Line 786: warning: cyclomatic complexity 17 of function autoConvert_api_PodSpec_To_v1_PodSpec() is high (> 15) (gocyclo)
    • Line 2084: warning: cyclomatic complexity 17 of function autoConvert_v1_PodSpec_To_api_PodSpec() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/deep_copy_generated.go
    • Line 2440: warning: cyclomatic complexity 39 of function deepCopy_v1_VolumeSource() is high (> 15) (gocyclo)
    • Line 1434: warning: cyclomatic complexity 27 of function deepCopy_v1_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 258: warning: cyclomatic complexity 23 of function deepCopy_v1_Container() is high (> 15) (gocyclo)
    • Line 1177: warning: cyclomatic complexity 18 of function deepCopy_v1_NodeStatus() is high (> 15) (gocyclo)
    • Line 877: warning: cyclomatic complexity 16 of function deepCopy_v1_LimitRangeItem() is high (> 15) (gocyclo)
    • Line 1750: warning: cyclomatic complexity 16 of function deepCopy_v1_PodSpec() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/deep_copy_generated.go
    • Line 2820: warning: cyclomatic complexity 39 of function DeepCopy_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 1757: warning: cyclomatic complexity 27 of function DeepCopy_api_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 400: warning: cyclomatic complexity 21 of function DeepCopy_api_Container() is high (> 15) (gocyclo)
    • Line 1482: warning: cyclomatic complexity 18 of function DeepCopy_api_NodeStatus() is high (> 15) (gocyclo)
    • Line 1071: warning: cyclomatic complexity 16 of function DeepCopy_api_LimitRangeItem() is high (> 15) (gocyclo)
    • Line 2105: warning: cyclomatic complexity 16 of function DeepCopy_api_PodSpec() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/gopkg.in/yaml.v2/emitterc.go
    • Line 1429: warning: cyclomatic complexity 49 of function yaml_emitter_write_double_quoted_scalar() is high (> 15) (gocyclo)
    • Line 984: warning: cyclomatic complexity 44 of function yaml_emitter_analyze_scalar() is high (> 15) (gocyclo)
    • Line 311: warning: cyclomatic complexity 37 of function yaml_emitter_emit_document_start() is high (> 15) (gocyclo)
    • Line 798: warning: cyclomatic complexity 29 of function yaml_emitter_select_scalar_style() is high (> 15) (gocyclo)
    • Line 1133: warning: cyclomatic complexity 26 of function yaml_emitter_analyze_event() is high (> 15) (gocyclo)
    • Line 1370: warning: cyclomatic complexity 23 of function yaml_emitter_write_single_quoted_scalar() is high (> 15) (gocyclo)
    • Line 1629: warning: cyclomatic complexity 21 of function yaml_emitter_write_folded_scalar() is high (> 15) (gocyclo)
    • Line 1313: warning: cyclomatic complexity 20 of function yaml_emitter_write_plain_scalar() is high (> 15) (gocyclo)
    • Line 211: warning: cyclomatic complexity 19 of function yaml_emitter_state_machine() is high (> 15) (gocyclo)
    • Line 504: warning: cyclomatic complexity 18 of function yaml_emitter_emit_flow_mapping_key() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/deep_copy_generated.go
    • Line 2538: warning: cyclomatic complexity 35 of function deepCopy_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 1515: warning: cyclomatic complexity 25 of function deepCopy_api_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 297: warning: cyclomatic complexity 21 of function deepCopy_api_Container() is high (> 15) (gocyclo)
    • Line 1854: warning: cyclomatic complexity 16 of function deepCopy_api_PodSpec() is high (> 15) (gocyclo)
    • Line 915: warning: cyclomatic complexity 16 of function deepCopy_api_LimitRangeItem() is high (> 15) (gocyclo)
    • scale-demo/Godeps/_workspace/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go
    • Line 1031: warning: cyclomatic complexity 36 of function autoConvert_api_VolumeSource_To_v1_VolumeSource() is high (> 15) (gocyclo)
    • Line 2170: warning: cyclomatic complexity 36 of function autoConvert_v1_VolumeSource_To_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 119: warning: cyclomatic complexity 24 of function autoConvert_api_Container_To_v1_Container() is high (> 15) (gocyclo)
    • Line 1282: warning: cyclomatic complexity 24 of function autoConvert_v1_Container_To_api_Container() is high (> 15) (gocyclo)
    • Line 1875: warning: cyclomatic complexity 17 of function autoConvert_v1_PodSpec_To_api_PodSpec() is high (> 15) (gocyclo)
    • Line 740: warning: cyclomatic complexity 17 of function autoConvert_api_PodSpec_To_v1_PodSpec() is high (> 15) (gocyclo)
    • scale-demo/Godeps/_workspace/src/gopkg.in/yaml.v2/scannerc.go
    • Line 2304: warning: cyclomatic complexity 81 of function yaml_parser_scan_flow_scalar() is high (> 15) (gocyclo)
    • Line 665: warning: cyclomatic complexity 70 of function yaml_parser_fetch_next_token() is high (> 15) (gocyclo)
    • Line 2560: warning: cyclomatic complexity 53 of function yaml_parser_scan_plain_scalar() is high (> 15) (gocyclo)
    • Line 2062: warning: cyclomatic complexity 52 of function yaml_parser_scan_block_scalar() is high (> 15) (gocyclo)
    • Line 1959: warning: cyclomatic complexity 30 of function yaml_parser_scan_tag_uri() is high (> 15) (gocyclo)
    • Line 1434: warning: cyclomatic complexity 22 of function yaml_parser_scan_to_next_token() is high (> 15) (gocyclo)
    • Line 1499: warning: cyclomatic complexity 19 of function yaml_parser_scan_directive() is high (> 15) (gocyclo)
    • Line 2250: warning: cyclomatic complexity 19 of function yaml_parser_scan_block_scalar_breaks() is high (> 15) (gocyclo)
    • Line 1771: warning: cyclomatic complexity 17 of function yaml_parser_scan_anchor() is high (> 15) (gocyclo)
    • Line 1713: warning: cyclomatic complexity 17 of function yaml_parser_scan_tag_directive_value() is high (> 15) (gocyclo)
    • Line 1829: warning: cyclomatic complexity 16 of function yaml_parser_scan_tag() is high (> 15) (gocyclo)
    • scale-demo/Godeps/_workspace/src/github.com/ugorji/go/codec/decode.go
    • Line 1642: warning: cyclomatic complexity 53 of function (*Decoder).getDecFn() is high (> 15) (gocyclo)
    • Line 810: warning: cyclomatic complexity 49 of function (*decFnInfo).kSlice() is high (> 15) (gocyclo)
    • Line 1468: warning: cyclomatic complexity 47 of function (*Decoder).decode() is high (> 15) (gocyclo)
    • Line 1010: warning: cyclomatic complexity 35 of function (*decFnInfo).kMap() is high (> 15) (gocyclo)
    • Line 700: warning: cyclomatic complexity 29 of function (*decFnInfo).kStruct() is high (> 15) (gocyclo)
    • Line 561: warning: cyclomatic complexity 22 of function (*decFnInfo).kInterfaceNaked() is high (> 15) (gocyclo)
    • Line 1393: warning: cyclomatic complexity 21 of function (*Decoder).swallow() is high (> 15) (gocyclo)
    • scale-demo/Godeps/_workspace/src/gopkg.in/yaml.v2/emitterc.go
    • Line 1429: warning: cyclomatic complexity 49 of function yaml_emitter_write_double_quoted_scalar() is high (> 15) (gocyclo)
    • Line 984: warning: cyclomatic complexity 44 of function yaml_emitter_analyze_scalar() is high (> 15) (gocyclo)
    • Line 311: warning: cyclomatic complexity 37 of function yaml_emitter_emit_document_start() is high (> 15) (gocyclo)
    • Line 798: warning: cyclomatic complexity 29 of function yaml_emitter_select_scalar_style() is high (> 15) (gocyclo)
    • Line 1133: warning: cyclomatic complexity 26 of function yaml_emitter_analyze_event() is high (> 15) (gocyclo)
    • Line 1370: warning: cyclomatic complexity 23 of function yaml_emitter_write_single_quoted_scalar() is high (> 15) (gocyclo)
    • Line 1629: warning: cyclomatic complexity 21 of function yaml_emitter_write_folded_scalar() is high (> 15) (gocyclo)
    • Line 1313: warning: cyclomatic complexity 20 of function yaml_emitter_write_plain_scalar() is high (> 15) (gocyclo)
    • Line 211: warning: cyclomatic complexity 19 of function yaml_emitter_state_machine() is high (> 15) (gocyclo)
    • Line 504: warning: cyclomatic complexity 18 of function yaml_emitter_emit_flow_mapping_key() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/deep_copy_generated.go
    • Line 2270: warning: cyclomatic complexity 35 of function deepCopy_v1_VolumeSource() is high (> 15) (gocyclo)
    • Line 1294: warning: cyclomatic complexity 25 of function deepCopy_v1_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 187: warning: cyclomatic complexity 23 of function deepCopy_v1_Container() is high (> 15) (gocyclo)
    • Line 755: warning: cyclomatic complexity 16 of function deepCopy_v1_LimitRangeItem() is high (> 15) (gocyclo)
    • Line 1602: warning: cyclomatic complexity 16 of function deepCopy_v1_PodSpec() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/github.com/ugorji/go/codec/encode.go
    • Line 1181: warning: cyclomatic complexity 45 of function (*Encoder).getEncFn() is high (> 15) (gocyclo)
    • Line 687: warning: cyclomatic complexity 41 of function (*Encoder).kMapCanonical() is high (> 15) (gocyclo)
    • Line 1049: warning: cyclomatic complexity 35 of function (*Encoder).encode() is high (> 15) (gocyclo)
    • Line 381: warning: cyclomatic complexity 25 of function (*encFnInfo).kSlice() is high (> 15) (gocyclo)
    • Line 497: warning: cyclomatic complexity 21 of function (*encFnInfo).kStruct() is high (> 15) (gocyclo)
    • Line 607: warning: cyclomatic complexity 16 of function (*encFnInfo).kMap() is high (> 15) (gocyclo)
    • scale-demo/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/deep_copy_generated.go
    • Line 2538: warning: cyclomatic complexity 35 of function deepCopy_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 1515: warning: cyclomatic complexity 25 of function deepCopy_api_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 297: warning: cyclomatic complexity 21 of function deepCopy_api_Container() is high (> 15) (gocyclo)
    • Line 1854: warning: cyclomatic complexity 16 of function deepCopy_api_PodSpec() is high (> 15) (gocyclo)
    • Line 915: warning: cyclomatic complexity 16 of function deepCopy_api_LimitRangeItem() is high (> 15) (gocyclo)
    • flannel-server/Godeps/_workspace/src/github.com/ugorji/go/codec/encode.go
    • Line 1181: warning: cyclomatic complexity 45 of function (*Encoder).getEncFn() is high (> 15) (gocyclo)
    • Line 687: warning: cyclomatic complexity 41 of function (*Encoder).kMapCanonical() is high (> 15) (gocyclo)
    • Line 1049: warning: cyclomatic complexity 35 of function (*Encoder).encode() is high (> 15) (gocyclo)
    • Line 381: warning: cyclomatic complexity 25 of function (*encFnInfo).kSlice() is high (> 15) (gocyclo)
    • Line 497: warning: cyclomatic complexity 21 of function (*encFnInfo).kStruct() is high (> 15) (gocyclo)
    • Line 607: warning: cyclomatic complexity 16 of function (*encFnInfo).kMap() is high (> 15) (gocyclo)
    • diurnal/time.go
    • Line 89: warning: cyclomatic complexity 38 of function parseTimeISO8601() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go
    • Line 1160: warning: cyclomatic complexity 40 of function autoConvert_api_VolumeSource_To_v1_VolumeSource() is high (> 15) (gocyclo)
    • Line 2496: warning: cyclomatic complexity 40 of function autoConvert_v1_VolumeSource_To_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 1533: warning: cyclomatic complexity 24 of function autoConvert_v1_Container_To_api_Container() is high (> 15) (gocyclo)
    • Line 173: warning: cyclomatic complexity 24 of function autoConvert_api_Container_To_v1_Container() is high (> 15) (gocyclo)
    • Line 848: warning: cyclomatic complexity 17 of function autoConvert_api_PodSpec_To_v1_PodSpec() is high (> 15) (gocyclo)
    • Line 2180: warning: cyclomatic complexity 17 of function autoConvert_v1_PodSpec_To_api_PodSpec() is high (> 15) (gocyclo)
    • scale-demo/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/v1/conversion_generated.go
    • Line 3009: warning: cyclomatic complexity 36 of function autoConvert_api_VolumeSource_To_v1_VolumeSource() is high (> 15) (gocyclo)
    • Line 6187: warning: cyclomatic complexity 36 of function autoConvert_v1_VolumeSource_To_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 4955: warning: cyclomatic complexity 26 of function autoConvert_v1_PersistentVolumeSource_To_api_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 1780: warning: cyclomatic complexity 26 of function autoConvert_api_PersistentVolumeSource_To_v1_PersistentVolumeSource() is high (> 15) (gocyclo)
    • Line 3365: warning: cyclomatic complexity 24 of function autoConvert_v1_Container_To_api_Container() is high (> 15) (gocyclo)
    • Line 206: warning: cyclomatic complexity 24 of function autoConvert_api_Container_To_v1_Container() is high (> 15) (gocyclo)
    • Line 4201: warning: cyclomatic complexity 17 of function autoConvert_v1_LimitRangeItem_To_api_LimitRangeItem() is high (> 15) (gocyclo)
    • Line 5305: warning: cyclomatic complexity 17 of function autoConvert_v1_PodSpec_To_api_PodSpec() is high (> 15) (gocyclo)
    • Line 2130: warning: cyclomatic complexity 17 of function autoConvert_api_PodSpec_To_v1_PodSpec() is high (> 15) (gocyclo)
    • Line 1026: warning: cyclomatic complexity 17 of function autoConvert_api_LimitRangeItem_To_v1_LimitRangeItem() is high (> 15) (gocyclo)
    • Line 4623: warning: cyclomatic complexity 16 of function autoConvert_v1_NodeStatus_To_api_NodeStatus() is high (> 15) (gocyclo)
    • Line 1448: warning: cyclomatic complexity 16 of function autoConvert_api_NodeStatus_To_v1_NodeStatus() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/github.com/ugorji/go/codec/decode.go
    • Line 1645: warning: cyclomatic complexity 53 of function (*Decoder).getDecFn() is high (> 15) (gocyclo)
    • Line 813: warning: cyclomatic complexity 49 of function (*decFnInfo).kSlice() is high (> 15) (gocyclo)
    • Line 1471: warning: cyclomatic complexity 47 of function (*Decoder).decode() is high (> 15) (gocyclo)
    • Line 1013: warning: cyclomatic complexity 35 of function (*decFnInfo).kMap() is high (> 15) (gocyclo)
    • Line 703: warning: cyclomatic complexity 29 of function (*decFnInfo).kStruct() is high (> 15) (gocyclo)
    • Line 561: warning: cyclomatic complexity 22 of function (*decFnInfo).kInterfaceNaked() is high (> 15) (gocyclo)
    • Line 1396: warning: cyclomatic complexity 21 of function (*Decoder).swallow() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/gopkg.in/yaml.v2/scannerc.go
    • Line 2304: warning: cyclomatic complexity 81 of function yaml_parser_scan_flow_scalar() is high (> 15) (gocyclo)
    • Line 665: warning: cyclomatic complexity 70 of function yaml_parser_fetch_next_token() is high (> 15) (gocyclo)
    • Line 2560: warning: cyclomatic complexity 53 of function yaml_parser_scan_plain_scalar() is high (> 15) (gocyclo)
    • Line 2062: warning: cyclomatic complexity 52 of function yaml_parser_scan_block_scalar() is high (> 15) (gocyclo)
    • Line 1959: warning: cyclomatic complexity 30 of function yaml_parser_scan_tag_uri() is high (> 15) (gocyclo)
    • Line 1434: warning: cyclomatic complexity 22 of function yaml_parser_scan_to_next_token() is high (> 15) (gocyclo)
    • Line 1499: warning: cyclomatic complexity 19 of function yaml_parser_scan_directive() is high (> 15) (gocyclo)
    • Line 2250: warning: cyclomatic complexity 19 of function yaml_parser_scan_block_scalar_breaks() is high (> 15) (gocyclo)
    • Line 1771: warning: cyclomatic complexity 17 of function yaml_parser_scan_anchor() is high (> 15) (gocyclo)
    • Line 1713: warning: cyclomatic complexity 17 of function yaml_parser_scan_tag_directive_value() is high (> 15) (gocyclo)
    • Line 1829: warning: cyclomatic complexity 16 of function yaml_parser_scan_tag() is high (> 15) (gocyclo)
    • podex/Godeps/_workspace/src/gopkg.in/yaml.v2/scannerc.go
    • Line 2304: warning: cyclomatic complexity 81 of function yaml_parser_scan_flow_scalar() is high (> 15) (gocyclo)
    • Line 665: warning: cyclomatic complexity 70 of function yaml_parser_fetch_next_token() is high (> 15) (gocyclo)
    • Line 2560: warning: cyclomatic complexity 53 of function yaml_parser_scan_plain_scalar() is high (> 15) (gocyclo)
    • Line 2062: warning: cyclomatic complexity 52 of function yaml_parser_scan_block_scalar() is high (> 15) (gocyclo)
    • Line 1959: warning: cyclomatic complexity 30 of function yaml_parser_scan_tag_uri() is high (> 15) (gocyclo)
    • Line 1434: warning: cyclomatic complexity 22 of function yaml_parser_scan_to_next_token() is high (> 15) (gocyclo)
    • Line 2250: warning: cyclomatic complexity 19 of function yaml_parser_scan_block_scalar_breaks() is high (> 15) (gocyclo)
    • Line 1499: warning: cyclomatic complexity 19 of function yaml_parser_scan_directive() is high (> 15) (gocyclo)
    • Line 1771: warning: cyclomatic complexity 17 of function yaml_parser_scan_anchor() is high (> 15) (gocyclo)
    • Line 1713: warning: cyclomatic complexity 17 of function yaml_parser_scan_tag_directive_value() is high (> 15) (gocyclo)
    • Line 1829: warning: cyclomatic complexity 16 of function yaml_parser_scan_tag() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/github.com/ugorji/go/codec/msgpack.go
    • Line 284: warning: cyclomatic complexity 33 of function (*msgpackDecDriver).DecodeNaked() is high (> 15) (gocyclo)
    • Line 564: warning: cyclomatic complexity 25 of function (*msgpackDecDriver).ContainerType() is high (> 15) (gocyclo)
    • Line 427: warning: cyclomatic complexity 20 of function (*msgpackDecDriver).DecodeUint() is high (> 15) (gocyclo)
    • Line 383: warning: cyclomatic complexity 16 of function (*msgpackDecDriver).DecodeInt() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/github.com/russross/blackfriday/block.go
    • Line 554: warning: cyclomatic complexity 33 of function (*parser).isFencedCode() is high (> 15) (gocyclo)
    • Line 1065: warning: cyclomatic complexity 31 of function (*parser).listItem() is high (> 15) (gocyclo)
    • Line 745: warning: cyclomatic complexity 29 of function (*parser).tableHeader() is high (> 15) (gocyclo)
    • Line 1246: warning: cyclomatic complexity 22 of function (*parser).paragraph() is high (> 15) (gocyclo)
    • Line 25: warning: cyclomatic complexity 22 of function (*parser).block() is high (> 15) (gocyclo)
    • Line 194: warning: cyclomatic complexity 22 of function (*parser).prefixHeader() is high (> 15) (gocyclo)
    • Line 297: warning: cyclomatic complexity 18 of function (*parser).html() is high (> 15) (gocyclo)
    • Line 432: warning: cyclomatic complexity 16 of function (*parser).htmlHr() is high (> 15) (gocyclo)
    • service-loadbalancer/Godeps/_workspace/src/gopkg.in/yaml.v2/scannerc.go
    • Line 2304: warning: cyclomatic complexity 81 of function yaml_parser_scan_flow_scalar() is high (> 15) (gocyclo)
    • Line 665: warning: cyclomatic complexity 70 of function yaml_parser_fetch_next_token() is high (> 15) (gocyclo)
    • Line 2560: warning: cyclomatic complexity 53 of function yaml_parser_scan_plain_scalar() is high (> 15) (gocyclo)
    • Line 2062: warning: cyclomatic complexity 52 of function yaml_parser_scan_block_scalar() is high (> 15) (gocyclo)
    • Line 1959: warning: cyclomatic complexity 30 of function yaml_parser_scan_tag_uri() is high (> 15) (gocyclo)
    • Line 1434: warning: cyclomatic complexity 22 of function yaml_parser_scan_to_next_token() is high (> 15) (gocyclo)
    • Line 1499: warning: cyclomatic complexity 19 of function yaml_parser_scan_directive() is high (> 15) (gocyclo)
    • Line 2250: warning: cyclomatic complexity 19 of function yaml_parser_scan_block_scalar_breaks() is high (> 15) (gocyclo)
    • Line 1713: warning: cyclomatic complexity 17 of function yaml_parser_scan_tag_directive_value() is high (> 15) (gocyclo)
    • Line 1771: warning: cyclomatic complexity 17 of function yaml_parser_scan_anchor() is high (> 15) (gocyclo)
    • Line 1829: warning: cyclomatic complexity 16 of function yaml_parser_scan_tag() is high (> 15) (gocyclo)
    • scale-demo/Godeps/_workspace/src/github.com/ugorji/go/codec/gen.go
    • Line 1023: warning: cyclomatic complexity 43 of function (*genRunner).dec() is high (> 15) (gocyclo)
    • Line 613: warning: cyclomatic complexity 37 of function (*genRunner).enc() is high (> 15) (gocyclo)
    • Line 164: warning: cyclomatic complexity 26 of function Gen() is high (> 15) (gocyclo)
    • Line 772: warning: cyclomatic complexity 23 of function (*genRunner).encStruct() is high (> 15) (gocyclo)
    • Line 1611: warning: cyclomatic complexity 18 of function genMethodNameT() is high (> 15) (gocyclo)
    • Line 366: warning: cyclomatic complexity 17 of function (*genRunner).genRefPkgs() is high (> 15) (gocyclo)
    • Line 1191: warning: cyclomatic complexity 16 of function (*genRunner).decTryAssignPrimitive() is high (> 15) (gocyclo)
    • Line 1739: warning: cyclomatic complexity 16 of function genInternalDecCommandAsString() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/github.com/ugorji/go/codec/decode.go
    • Line 1642: warning: cyclomatic complexity 53 of function (*Decoder).getDecFn() is high (> 15) (gocyclo)
    • Line 810: warning: cyclomatic complexity 49 of function (*decFnInfo).kSlice() is high (> 15) (gocyclo)
    • Line 1468: warning: cyclomatic complexity 47 of function (*Decoder).decode() is high (> 15) (gocyclo)
    • Line 1010: warning: cyclomatic complexity 35 of function (*decFnInfo).kMap() is high (> 15) (gocyclo)
    • Line 700: warning: cyclomatic complexity 29 of function (*decFnInfo).kStruct() is high (> 15) (gocyclo)
    • Line 561: warning: cyclomatic complexity 22 of function (*decFnInfo).kInterfaceNaked() is high (> 15) (gocyclo)
    • Line 1393: warning: cyclomatic complexity 21 of function (*Decoder).swallow() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go
    • Line 2170: warning: cyclomatic complexity 36 of function autoConvert_v1_VolumeSource_To_api_VolumeSource() is high (> 15) (gocyclo)
    • Line 1031: warning: cyclomatic complexity 36 of function autoConvert_api_VolumeSource_To_v1_VolumeSource() is high (> 15) (gocyclo)
    • Line 119: warning: cyclomatic complexity 24 of function autoConvert_api_Container_To_v1_Container() is high (> 15) (gocyclo)
    • Line 1282: warning: cyclomatic complexity 24 of function autoConvert_v1_Container_To_api_Container() is high (> 15) (gocyclo)
    • Line 1875: warning: cyclomatic complexity 17 of function autoConvert_v1_PodSpec_To_api_PodSpec() is high (> 15) (gocyclo)
    • Line 740: warning: cyclomatic complexity 17 of function autoConvert_api_PodSpec_To_v1_PodSpec() is high (> 15) (gocyclo)
    • diurnal/Godeps/_workspace/src/gopkg.in/yaml.v2/emitterc.go
    • Line 1429: warning: cyclomatic complexity 49 of function yaml_emitter_write_double_quoted_scalar() is high (> 15) (gocyclo)
    • Line 984: warning: cyclomatic complexity 44 of function yaml_emitter_analyze_scalar() is high (> 15) (gocyclo)
    • Line 311: warning: cyclomatic complexity 37 of function yaml_emitter_emit_document_start() is high (> 15) (gocyclo)
    • Line 798: warning: cyclomatic complexity 29 of function yaml_emitter_select_scalar_style() is high (> 15) (gocyclo)
    • Line 1133: warning: cyclomatic complexity 26 of function yaml_emitter_analyze_event() is high (> 15) (gocyclo)
    • Line 1370: warning: cyclomatic complexity 23 of function yaml_emitter_write_single_quoted_scalar() is high (> 15) (gocyclo)
    • Line 1629: warning: cyclomatic complexity 21 of function yaml_emitter_write_folded_scalar() is high (> 15) (gocyclo)
    • Line 1313: warning: cyclomatic complexity 20 of function yaml_emitter_write_plain_scalar() is high (> 15) (gocyclo)
    • Line 211: warning: cyclomatic complexity 19 of function yaml_emitter_state_machine() is high (> 15) (gocyclo)
    • Line 504: warning: cyclomatic complexity 18 of function yaml_emitter_emit_flow_mapping_key() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell97%

Misspell Finds commonly misspelled English words