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

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

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2019 10:02AM UTC
Jobs 1
Files 114
Run time 8s
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
835

push

travis-ci

lycjackie
App: improve overall code quality (#170)

There's inconsistent/insufficient use of defensive programming in our
codebase.

Let's update the codebase to add precondition checks by using:
* `requireNonNull` to verify preconditions in public methods
* `checkArgument` to verify preconditions in public methods
* `assert` to verify preconditions in private/protected methods

Besides that, let's also rename `ApplicationParser` to `CommandParser`
so that it makes more sense, and reflects its actual purpose.

Precondition checks are done in accordance to guidelines obtained from:
https://docs.oracle.com/javase/8/docs/technotes/guides/language/assert.html

230 of 230 new or added lines in 75 files covered. (100.0%)

2594 of 3001 relevant lines covered (86.44%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 835.1 04 Apr 2019 10:02AM UTC 0
86.44
Travis Job 835.1
Source Files on build 835
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #835
  • 2fe1abce on github
  • Prev Build on master (#824)
  • Next Build on master (#843)
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