Open drts01 opened 3 years ago
❌ Merging this PR will decrease code quality in the affected files by 0.05%.
Quality metrics | Before | After | Change |
---|---|---|---|
Complexity | 0.44 ⭐ | 0.40 ⭐ | -0.04 👍 |
Method Length | 19.47 ⭐ | 20.17 ⭐ | 0.70 👎 |
Working memory | 4.82 ⭐ | 4.80 ⭐ | -0.02 👍 |
Quality | 93.18% ⭐ | 93.13% ⭐ | -0.05% 👎 |
Other metrics | Before | After | Change |
---|---|---|---|
Lines | 167 | 174 | 7 |
Changed files | Quality Before | Quality After | Quality Change |
---|---|---|---|
fizzbuzzx.py | 92.48% ⭐ | 91.78% ⭐ | -0.70% 👎 |
test_fizzbuzzx.py | 94.39% ⭐ | 95.01% ⭐ | 0.62% 👍 |
Here are some functions in these files that still need a tune-up:
File | Function | Complexity | Length | Working Memory | Quality | Recommendation |
---|---|---|---|---|---|---|
test_fizzbuzzx.py | test_fizzbuzz | 0 ⭐ | 31 ⭐ | 12 😞 | 75.95% ⭐ | Extract out complex expressions |
The emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.
Please see our documentation here for details on how these metrics are calculated.
We are actively working on this report - lots more documentation and extra metrics to come!
Let us know what you think of it by mentioning @sourcery-ai in a comment.
Codecov Report
71.11% <100.00%> (+17.77%)
Continue to review full report at Codecov.