https://pypi.org/project/cognitive-complexity/ and following https://www.sonarsource.com/docs/CognitiveComplexity.pdf https://docs.codeclimate.com/docs/cognitive-complexity as the original approach is for function/blocks only, maybe a weighted metric taking loc into account would be nice
https://pypi.org/project/cognitive-complexity/
and following
https://www.sonarsource.com/docs/CognitiveComplexity.pdf
https://docs.codeclimate.com/docs/cognitive-complexity
as the original approach is for function/blocks only, maybe a weighted metric taking loc into account would be nice