• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CS2113-AY1819S2-T09-1 / main / 64
92%

Build:
DEFAULT BRANCH: master
Ran 26 Feb 2019 11:19AM UTC
Jobs 1
Files 79
Run time 50s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
64

push

travis-ci

web-flow
Refactor `*person*` into `*module*` (#18)

We are going to morph the `persons`-oriented Address Book application to a
`modules`-oriented Degree Planner application.

Before we can start tweaking existing features and implementing new
features to suit our degree planner application, we need to refactor the
codebase so that we are working with `modules` instead of `persons`.

As the codebase is quite huge, we carry out the refactoring in multiple
stages incrementally to ensure the correctness of the refactoring done.

In the first phase of refactoring, we retain all existing
functionalities, but avoid updating any variables (such as strings or
variable names referenced by Jackson JSON processor for serialization)
or filenames that are referenced by unit tests so as to allow all unit
tests to continue to pass.

In the second phase of refactoring, we update all variables and
filenames, and amend unit tests accordingly so that all unit tests
continue to pass.

In the third phase of refactoring, we update the documentations
(e.g. User Guide and Developer Guide).

Let's refactor the entire codebase in the three refactoring phases above
incrementally such that we eventually refactor
* filenames that are `*person*` to `*module*`
* class names that are `*person*` to `*module*`
* class attributes are `*person*` to `*module*`
* class methods are `*person*` to `*module*`
* all variables are `*person*` to `*module*`
* `*person*` to `*module*` in comments
* all documentations to replace `*person*` with `*module*`
* all documentations to include updated `*module*`-related diagrams

In addition, we ensure that unit tests continue to pass so that each 
refactoring step taken is easily verifiable.

First phase of refactoring:

  [ 1/68] Model: refactor package `person` to `module`
  [ 2/68] Model: refactor class `Person` to `Module`
  [ 3/68] DuplicatePersonException class: refactor to `DuplicateModuleException`
  [ 4/68] Person... (continued)

1396 of 1489 relevant lines covered (93.75%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 64.1 26 Feb 2019 11:19AM UTC 0
93.75
Travis Job 64.1
Source Files on build 64
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #64
  • b3195743 on github
  • Prev Build on master (#63)
  • Next Build on master (#66)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc