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

toonarmycaptain / project_euler / 18 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 07 Jan 2019 08:50PM UTC
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

07 Jan 2019 08:48PM UTC coverage: 91.837% (+0.7%) from 91.176%
18.1

push

travis-ci-com

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

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