fabric8-analytics-server
fabric8-analytics-server copied to clipboard
Average cyclomatic complexity is too high for this repository
Please take a look and try to reduce cyclomatix complexity for the following functions:
tests/test_utils.py
F 169:0 test_version_info_tuple - C (11)
tests/test_license_extractor.py
F 67:0 test_extract_licenses - C (13)
bayesian/dependency_finder.py
M 36:4 DependencyFinder.execute - C (19)
C 20:0 DependencyFinder - C (12)
bayesian/utils.py
F 1040:0 push_repo - C (11)
bayesian/api_v1.py
C 332:0 StackAnalysesGET - C (18)
M 339:4 StackAnalysesGET.get - C (18)
C 910:0 DepEditorAnalyses - C (17)
M 915:4 DepEditorAnalyses.post - C (17)
M 718:4 StackAnalyses.post - C (16)
bayesian/license_extractor.py
F 29:0 extract_licenses - C (13)
11 blocks (classes, functions, methods) analyzed.
Average complexity: C (15.0)