Advik-B / CMPDL

Curseforge ModPack Downloader
GNU General Public License v3.0
11 stars 1 forks source link

v3.0.0 #37

Closed Advik-B closed 1 year ago

sourcery-ai[bot] commented 1 year ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 5.62 ⭐ 0.82 ⭐ -4.80 👍
Method Length 67.97 🙂 53.71 ⭐ -14.26 👍
Working memory 7.59 🙂 7.41 🙂 -0.18 👍
Quality 66.67% 🙂 75.45% 8.78% 👍
Other metrics Before After Change
Lines 419 77 -342
Changed files Quality Before Quality After Quality Change
src/backend.py 62.75% 🙂 83.35% ⭐ 20.60% 👍
src/test.py 96.84% ⭐ 73.95% 🙂 -22.89% 👎

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

File Function Complexity Length Working Memory Quality Recommendation
src/test.py main 1 ⭐ 134 😞 9 🙂 65.75% 🙂 Try splitting into smaller methods
src/backend.py CurseForgeModPack.__init__ 0 ⭐ 45 ⭐ 10 😞 77.29% ⭐ 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!

Help us improve this quality report!