AY2425S1-CS2103-F12-1 / tp

MIT License
0 stars 4 forks source link

Add usability add claim command #98

Closed RezwanAhmed123 closed 2 weeks ago

RezwanAhmed123 commented 2 weeks ago

The add claim function only throws errors as of now, as it was being debugged.

Let's add functionality to the claim function for short term storage to ensure it is working as intended.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 8.23529% with 78 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
.../seedu/address/logic/commands/AddClaimCommand.java 0.00% 21 Missing :warning:
...du/address/model/person/insurance/claim/Claim.java 0.00% 20 Missing :warning:
...du/address/logic/parser/AddClaimCommandParser.java 0.00% 15 Missing :warning:
...in/java/seedu/address/logic/parser/ParserUtil.java 0.00% 11 Missing :warning:
.../model/person/insurance/InsurancePlansManager.java 11.11% 8 Missing :warning:
src/main/java/seedu/address/logic/Messages.java 0.00% 2 Missing :warning:
.../seedu/address/logic/parser/AddressBookParser.java 0.00% 1 Missing :warning:
Files with missing lines Coverage Δ Complexity Δ
...du/address/logic/commands/AddInsuranceCommand.java 21.42% <ø> (ø) 3.00 <0.00> (ø)
...ain/java/seedu/address/logic/parser/CliSyntax.java 88.88% <100.00%> (+3.17%) 1.00 <0.00> (ø)
.../address/model/person/insurance/InsurancePlan.java 87.50% <100.00%> (+4.16%) 6.00 <0.00> (ø)
.../seedu/address/logic/parser/AddressBookParser.java 91.30% <0.00%> (-8.70%) 14.00 <0.00> (ø)
src/main/java/seedu/address/logic/Messages.java 80.00% <0.00%> (-8.89%) 3.00 <0.00> (ø)
.../model/person/insurance/InsurancePlansManager.java 65.21% <11.11%> (-13.17%) 15.00 <0.00> (ø)
...in/java/seedu/address/logic/parser/ParserUtil.java 73.58% <0.00%> (-19.28%) 15.00 <0.00> (ø)
...du/address/logic/parser/AddClaimCommandParser.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...du/address/model/person/insurance/claim/Claim.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
.../seedu/address/logic/commands/AddClaimCommand.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
RezwanAhmed123 commented 2 weeks ago

refer to PR #101