kiwicom / the-zoo

🐒 A service registry for humans
MIT License
93 stars 6 forks source link

fix: small globalsearch and gitlab fixes #408

Closed gjuro87 closed 3 years ago

gjuro87 commented 3 years ago
sourcery-ai[bot] commented 3 years ago

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 1.83%.

Quality metrics Before After Change
Complexity 2.64 ⭐ 3.15 ⭐ 0.51 👎
Method Length 45.12 ⭐ 47.38 ⭐ 2.26 👎
Working memory 6.06 ⭐ 6.30 🙂 0.24 👎
Quality 82.56% 80.73% -1.83% 👎
Other metrics Before After Change
Lines 113 123 10
Changed files Quality Before Quality After Quality Change
zoo/globalsearch/indexer.py 83.08% ⭐ 80.21% ⭐ -2.87% 👎
zoo/repos/views.py 81.73% ⭐ 81.65% ⭐ -0.08% 👎

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

File Function Complexity Length Working Memory Quality Recommendation

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!

sonarcloud[bot] commented 3 years ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication