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

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

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2019 11:44AM UTC
Files 114
Run time 6s
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

03 Apr 2019 11:40AM UTC coverage: 86.311% (+0.1%) from 86.214%
812.1

push

travis-ci

lycjackie
Logic/parser: refactor `ParserUtil` methods (#167)

* Logic/parser: extract `arePrefixesPresent(...)` to `ParserUtil`

Many command parsers (such as `AddCommandParser`,
`PlannerAddCommandParser`, `RequriementRemoveCommandParser`) have the
same `arePrefixesPresent(...)` implementation.

Let's extract the `arePrefixesPresent(...)` to `ParserUtil` to reduce
duplicate code.

* logic/parser: simplfy `ParserUtil#parseCorequisites(...)` implementation

`ParserUtil#parseCorequisites(...)` is simply a syntactic sugar for
`ParserUtil#parseCodes(...)`.

Let's update `ParserUtil#parseCorequisites(...)` to call
`parseCodes(...)` internally instead of duplicating code.

2459 of 2849 relevant lines covered (86.31%)

0.86 hits per line

Source Files on job 812.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 653
  • Travis Job 812.1
  • 170bd29b on github
  • Prev Job for on master (#808.1)
  • Next Job for on master (#824.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