0.3.0
Breaking changes
- Now, by default the cognitive complexity is calculated at a
function level
, this means that the maximum complexity will be evaluated for each function inside the python files, it is still available to get the cognitive complexity per file. - Added new parameters.
- There is more information about the stages when running
complexipy
over git repositories (using the URL). - Reduced verbosity.
- Enhanced the algorithm to measure the cognitive complexity, the results obtained are closer to the Sonar implementation.
- Now the CSV report generation is implemented in Rust instead of Python, this improves the performance.
- Updated docs.
Acknowledgments
- Thanks to everyone in for the feedback
- Special thanks to @ganncamp for taking the time to read the repo, her recommendations, and work.
- Special thanks to @korneevm for your contributions to the project, excellent ideas!
What's Changed
- fix(docs) Changed max complexity argument name to match the code by @korneevm in #11
- fit(report|docs) Add -d params to be able to show only files with complexity above the max_complexity by @korneevm in #14
- feat(build): #16 enhance try cognitive complexity by @rohaquinlop in #18
- feat(test): #16 add unit testing by @rohaquinlop in #20
- feat(build|docs): #15 add function level complexity analysis by @rohaquinlop in #21
- feat(docs): #15 add cognitive complexity explanation by @rohaquinlop in #22
- feat(build): #23 add progress bars by @rohaquinlop in #24
- feat(build|docs): #25 add quiet option by @rohaquinlop in #26
New Contributors
Full Changelog: 0.2.2...0.3.0