Skip to content

[CS2103T-T11-4] PeopleSoft#56

Open
ianfromdover wants to merge 452 commits into
nus-cs2103-AY2122S2:masterfrom
AY2122S2-CS2103T-T11-4:master
Open

[CS2103T-T11-4] PeopleSoft#56
ianfromdover wants to merge 452 commits into
nus-cs2103-AY2122S2:masterfrom
AY2122S2-CS2103T-T11-4:master

Conversation

@ianfromdover
Copy link
Copy Markdown

@ianfromdover ianfromdover commented Feb 15, 2022

Logo

PeopleSoft helps companies which offer contractor services with managing how much each contractor is paid. Given that contractors work on an ad-hoc basis, it is a pain to track and calculate fair renumeration for each employee. PeopleSoft solves this by offering:

  • employee management
  • job management
  • salary calculation

Manage your contractors at light speed with PeopleSoft ⚡️

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 20, 2022

Codecov Report

Merging #56 (87d625e) into master (4f7660a) will decrease coverage by 7.63%.
The diff coverage is 62.25%.

@@             Coverage Diff              @@
##             master      #56      +/-   ##
============================================
- Coverage     72.15%   64.52%   -7.64%     
- Complexity      399      651     +252     
============================================
  Files            70      117      +47     
  Lines          1232     2692    +1460     
  Branches        125      277     +152     
============================================
+ Hits            889     1737     +848     
- Misses          311      847     +536     
- Partials         32      108      +76     
Impacted Files Coverage Δ
src/main/java/peoplesoft/AppParameters.java 75.00% <ø> (ø)
src/main/java/peoplesoft/Main.java 0.00% <ø> (ø)
src/main/java/peoplesoft/MainApp.java 0.00% <0.00%> (ø)
src/main/java/peoplesoft/commons/core/Config.java 68.18% <ø> (ø)
.../main/java/peoplesoft/commons/core/LogsCenter.java 78.37% <ø> (ø)
...rc/main/java/peoplesoft/commons/core/Messages.java 0.00% <0.00%> (ø)
src/main/java/peoplesoft/commons/core/Version.java 82.50% <ø> (ø)
...ft/commons/exceptions/DataConversionException.java 100.00% <ø> (ø)
...soft/commons/exceptions/IllegalValueException.java 100.00% <ø> (ø)
src/main/java/peoplesoft/commons/util/AppUtil.java 88.88% <ø> (ø)
... and 108 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 4f7660a...87d625e. Read the comment docs.

ianfromdover and others added 29 commits March 31, 2022 21:28
Update `Job` related commands to use `Index`
Updated `JobAddCommand` to not use `Rate`.
Removed uses of `calculateRate()` (`UI` and `Exporter`).
Changed `Job` constructor and added `isFinal` field.
`PaymentHandler` does all the coupling work.
Use `pay INDEX y/`, the `y/` is for confirmation.
`JobFinalizeCommand` is supposed to be irreversible, no `Job`
related functions are allowed to act on a finalized `Job`.
This does not stop malicious/error-prone users from modifying the
data file and affecting finalized `Job`s.
The only command that affects finalized `Job`s is `clear`.

From preliminary testing, all features seem to be in good working
order.
Automated testing for `Job` related command on finalized `Job`s not
yet added.
`Rate` was removed from `Job` so `UI` requires the changes to remove
the placeholder `Rate` values.
In removing `Rate` from `Job`, small changes had to be made to
`Exporter`, requires some attention.
Also refactored classes to the `model.money` package.
Update changes to the UG to include `pay`
Make GUI reflect outstanding salary and jobs that can be finalised
Fix `EditCommand` not working with `Rate`
Address some of the identified UG bugs
zhongfu and others added 30 commits April 15, 2022 18:15
UG: Add padding below captions, replace "person" -> "employee", fix table formatting
Co-authored-by: zhongfu <me@zhongfu.li>
Modify 'how to use this user guide', change command field name, and some minor fixes to UG
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.

6 participants