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

trotzig / diffux / 297
96%
master: 99%

Build:
Build:
LAST BUILD BRANCH: animations
DEFAULT BRANCH: master
Ran 23 Mar 2014 09:10PM UTC
Jobs 1
Files 31
Run time 8s
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
297

push

travis-ci

lencioni
Use sdiff size instead of max height for output images

The number of rows in the resulting diff will, in many cases, be larger
than the number of rows in both the before and after images. Therefore,
we need to use this size to determine the height of the output images.
If we do not do this, the output images will not show the content all
the way to the bottom if there are any "added" or "deleted" rows.

We may want to make the before and after comparison images to use the
widths of the before and after images, in case their widths shift, but
depending on how we end up rendering these, that may not actually be
desirable.

At the same time, I changed the diff percentage calculation to use this
as well, helping to keep the diff percentage under 100%.

Change-Id: I3482016ad

547 of 566 relevant lines covered (96.64%)

25.68 hits per line

Jobs
ID Job ID Ran Files Coverage
2 297.2 (2.1.0) 23 Mar 2014 09:10PM UTC 0
96.64
Travis Job 297.2
Source Files on build 297
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #297
  • bba8a3fe on github
  • Prev Build on snapshot_comparison_image (#290)
  • Next Build on snapshot_comparison_image (#298)
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