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

toonarmycaptain / project_euler / 18
100%

Build:
DEFAULT BRANCH: master
Ran 07 Jan 2019 08:50PM UTC
Jobs 1
Files 7
Run time 1s
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
18

push

travis-ci

toonarmycaptain
Fix poor statement ordering. Save 1 loop by initialising at 1, 2.
Evaluating new number_b after adding to total worked for Project Euler
solution as the value that broke the loop was odd (and thus was not
added to the total), but for the test using the first 10 numbers
(ie <90), it is even, and thus was added to total before checked by the
while condition.

45 of 49 relevant lines covered (91.84%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18.1 07 Jan 2019 08:50PM UTC 0
91.84
Travis Job 18.1
Source Files on build 18
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #18
  • ae560fa2 on github
  • Prev Build on master (#18)
  • Next Build on master (#19)
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