Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyclopy-1.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

cyclopy-1.1-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page