Niraj-Kamdar / question-paper-generator

The Question Paper Generator has been made to allow professors to generate question papers with random but enough questions to cover most chapters of a subject with specified difficulty and cognitive level and mail paper directly to the examiner in PDF format.
https://setnow.herokuapp.com/
MIT License
14 stars 19 forks source link

Update test_course.py #279

Closed victorcros closed 3 years ago

sourcery-ai[bot] commented 4 years ago

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 0.00 0.00 0.00
Method Length 64.00 πŸ™‚ 64.00 πŸ™‚ 0.00
Working memory 5.00 ⭐ 5.00 ⭐ 0.00
Quality 84.28% ⭐ 84.28% ⭐ 0.00%
Other metrics Before After Change
Lines 33 33 0
Changed files Quality Before Quality After Quality Change
test/test_course.py 84.28% ⭐ 84.28% ⭐ 0.00%

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!

Let us know what you think of it by mentioning @sourcery-ai in a comment.

codecov[bot] commented 4 years ago

Codecov Report

Merging #279 into develop will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #279   +/-   ##
========================================
  Coverage    95.79%   95.79%           
========================================
  Files           39       39           
  Lines         1571     1571           
========================================
  Hits          1505     1505           
  Misses          66       66           
Flag Coverage Ξ”
#unittests 95.79% <100.00%> (ΓΈ)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Ξ”
test/test_course.py 100.00% <100.00%> (ΓΈ)
Niraj-Kamdar commented 3 years ago

Spammy PR!