Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger assertion #526

Merged

Conversation

Gabriel4357
Copy link

@Gabriel4357 Gabriel4357 commented Nov 12, 2023

Add assertion and logging statements for

  • EditCustomer
  • AddDelivery
  • EditDelivery
  • DeleteDelivery
  • EditCustomerParser
  • AddDeliveryParser
  • EditDeliveryParser
  • DeleteDeliveryParser

* 'master' of https://github.com/AY2324S1-CS2103T-T13-3/tp: (24 commits)
  Change test
  Add tests
  Remove trailing whitespace
  Add Happy Path
  Add tests
  Add methods for LoD
  Update jianyangg's PPP
  UG Final Touches
  Add final adjustments/refinements
  Add EOF
  Add draft
  Fix alignment
  Add data changes
  Change all names of person
  Update PPP
  Fix swift
  Add PPP draft
  Add changes
  Update whitespacing issues and minor adjustments
  Add newline to EOF
  ...
* 'master' of https://github.com/AY2324S1-CS2103T-T13-3/tp:
  Update UG
  Update UG according to Zhong Han's comments
  Improve code quality
  Add newline at EOF
  Standardise UG
  Update methods to use new model.getFilteredCustomerListSize()
  Improve Code Quality of codebase
  Add in new challenges and achievements
  Update glossary
  Add appendix-effort
  Update acknowledgment and glossary and NFR
* code-quality-fix:
  Fix tests
  Fix tests and checkstyle
  improve code quality
@Gabriel4357 Gabriel4357 self-assigned this Nov 12, 2023
Copy link

codecov bot commented Nov 12, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (534974f) 83.90% compared to head (c860523) 83.83%.
Report is 24 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #526      +/-   ##
============================================
- Coverage     83.90%   83.83%   -0.07%     
- Complexity     1010     1021      +11     
============================================
  Files           121      121              
  Lines          3025     3143     +118     
  Branches        360      367       +7     
============================================
+ Hits           2538     2635      +97     
- Misses          389      394       +5     
- Partials         98      114      +16     
Files Coverage Δ
...address/logic/parser/DeliveryAddCommandParser.java 87.50% <100.00%> (+3.28%) ⬆️
...ress/logic/parser/DeliveryDeleteCommandParser.java 100.00% <100.00%> (ø)
...gic/parser/customer/CustomerEditCommandParser.java 100.00% <100.00%> (ø)
...gic/parser/delivery/DeliveryEditCommandParser.java 100.00% <100.00%> (ø)
...logic/commands/delivery/DeliveryDeleteCommand.java 83.87% <92.85%> (-2.50%) ⬇️
...s/logic/commands/customer/CustomerEditCommand.java 91.96% <91.66%> (-0.70%) ⬇️
...ss/logic/commands/delivery/DeliveryAddCommand.java 96.10% <90.90%> (-3.90%) ⬇️
...s/logic/commands/delivery/DeliveryEditCommand.java 91.30% <92.30%> (-0.29%) ⬇️

... and 16 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

*add guard clause for customer edit command
*ensure happy path for customer edit command
*fix customer edit command test
Copy link

@juliusgambe juliusgambe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Will make changes on my end.

@juliusgambe juliusgambe merged commit 4be29df into AY2324S1-CS2103T-T13-3:master Nov 13, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants