Closed ElCopado closed 2 years ago
❌ Merging this PR will decrease code quality in the affected files by 0.33%.
Quality metrics | Before | After | Change |
---|---|---|---|
Complexity | 498.73 ⛔ | 519.90 ⛔ | 21.17 👎 |
Method Length | 132.66 😞 | 134.60 😞 | 1.94 👎 |
Working memory | 100.38 ⛔ | 103.68 ⛔ | 3.30 👎 |
Quality | 33.18% 😞 | 32.85% 😞 | -0.33% 👎 |
Other metrics | Before | After | Change |
---|---|---|---|
Lines | 4028 | 4090 | 62 |
Changed files | Quality Before | Quality After | Quality Change |
---|---|---|---|
spunky.py | 33.18% 😞 | 32.85% 😞 | -0.33% 👎 |
Here are some functions in these files that still need a tune-up:
File | Function | Complexity | Length | Working Memory | Quality | Recommendation |
---|---|---|---|---|---|---|
spunky.py | LogParser.handle_say | 1385 ⛔ | 12464 ⛔ | 263 ⛔ | 0.00% | Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions |
spunky.py | LogParser.handle_kill | 122 ⛔ | 891 ⛔ | 27 ⛔ | 1.46% ⛔ | Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions |
spunky.py | LogParser.handle_awards | 51 ⛔ | 534 ⛔ | 37 ⛔ | 3.63% ⛔ | Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions |
spunky.py | LogParser.find_game_start | 42 ⛔ | 361 ⛔ | 24 ⛔ | 9.14% ⛔ | Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions |
spunky.py | LogParser.taskmanager | 40 ⛔ | 338 ⛔ | 19 ⛔ | 12.75% ⛔ | Refactor to reduce nesting. Try splitting into smaller methods. Extract out complex expressions |
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!
Thank you for contributing a Pull Request!
Please follow the checklist:
What is the purpose of your pull request:
Description:
Explanation of your pull request in arbitrary form goes here.