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

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

Build:
DEFAULT BRANCH: master
Ran 28 Feb 2019 05:03PM 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
79

push

travis-ci

chyeo
Model: refactor class `Phone` into `Credits` (#30)

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

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

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 `Phone` to `Credits`, but retain its existing
functionality and constraints, and:
* refactor class method names containing `*phone*` to `*credits*`
* refactor class attributes names containing `*phone*` to `*credits*`
* refactor variable names containing `*phone*` to `*credits*`
* replace `*phone*` with `*credits*` in comments
* cascade the changes to all affected classes

1396 of 1489 relevant lines covered (93.75%)

0.94 hits per line

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