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

trotzig / diffux / 304
99%

Build:
DEFAULT BRANCH: master
Ran 24 Mar 2014 11:04PM UTC
Jobs 2
Files 31
Run time 22s
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
304

push

travis-ci

trotzig
Base the diff percentage score on `sdiff.size`

We were calculating the percentage diff score for a snapshot based on
number of changed lines divided by the max height of the before and
after image. This had the potential of making the diff larger than 100%
since the number of changed lines can actually exceed the height of any
of the images. This would be the case if there was a lot of added and
deleted lines. We are now instead using the total count of lines that
`Diff::LCS.sdiff` reports.

This had the added benefit of removing the need for the max_height
altogether.

544 of 564 relevant lines covered (96.45%)

54.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 304.1 (2.0.0) 24 Mar 2014 11:05PM UTC 0
96.45
Travis Job 304.1
2 304.2 (2.1.0) 24 Mar 2014 11:04PM UTC 0
96.45
Travis Job 304.2
Source Files on build 304
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #304
  • ae058ce8 on github
  • Prev Build on master (#303)
  • Next Build on master (#305)
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