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

projecthydra-labs / hydra-works / 713 / 1
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v0.11.0
DEFAULT BRANCH: master
Ran 07 May 2016 03:12AM UTC
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

07 May 2016 03:09AM UTC coverage: 99.074%. Remained the same
2.2

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

Source Files on job 713.1 (2.2)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 713
  • Travis Job 713.1
  • 27439095 on github
  • Prev Job for 2.2 on extracting-collaborating-class (#711.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