SpEcHiDe / PublicLeech

can be found on Telegram as https://telegram.dog/PublicLeechGroup
GNU Affero General Public License v3.0
423 stars 996 forks source link

fix noaudio #126

Closed anon97945 closed 4 years ago

sourcery-ai[bot] commented 4 years ago

Sourcery Code Quality Report

✅  Merging this PR will increase code quality in the affected files by 2.93%.

Quality metrics Before After Change
Complexity 14.00 🙂 9.50 🙂 -4.50 👍
Method Length 259.00 ⛔ 246.00 ⛔ -13.00 👍
Working memory 10.50 😞 10.50 😞 0.00
Quality 55.99% 🙂 58.92% 🙂 2.93% 👍
Other metrics Before After Change
Lines 185 180 -5
Changed files Quality Before Quality After Quality Change
tobrot/helper_funcs/youtube_dl_button.py 55.99% 🙂 58.92% 🙂 2.93% 👍

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation
tobrot/helper_funcs/youtube_dl_button.py youtube_dl_call_back 19 😞 454 ⛔ 18 ⛔ 22.48% ⛔ Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions

Legend and Explanation

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.