Skip to main content

cyclomatic complexity

Project description

Cyclomatic Complexity

Calculating cyclic complexity based on lizard.

Install

python3 -m pip install yangwangjinxin_cyclomatic_complexity

Usage

import cyclomatic_complexity as cc
file_result = cc.analyze('main.py')
dir_result = cc.analyze('.')
print(dit_result.cyclomatic_complexity)

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

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file yangwangjinxing_cyclomatic_complexity-0.0.1.tar.gz.

File metadata

File hashes

Hashes for yangwangjinxing_cyclomatic_complexity-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2686c60bf18df9c6584dc9d588b0ba3a08117ccfd445b12cd741f24f5ef10c02
MD5 e4b07cfdb6342b657a926261a76ab8a5
BLAKE2b-256 b03236d7133a0519bb665c9aafa8cc77c8acf3df86341f8a86a13cde382cdad6

See more details on using hashes here.

File details

Details for the file yangwangjinxing_cyclomatic_complexity-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for yangwangjinxing_cyclomatic_complexity-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ce7599ad8656ec679f21e311b98f8c2276052d8db684ff042f963e660022d4e
MD5 75963cc0ed004b02019b4d9a798779cf
BLAKE2b-256 306ac6ca3f14f1bb757b04761c00f3513d16a18dbd84848631da3d5f77d5ed7e

See more details on using hashes here.

Supported by

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