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

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

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

04 Apr 2019 09:58AM UTC coverage: 86.438% (+0.1%) from 86.33%
835.1

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

2594 of 3001 relevant lines covered (86.44%)

0.86 hits per line

Source Files on job 835.1
  • Tree
  • List 0
  • Changed 86
  • Source Changed 86
  • Coverage Changed 86
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 674
  • Travis Job 835.1
  • 2fe1abce on github
  • Prev Job for on master (#824.1)
  • Next Job for on master (#843.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