Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Conversation

@Kurpp
Copy link
Contributor

@Kurpp Kurpp commented Jul 23, 2021

Trolla

@sourcery-ai
Copy link

sourcery-ai bot commented Jul 23, 2021

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 6.39 ⭐ 6.39 ⭐ 0.00
Method Length 95.50 🙂 95.50 🙂 0.00
Working memory 9.87 😞 9.87 😞 0.00
Quality 59.39% 🙂 59.39% 🙂 0.00%
Other metrics Before After Change
Lines 641 641 0
Changed files Quality Before Quality After Quality Change
main.py 59.39% 🙂 59.39% 🙂 0.00%

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

File Function Complexity Length Working Memory Quality Recommendation
main.py get_img 6 ⭐ 284 ⛔ 23 ⛔ 34.05% 😞 Try splitting into smaller methods. Extract out complex expressions
main.py register 13 🙂 206 ⛔ 17 ⛔ 35.60% 😞 Try splitting into smaller methods. Extract out complex expressions
main.py upload 11 🙂 415 ⛔ 11 😞 38.36% 😞 Try splitting into smaller methods. Extract out complex expressions
main.py embed_conf 10 🙂 343 ⛔ 12 😞 38.70% 😞 Try splitting into smaller methods. Extract out complex expressions
main.py login 16 🙂 152 😞 13 😞 42.63% 😞 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!

Help us improve this quality report!

@GGORG0 GGORG0 merged commit ec8213c into GGORG0:master Jul 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants