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

projecthydra-labs / hydra-works / 711
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v0.11.0
DEFAULT BRANCH: master
Ran 07 May 2016 03:10AM UTC
Jobs 1
Files 33
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
711

push

travis-ci

jeremyf
Extracting VirusCheckService from module mixin

One of the major disadvantages of module mixins is that several methods
often get defined on the object. This greatly increases the chance of
method collisions if lots of mixins are used.

So, while preserving much of the outward interface of the
`Hydra::Works::VirusCheck`'s validation, I'm extracting a collaborating
class that can do the heavy lifting against the file.

This involved a bit of additional refactoring as I was encountering
challenges with ClamAV definitions. By relying also on dependency
injection of the system virus scanner, I can more easily test each
piece of the anti-virus process in better isolation.

642 of 648 relevant lines covered (99.07%)

32.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 711.1 (2.2) 07 May 2016 03:10AM UTC 0
99.07
Travis Job 711.1
Source Files on build 711
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #711
  • c06bcf15 on github
  • Prev Build on extracting-collaborating-class (#709)
  • Next Build on extracting-collaborating-class (#713)
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