Closed neomatrix369 closed 1 year ago
β Merging this PR will increase code quality in the affected files by 1.12%.
Quality metrics | Before | After | Change |
---|---|---|---|
Complexity | 2.25 β | 1.94 β | -0.31 π |
Method Length | 43.77 β | 41.15 β | -2.62 π |
Working memory | 5.31 β | 5.17 β | -0.14 π |
Quality | 85.51% β | 86.63% β | 1.12% π |
Other metrics | Before | After | Change |
---|---|---|---|
Lines | 337 | 320 | -17 |
Changed files | Quality Before | Quality After | Quality Change |
---|---|---|---|
setup.py | 67.46% π | 67.46% π | 0.00% |
nlp_profiler/high_level_features/ease_of_reading_check.py | 85.18% β | 85.73% β | 0.55% π |
nlp_profiler/high_level_features/grammar_quality_check.py | 90.16% β | 90.11% β | -0.05% π |
nlp_profiler/high_level_features/spelling_quality_check.py | 84.28% β | 87.36% β | 3.08% π |
tests/granular/test_nounphrase.py | % | % | % |
tests/granular/test_syllables.py | 90.40% β | 90.40% β | 0.00% |
tests/high_level/test_ease_of_reading_check.py | 87.93% β | 87.93% β | 0.00% |
tests/high_level/test_grammar_check.py | 87.91% β | 87.91% β | 0.00% |
Here are some functions in these files that still need a tune-up:
File | Function | Complexity | Length | Working Memory | Quality | Recommendation |
---|
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!
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
dde3172
) 100.00% compared to head (2cddf51
) 100.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Merging for now, will review windows report writing error caused due to unicode encoding via a separate issue
Reverts neomatrix369/nlp_profiler#71
Reverting spell check to previous spell check as the new one introduced does not catch the previously incorrectly spelt words. Need to review further before re-appling this check.