Skip to content

Releases: rohaquinlop/complexipy

0.3.3

27 Apr 21:34
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.3.2...0.3.3

0.3.2

22 Mar 08:29
Compare
Choose a tag to compare

What's Changed

  • When using --details low, in some cases the summary table is empty, so in this case then the table won't be printed but an informational message.

PRs

Full Changelog: 0.3.1...0.3.2

0.3.1

13 Mar 02:22
Compare
Choose a tag to compare

Release Notes

What's Changed

  • Require python >= 3.8
  • Fix the logic followed to calculate the cognitive complexity.
    • The assignment statements only add cognitive complexity when IfExp are being used.
    • BinOp by itself don't add cognitive complexity.
  • Add -s --sort optional parameter to sort the output.

PRs

Full Changelog: 0.3.0...0.3.1

0.3.0

07 Mar 02:35
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 0.2.2...0.3.0

0.2.2

27 Feb 07:58
Compare
Choose a tag to compare

Full Changelog: 0.2.1...0.2.2

0.2.1

27 Feb 06:40
Compare
Choose a tag to compare

Update the README.md file

Full Changelog: 0.2.0...0.2.1

0.2.0

27 Feb 06:25
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.0...0.2.0