/cyclopy

📊 computing the cyclomatic complexity of python algorithms

Primary LanguagePython

A tool for calculating the cyclomatic complexity of projects written in python

Installation

pip3 install cyclopy

Calculation in a local directory

single file:

cyclopy -f "./cc.py"

single file example

project:

cyclopy -s path_to_project_src

example local dir

Computing from git repository

cyclopy -g "https://github.com/Split174/financial-accounting"

git example

Calculate with limit flag

cyclopy -g "https://github.com/Split174/financial-accounting" -l 5

limit flag example