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

briandfoy / PerlPowerTools / 10369968521
63%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2024 12:47PM UTC
Jobs 1
Files 3
Run time 1min
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

13 Aug 2024 12:43PM UTC coverage: 73.069% (-0.7%) from 73.805%
10369968521

push

github

web-flow
morse: leading whitespace failure (#717)

* When demonstrating the morse program to my son I found an error in decode mode; it can be reproduced like this:
%printf "\n.\n" | perl  morse -rs 
: unknown token at morse line 68, <> line 2.

* The following worked as expected, going from text2morse2text
%printf "aye\nbee\nc++\n" | perl morse -s | perl morse -r -s

* So I put on my debuggin' shoes... $line was "\n.\n", split() returns list ('', '.') and the program barfs on the empty string
* Empty string is also indicated by the "unknown token" error message with no character before the ':'
* Fix this by trimming leading whitespace before split()

350 of 479 relevant lines covered (73.07%)

4736.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10369968521.1 13 Aug 2024 12:47PM UTC 0
73.07
GitHub Action Run
Source Files on build 10369968521
Detailed source file information is not available for this build.
  • Back to Repo
  • 940d510d on github
  • Prev Build on master (#10369911356)
  • Next Build on master (#10379500773)
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