Segelzwerg / SportToolBox

This is a website where you calculate different metrics used in sport. It is meant to collect calculators into one website for the convenience of the athletes.
GNU General Public License v3.0
4 stars 21 forks source link

Feature/refactor distance #85

Closed Segelzwerg closed 4 years ago

Segelzwerg commented 4 years ago

Implements different distance units as separate classes.

codecov[bot] commented 4 years ago

Codecov Report

Merging #85 into develop will decrease coverage by 0.81%. The diff coverage is 87.73%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop      #85      +/-   ##
=============================================
- Coverage      86.18%   85.37%   -0.82%     
- Complexity       178      207      +29     
=============================================
  Files             29       33       +4     
  Lines            391      458      +67     
  Branches          25       26       +1     
=============================================
+ Hits             337      391      +54     
- Misses            36       47      +11     
- Partials          18       20       +2
Impacted Files Coverage Δ Complexity Δ
...werg/sporttooolbox/calculators/TimeCalculator.java 90% <ø> (ø) 3 <0> (ø) :arrow_down:
...g/sporttooolbox/iunits/speed/KilometerPerHour.java 93.33% <ø> (ø) 11 <0> (+1) :arrow_up:
...va/segelzwerg/sporttooolbox/iunits/speed/Knot.java 92.85% <ø> (ø) 10 <0> (ø) :arrow_down:
...erg/sporttooolbox/calculators/SpeedCalculator.java 85.71% <ø> (ø) 3 <0> (ø) :arrow_down:
...lzwerg/sporttooolbox/iunits/speed/MilePerHour.java 92.85% <ø> (ø) 10 <0> (ø) :arrow_down:
...ttooolbox/iunits/pace/MinutesPerHundredMeters.java 80% <0%> (-8.89%) 6 <0> (ø)
...sporttooolbox/iunits/distance/DistanceFactory.java 100% <100%> (ø) 9 <9> (?)
...orttooolbox/calculators/TimeCalculatorFactory.java 100% <100%> (ø) 2 <0> (ø) :arrow_down:
...rttooolbox/calculators/SpeedCalculatorFactory.java 100% <100%> (ø) 1 <0> (ø) :arrow_down:
...erg/sporttooolbox/iunits/speed/MeterPerSecond.java 86.66% <100%> (ø) 8 <2> (ø) :arrow_down:
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e2c7000...58ddd03. Read the comment docs.