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

halostatue / minitar / 61 / 10
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2016 07:42PM UTC
Files 14
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

08 Nov 2016 07:39PM UTC coverage: 80.196%. First build
ruby-head, Gemfile

push

travis-ci

halostatue
No unnecessary strings on POSIX header creation

The POSIX header creation methods created a new 512-byte string of NULL
bytes just to see if the header was an empty header. This could be simplified
with a single 512-byte constant string for comparison, but a short-circuiting
comparison will be more efficient over-all. Use the #each_byte enumerator with
the #any? test method on #nonzero? (data.each_byte.any?(&:nonzero?)).

737 of 919 relevant lines covered (80.2%)

36.03 hits per line

Source Files on job 61.10 (ruby-head, Gemfile)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 61
  • Travis Job 61.10
  • 27569dfa on github
  • Next Job for ruby-head, Gemfile on master (#91.12)
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