Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Update GitGram.py #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theshashankk
Copy link

No description provided.

@sourcery-ai
Copy link

sourcery-ai bot commented Jun 11, 2021

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 39.89 ⛔ 40.43 ⛔ 0.54 👎
Method Length 226.69 ⛔ 240.07 ⛔ 13.38 👎
Working memory 18.20 ⛔ 18.35 ⛔ 0.15 👎
Quality 25.61% 😞 24.86% -0.75% 👎
Other metrics Before After Change
Lines 510 502 -8
Changed files Quality Before Quality After Quality Change
GitGram.py 25.61% 😞 24.86% ⛔ -0.75% 👎

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

File Function Complexity Length Working Memory Quality Recommendation
GitGram.py git_api 55 ⛔ 1527 ⛔ 23 ⛔ 4.98% ⛔ Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions
GitGram.py github_webhooks 55 ⛔ 1527 ⛔ 22 ⛔ 5.41% ⛔ Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions
GitGram.py deldog 4 ⭐ 83 🙂 10 😞 67.43% 🙂 Extract out complex expressions
GitGram.py passUnknownJsonToDeldog 4 ⭐ 83 🙂 10 😞 67.43% 🙂 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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant