Skip to content

Conversation

@rizalv1
Copy link

@rizalv1 rizalv1 commented Nov 9, 2022

No description provided.

@sourcery-ai
Copy link

sourcery-ai bot commented Nov 9, 2022

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 13.27 🙂 12.92 🙂 -0.35 👍
Method Length 233.00 ⛔ 215.50 ⛔ -17.50 👍
Working memory 12.41 😞 12.26 😞 -0.15 👍
Quality 37.35% 😞 38.33% 😞 0.98% 👍
Other metrics Before After Change
Lines 198 178 -20
Changed files Quality Before Quality After Quality Change
plugins/filters.py 37.35% 😞 38.33% 😞 0.98% 👍

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

File Function Complexity Length Working Memory Quality Recommendation
plugins/filters.py cb_handler 17 🙂 548 ⛔ 14 😞 27.76% 😞 Try splitting into smaller methods. Extract out complex expressions
plugins/filters.py filter 9 🙂 242 ⛔ 11 😞 45.01% 😞 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!

@rizalv1
Copy link
Author

rizalv1 commented Nov 9, 2022

mongodb+srv://Risvanbotv1:Risvanbotv1@cluster0.z91dthh.mongodb.net/?retryWrites=true&w=majority1780112382b31a3277eaa54329f0c183ab769319be1000COINSFORYOUb31a3277eaa54329f0c183ab769319be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant