Closed bpepple closed 4 years ago
Merging this PR leaves code quality unchanged.
Quality metrics | Before | After | Change |
---|---|---|---|
Complexity | 2.40 ⭐ | 2.40 ⭐ | 0.00 |
Method Length | 94.60 🙂 | 94.60 🙂 | 0.00 |
Working memory | 18.20 ⛔ | 18.20 ⛔ | 0.00 |
Quality | 69.74% 🙂 | 69.74% 🙂 | 0.00% |
Other metrics | Before | After | Change |
---|---|---|---|
Lines | 158 | 158 | 0 |
Changed files | Quality Before | Quality After | Quality Change |
---|---|---|---|
metron/urls.py | 38.71% 😞 | 38.71% 😞 | 0.00% |
users/views.py | 77.50% ⭐ | 77.50% ⭐ | 0.00% |
Here are some functions in these files that still need a tune-up:
File | Function | Complexity | Length | Working Memory | Quality | Recommendation |
---|---|---|---|---|---|---|
users/views.py | signup | 7 ⭐ | 112 🙂 | 22 ⛔ | 47.15% 😞 | 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.