AY2021S2-CS2103T-T10-1 / tp

https://ay2021s2-cs2103t-t10-1.github.io/tp/
MIT License
0 stars 6 forks source link

Branch parser tests #422

Closed ZhangAnli closed 3 years ago

ZhangAnli commented 3 years ago

Parser tests for View, Find, Schedule.

Added ViewCommandTest.

codecov-io commented 3 years ago

Codecov Report

Merging #422 (0b97ae0) into master (05d85af) will increase coverage by 5.87%. The diff coverage is 76.19%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #422      +/-   ##
============================================
+ Coverage     60.62%   66.50%   +5.87%     
- Complexity      634      706      +72     
============================================
  Files           115      115              
  Lines          2395     2403       +8     
  Branches        288      291       +3     
============================================
+ Hits           1452     1598     +146     
+ Misses          822      684     -138     
  Partials        121      121              
Impacted Files Coverage Δ Complexity Δ
...ava/dog/pawbook/logic/commands/EditDogCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../dog/pawbook/logic/commands/EditEntityCommand.java 79.54% <0.00%> (ø) 10.00 <0.00> (ø)
...va/dog/pawbook/logic/commands/ScheduleCommand.java 30.00% <0.00%> (+30.00%) 2.00 <1.00> (+2.00)
...n/java/dog/pawbook/logic/commands/ViewCommand.java 90.32% <92.85%> (+72.46%) 12.00 <3.00> (+8.00)
...ook/logic/commands/ProgramRegistrationCommand.java 78.18% <100.00%> (+1.25%) 22.00 <5.00> (+5.00)
...a/dog/pawbook/model/managedentity/owner/Owner.java 80.00% <0.00%> (+1.66%) 20.00% <0.00%> (+1.00%)
.../java/dog/pawbook/model/managedentity/dog/Dog.java 83.01% <0.00%> (+1.88%) 21.00% <0.00%> (+1.00%)
...g/pawbook/model/managedentity/program/Program.java 70.58% <0.00%> (+17.64%) 15.00% <0.00%> (+4.00%)
...n/java/dog/pawbook/storage/JsonAdaptedSession.java 100.00% <0.00%> (+20.00%) 5.00% <0.00%> (+1.00%)
...main/java/dog/pawbook/logic/parser/ParserUtil.java 94.04% <0.00%> (+23.80%) 26.00% <0.00%> (+7.00%)
... and 10 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 1e406ef...0b97ae0. Read the comment docs.