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

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

Build:
DEFAULT BRANCH: master
Ran 28 Feb 2019 04:13PM UTC
Jobs 1
Files 79
Run time 40min
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
77

push

travis-ci

chyeo
Model: refactor class `Address` into `Code` (#27)

`Module` class is lacking the following model classes:
* `Code`
* `Credits`
* `Exempted`

In addition, it still has `person`-related model classes such as:
* `Address`
* `Email`
* `Phone`

To simplify the process of introducing the model classes we lack, we can
tune `persons`-related models into `modules`-related models through
refactoring.

Let's refactor `Address` to `Code`, but retain its existing
functionality and constraints, and:
* refactor class method names containing `*address*` to `*code*`
* refactor class attributes names containing `*address*` to `*code*`
* refactor variable names containing `*address*` to `*code*`
* replace `*address*` with `*code*` in comments
* cascade the changes to all affected classes

42 of 42 new or added lines in 9 files covered. (100.0%)

1396 of 1489 relevant lines covered (93.75%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 77.1 28 Feb 2019 04:13PM UTC 0
93.75
Travis Job 77.1
Source Files on build 77
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #77
  • 7012b9be on github
  • Prev Build on master (#76)
  • Next Build on master (#79)
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