You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love the KISS principle and so I've written a linter that pinpoints to complex functionality.
(This can hide bugs, and is more difficult to maintain.)
Here the list, that could be candidates for refactoring:
parigot/api/plugin/httpconnector/httpconnectorhost.go:108:1 - callHostDispatch has complexity: 18
parigot/api/plugin/queue/queuehost.go:416:1 - receive has complexity: 19
parigot/command/protoc-gen-parigot/codegen/finder.go:37:1 - GoPackageOption has complexity: 16
parigot/command/protoc-gen-parigot/codegen/finder.go:108:1 - AddressingNameFromMessage has complexity: 32
parigot/command/protoc-gen-parigot/codegen/finder.go:161:1 - FindMessageByName has complexity: 23
parigot/command/protoc-gen-parigot/codegen/generate.go:21:1 - BasicGenerate has complexity: 57
parigot/command/protoc-gen-parigot/codegen/generate.go:138:1 - Collect has complexity: 16
parigot/command/protoc-gen-parigot/codegen/pass.go:81:1 - MethodsPass has complexity: 31
parigot/command/protoc-gen-parigot/main.go:128:1 - generateNeutral has complexity: 50
parigot/command/protoc-gen-parigot/test/main.go:15:1 - main has complexity: 18
parigot/command/protoc-gen-parigot/util/plugin.go:27:1 - ReadStdinIntoBuffer has complexity: 18
parigot/command/runner/runner/config.go:131:1 - Parse has complexity: 50
parigot/sys/kernel/block.go:20:1 - ReadOne has complexity: 30
parigot/sys/kernel/starter.go:157:1 - requirementsMet has complexity: 16
parigot/sys/kernel/starter.go:205:1 - detectCycle has complexity: 33
142 = files
818 = functions
57 = highest complexity
2.90 = overall average complexity
The text was updated successfully, but these errors were encountered:
I love the KISS principle and so I've written a linter that pinpoints to complex functionality.
(This can hide bugs, and is more difficult to maintain.)
Here the list, that could be candidates for refactoring:
parigot/api/plugin/httpconnector/httpconnectorhost.go:108:1 - callHostDispatch has complexity: 18
parigot/api/plugin/queue/queuehost.go:416:1 - receive has complexity: 19
parigot/command/protoc-gen-parigot/codegen/finder.go:37:1 - GoPackageOption has complexity: 16
parigot/command/protoc-gen-parigot/codegen/finder.go:108:1 - AddressingNameFromMessage has complexity: 32
parigot/command/protoc-gen-parigot/codegen/finder.go:161:1 - FindMessageByName has complexity: 23
parigot/command/protoc-gen-parigot/codegen/generate.go:21:1 - BasicGenerate has complexity: 57
parigot/command/protoc-gen-parigot/codegen/generate.go:138:1 - Collect has complexity: 16
parigot/command/protoc-gen-parigot/codegen/pass.go:81:1 - MethodsPass has complexity: 31
parigot/command/protoc-gen-parigot/main.go:128:1 - generateNeutral has complexity: 50
parigot/command/protoc-gen-parigot/test/main.go:15:1 - main has complexity: 18
parigot/command/protoc-gen-parigot/util/plugin.go:27:1 - ReadStdinIntoBuffer has complexity: 18
parigot/command/runner/runner/config.go:131:1 - Parse has complexity: 50
parigot/sys/kernel/block.go:20:1 - ReadOne has complexity: 30
parigot/sys/kernel/starter.go:157:1 - requirementsMet has complexity: 16
parigot/sys/kernel/starter.go:205:1 - detectCycle has complexity: 33
142 = files
818 = functions
57 = highest complexity
2.90 = overall average complexity
The text was updated successfully, but these errors were encountered: