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

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

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2019 04:06AM UTC
Files 106
Run time 4s
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:02AM UTC coverage: 81.732%. Remained the same
304.1

push

travis-ci

lycjackie
Model: update `Name#VALIDATION_REGEX` (#76)

`Name#VALIDATION_REGEX` accepts any alphanumeric characters separated by
spaces. However, this character set is too strict, and prevents the use
of punctuation characters.

Example:
"Software Engineering & Object-Oriented Programming" is invalid.

Let's relax the `Name` restrictions by accepting punctuation characters
in `Name` by:
* replacing `\p{Alnum}` with `\p{Graph}` (alphanumeric + punctuations)
* replacing `\p{Alnum} ` with `\p{Print}` (`\p{Graph}` + whitespace)
* updating `Name#MESSAGE_CONSTRAINTS` to reflect the changes accordingly

In addition, let's also update unit tests that checks for invalid names.

1718 of 2102 relevant lines covered (81.73%)

0.82 hits per line

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