avendesora / pythonbible

A python library for validating, parsing, normalizing scripture references and retrieving scripture texts (for open source and public domain versions)
https://docs.python.bible
MIT License
58 stars 11 forks source link

Compound References #80

Closed avendesora closed 1 year ago

sourcery-ai[bot] commented 1 year ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 0.66 ⭐ 0.67 ⭐ 0.01 👎
Method Length 59.34 ⭐ 60.31 ⭐ 0.97 👎
Working memory 7.92 🙂 7.63 🙂 -0.29 👍
Quality 78.83% 79.31% 0.48% 👍
Other metrics Before After Change
Lines 685 764 79
Changed files Quality Before Quality After Quality Change
pythonbible/regular_expressions.py 45.05% 😞 45.05% 😞 0.00%
tests/parser_test.py 87.77% ⭐ 86.02% ⭐ -1.75% 👎
tests/regular_expressions_test.py 89.59% ⭐ 89.33% ⭐ -0.26% 👎

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!