Closed sourcery-ai[bot] closed 1 year ago
❌ Merging this PR will decrease code quality in the affected files by 0.05%.
Quality metrics | Before | After | Change |
---|---|---|---|
Complexity | 8.49 ⭐ | 8.48 ⭐ | -0.01 👍 |
Method Length | 102.46 🙂 | 101.53 🙂 | -0.93 👍 |
Working memory | 9.68 🙂 | 9.75 🙂 | 0.07 👎 |
Quality | 59.73% 🙂 | 59.68% 🙂 | -0.05% 👎 |
Other metrics | Before | After | Change |
---|---|---|---|
Lines | 1435 | 1390 | -45 |
Changed files | Quality Before | Quality After | Quality Change |
---|---|---|---|
bypasser.py | 60.15% 🙂 | 60.15% 🙂 | 0.00% |
config.py | 52.88% 🙂 | 52.88% 🙂 | 0.00% |
ddl.py | 60.27% 🙂 | 60.18% 🙂 | -0.09% 👎 |
Here are some functions in these files that still need a tune-up:
File | Function | Complexity | Length | Working Memory | Quality | Recommendation |
---|---|---|---|---|---|---|
ddl.py | direct_link_generator | 28 😞 | 243 ⛔ | 30 ⛔ | 17.26% ⛔ | Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions |
ddl.py | fichier | 30 😞 | 320 ⛔ | 18 ⛔ | 17.88% ⛔ | Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions |
bypasser.py | unified | 30 😞 | 670 ⛔ | 14 😞 | 19.33% ⛔ | Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions |
ddl.py | uptobox | 11 🙂 | 201 😞 | 15 😞 | 39.84% 😞 | Try splitting into smaller methods. Extract out complex expressions |
bypasser.py | sharer_pw | 8 ⭐ | 190 😞 | 14 😞 | 44.73% 😞 | Try splitting into smaller methods. 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!
Help us improve this quality report!
Branch
main
refactored by Sourcery.If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.
See our documentation here.
Run Sourcery locally
Reduce the feedback loop during development by using the Sourcery editor plugin:
Review changes via command line
To manually merge these changes, make sure you're on the
main
branch, then run:Help us improve this pull request!