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

briandfoy / PerlPowerTools / 10369968527 / 2
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2024 12:45PM UTC
Files 3
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

13 Aug 2024 12:43PM UTC coverage: 73.069%. Remained the same
10369968527.2

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%)

4719.28 hits per line

Source Files on job 10369968527.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10369968527
  • 940d510d on github
  • Prev Job for on master (#10369911356.2)
  • Next Job for on master (#10369968521.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