BeautifulReport
BeautifulReport copied to clipboard
报告汇总bug
报告汇总:用例通过的数和用例跳过的数显示跟详细数据中的计数不一致;望大佬修复!!!
Sourcery Code Quality Report
✅ Merging this PR will increase code quality in the affected files by 0.06%.
Quality metrics | Before | After | Change |
---|---|---|---|
Complexity | 3.00 ⭐ | 3.00 ⭐ | 0.00 |
Method Length | 77.75 🙂 | 77.25 🙂 | -0.50 👍 |
Working memory | 27.25 ⛔ | 27.25 ⛔ | 0.00 |
Quality | 67.55% 🙂 | 67.61% 🙂 | 0.06% 👍 |
Other metrics | Before | After | Change |
---|---|---|---|
Lines | 96 | 95 | -1 |
Changed files | Quality Before | Quality After | Quality Change |
---|---|---|---|
userge/plugins/fun/stylish.py | 67.55% 🙂 | 67.61% 🙂 | 0.06% 👍 |
Here are some functions in these files that still need a tune-up:
File | Function | Complexity | Length | Working Memory | Quality | Recommendation |
---|---|---|---|---|---|---|
userge/plugins/fun/stylish.py | _style_text | 8 ⭐ | 142 😞 | 39 ⛔ | 39.75% 😞 | Try splitting into smaller methods. Extract out complex expressions |
Legend and Explanation
The emojis denote the absolute quality of the code:
- ⭐ excellent
- 🙂 good
- 😞 poor
- ⛔ very poor
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.