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

briandfoy / pod-perldoc / 22618984354 / 5
15%
master: 15%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2026 10:33AM UTC
Files 12
Run time 0s
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

03 Mar 2026 10:32AM UTC coverage: 15.089% (+7.3%) from 7.75%
22618984354.5

push

github

web-flow
Fix approach to pagers and terminals (#79)

* Sync all OS detection lines

* Move inspection of groff into main module (Perldoc.pm) from ToMan.pm:

The ToMan formatter would search for the groff version it has available
but based on CPAN RT #120229, we need to determine this much earlier to
decide whether to pass on to ToMan or not.

This does not make any behavioral changes (other than temporarily
removing a debug message).

* Two helper functions from Pod::Perldoc::BaseTo were moved into
  Perldoc.pm: _get_path_components() and _find_executable_in_path().
* Perldoc.pm now has a method inspect_execs() which tries to find all
  available executables of a given program. It uses data from a new
  helper function, _exec_data(). Currently only nroff is supported.
* From ToMan we removed the code for detecting nroff and instead
  incorporated them in _exec_data() or a new function
  _find_executable() -- both in Perldoc.pm.
* Perldoc.pm's _inspect_execs() now calls _find_executable(),
  _find_executable_in_path(), and _get_path_components().

ToTerm can now be switched to ToMan and everything still works as it did
before, but we are not doing this yet.

The next commit will start addressing the logic for picking ToMan
or ToTerm.

* Clean up existing logic for determining whether to use ToTerm:

This is just too much to read or figure out at once. Instead of every
possible condition (including unless !(...), which is ridiculous), it's
simply the obvious cocnditions: A set of OS's or a check on term.

If I understand this logic correctly (and I had to write some tests to
verify), it means that we are not using ToTerm for Windows, DOS,
AmigaOS, or for the recognized terms listed ("*dumb*", "*emacs*",
"*none*", and "*unknown*". The fallback is ToText. I guess that makes
sense.

* Initialize pager (and more) before formatter classes:

The formatter class will need to know which pagers have been found so it
could determine whether ToTerm is a good option.

* Onl... (continued)

220 of 1458 relevant lines covered (15.09%)

1.07 hits per line

Source Files on job 22618984354.5
  • Tree
  • List 12
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22618984354
  • 4726b4bb on github
  • Prev Job for on master (#21619790764.1)
  • Next Job for on master (#22618984356.1)
  • Delete
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