├── .github ├── FUNDING.yml └── workflows │ ├── CI.yml │ └── docs.yml ├── .gitignore ├── .pre-commit-config.yaml ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── complexipy.toml ├── complexipy ├── __init__.py ├── _complexipy.pyi ├── api.py ├── main.py ├── py.typed ├── types.py └── utils │ ├── __init__.py │ ├── cache.py │ ├── csv.py │ ├── json.py │ ├── output.py │ ├── snapshot.py │ └── toml.py ├── docs ├── img │ └── complexipy_icon.svg └── index.md ├── mkdocs.yml ├── pyproject.toml ├── serve-web-version.sh ├── src ├── classes │ └── mod.rs ├── cognitive_complexity │ ├── mod.rs │ └── utils.rs ├── lib.rs └── wasm.rs ├── tests ├── main.py └── src │ ├── exclude_dir │ ├── test_exclude1.py │ └── test_exclude2.py │ ├── test.py │ ├── test_break_continue.py │ ├── test_class.py │ ├── test_decorator.py │ ├── test_for.py │ ├── test_for_assign.py │ ├── test_if.py │ ├── test_main.py │ ├── test_match.py │ ├── test_multiple_func.py │ ├── test_nested_func.py │ ├── test_noqa_complex.py │ ├── test_recursive.py │ ├── test_ternary_op.py │ ├── test_try.py │ └── test_try_nested.py ├── uv.lock ├── vscode └── complexipy │ ├── .vscode-test.mjs │ ├── .vscodeignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── eslint.config.mjs │ ├── extension.js │ ├── img │ ├── complexipy.png │ ├── complexipy_icon.png │ └── complexipy_icon.svg │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ └── test │ ├── extension.test.js │ └── statusbar.test.js └── web ├── README.md ├── app.js ├── index.html ├── package-lock.json ├── package.json ├── setup.sh └── styles.css /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/CI.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/.github/workflows/CI.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/README.md -------------------------------------------------------------------------------- /complexipy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy.toml -------------------------------------------------------------------------------- /complexipy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/__init__.py -------------------------------------------------------------------------------- /complexipy/_complexipy.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/_complexipy.pyi -------------------------------------------------------------------------------- /complexipy/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/api.py -------------------------------------------------------------------------------- /complexipy/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/main.py -------------------------------------------------------------------------------- /complexipy/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /complexipy/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/types.py -------------------------------------------------------------------------------- /complexipy/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /complexipy/utils/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/utils/cache.py -------------------------------------------------------------------------------- /complexipy/utils/csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/utils/csv.py -------------------------------------------------------------------------------- /complexipy/utils/json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/utils/json.py -------------------------------------------------------------------------------- /complexipy/utils/output.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/utils/output.py -------------------------------------------------------------------------------- /complexipy/utils/snapshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/utils/snapshot.py -------------------------------------------------------------------------------- /complexipy/utils/toml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/complexipy/utils/toml.py -------------------------------------------------------------------------------- /docs/img/complexipy_icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/docs/img/complexipy_icon.svg -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/docs/index.md -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/pyproject.toml -------------------------------------------------------------------------------- /serve-web-version.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/serve-web-version.sh -------------------------------------------------------------------------------- /src/classes/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/src/classes/mod.rs -------------------------------------------------------------------------------- /src/cognitive_complexity/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/src/cognitive_complexity/mod.rs -------------------------------------------------------------------------------- /src/cognitive_complexity/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/src/cognitive_complexity/utils.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/wasm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/src/wasm.rs -------------------------------------------------------------------------------- /tests/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/main.py -------------------------------------------------------------------------------- /tests/src/exclude_dir/test_exclude1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/exclude_dir/test_exclude1.py -------------------------------------------------------------------------------- /tests/src/exclude_dir/test_exclude2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/exclude_dir/test_exclude2.py -------------------------------------------------------------------------------- /tests/src/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test.py -------------------------------------------------------------------------------- /tests/src/test_break_continue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_break_continue.py -------------------------------------------------------------------------------- /tests/src/test_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_class.py -------------------------------------------------------------------------------- /tests/src/test_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_decorator.py -------------------------------------------------------------------------------- /tests/src/test_for.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_for.py -------------------------------------------------------------------------------- /tests/src/test_for_assign.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_for_assign.py -------------------------------------------------------------------------------- /tests/src/test_if.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_if.py -------------------------------------------------------------------------------- /tests/src/test_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_main.py -------------------------------------------------------------------------------- /tests/src/test_match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_match.py -------------------------------------------------------------------------------- /tests/src/test_multiple_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_multiple_func.py -------------------------------------------------------------------------------- /tests/src/test_nested_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_nested_func.py -------------------------------------------------------------------------------- /tests/src/test_noqa_complex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_noqa_complex.py -------------------------------------------------------------------------------- /tests/src/test_recursive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_recursive.py -------------------------------------------------------------------------------- /tests/src/test_ternary_op.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_ternary_op.py -------------------------------------------------------------------------------- /tests/src/test_try.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_try.py -------------------------------------------------------------------------------- /tests/src/test_try_nested.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/tests/src/test_try_nested.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/uv.lock -------------------------------------------------------------------------------- /vscode/complexipy/.vscode-test.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/.vscode-test.mjs -------------------------------------------------------------------------------- /vscode/complexipy/.vscodeignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/.vscodeignore -------------------------------------------------------------------------------- /vscode/complexipy/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/CHANGELOG.md -------------------------------------------------------------------------------- /vscode/complexipy/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/LICENSE -------------------------------------------------------------------------------- /vscode/complexipy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/README.md -------------------------------------------------------------------------------- /vscode/complexipy/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/eslint.config.mjs -------------------------------------------------------------------------------- /vscode/complexipy/extension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/extension.js -------------------------------------------------------------------------------- /vscode/complexipy/img/complexipy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/img/complexipy.png -------------------------------------------------------------------------------- /vscode/complexipy/img/complexipy_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/img/complexipy_icon.png -------------------------------------------------------------------------------- /vscode/complexipy/img/complexipy_icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/img/complexipy_icon.svg -------------------------------------------------------------------------------- /vscode/complexipy/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/jsconfig.json -------------------------------------------------------------------------------- /vscode/complexipy/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/package-lock.json -------------------------------------------------------------------------------- /vscode/complexipy/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/package.json -------------------------------------------------------------------------------- /vscode/complexipy/test/extension.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/test/extension.test.js -------------------------------------------------------------------------------- /vscode/complexipy/test/statusbar.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/vscode/complexipy/test/statusbar.test.js -------------------------------------------------------------------------------- /web/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/web/README.md -------------------------------------------------------------------------------- /web/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/web/app.js -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/web/index.html -------------------------------------------------------------------------------- /web/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/web/package-lock.json -------------------------------------------------------------------------------- /web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/web/package.json -------------------------------------------------------------------------------- /web/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/web/setup.sh -------------------------------------------------------------------------------- /web/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohaquinlop/complexipy/HEAD/web/styles.css --------------------------------------------------------------------------------