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

CS2113-AY1819S2-T09-1 / main / 307 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2019 04:24AM UTC
Files 106
Run time 5s
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

15 Mar 2019 04:20AM UTC coverage: 81.732%. Remained the same
307.1

push

travis-ci

lycjackie
Model: update `Code#VALIDATION_REGEX` (#77)

`Code#VALIDATION_REGEX` accepts any strings of any characters (except
blank). However, the constraints imposed on `Code` is too permissive.
Codes should begin with two alphabets, followed by four digits, and may
optionally end with an alphabet. Blank should continue to be treated as
invalid `Code`.

Let's impose stricter restrictions on `Code` by:
* updating `Code#VALIDATION_REGEX`
* updating `Code#MESSAGE_CONSTRAINTS` to reflect the changes accordingly

In addition, let's also update all affected unit tests.

Note: Fixed a minor typo in `SampleDataUtil#CS2102`.

1718 of 2102 relevant lines covered (81.73%)

0.82 hits per line

Source Files on job 307.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 231
  • Travis Job 307.1
  • bdb16cf8 on github
  • Prev Job for on master (#304.1)
  • Next Job for on master (#319.1)
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