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

jonasbn / perl-workflow / 355 / 1
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 20 May 2021 07:41PM UTC
Files 36
Run time 2min
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

20 May 2021 07:41PM UTC coverage: 81.672% (-0.7%) from 82.383%
355.1

push

travis-ci

GitHub
Simplify logging by removing `is_*` logging level checks before logging (#108)

* On non-interpolated logging, eliminate `is_*` checks

For non-interpolated strings, there's really no performance benefit
in checking whether the string would be logged or not: checking it
involves a single call (if there's no logging) and _not_ checking it
also involves one call (with a single parameter being passed).
In case logging *is* set to this level, the original code involves
two function calls whereas the new code still exhibits only one.

* Add indentation around log messages in line with other function calls

* Allow string interpolation while logging during initialization

During initialization, a truckload of actions are performed. It is my
expectation (to be verified) that a few string interpolations won't
make much difference in execution speed of initialization, even if the
resulting string ends up not being logged.

Two cases where logging might cause a more elaborate routine to create
the content to be logged (one call to Data::Dumper::Dumper() and the
other to 'join()' with a list of arguments) have been wrapped in a
sub{} (closure) to prevent execution when the output would not be logged.

* Allow string interpolation while logging during workflow execution

* Close #33: Add GitHub Actions support

1524 of 1866 relevant lines covered (81.67%)

35.27 hits per line

Source Files on job 355.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 265
  • Travis Job 355.1
  • d7755270 on github
  • Prev Job for on master (#861591970.1)
  • Next Job for on master (#1003296377.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