RockProfile / devfaq.com

Source code for the devfaq.com site.
MIT License
0 stars 0 forks source link

Implemented testing for submodules #8

Closed petermcd closed 2 years ago

petermcd commented 2 years ago

Added test cases for subdomains

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 3.00 ⭐ 2.50 ⭐ -0.50 👍
Method Length 18.00 ⭐ 45.14 ⭐ 27.14 👎
Working memory 7.00 🙂 4.86 ⭐ -2.14 👍
Quality 78.68% 82.65% 3.97% 👍
Other metrics Before After Change
Lines 24 80 56
Changed files Quality Before Quality After Quality Change
website/helpers.py 78.68% ⭐ 76.42% ⭐ -2.26% 👎
website/models.py % 85.98% ⭐ %
website/tests.py % 89.09% ⭐ %

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!