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

mknos / PerlPowerTools / 12369706157
72%
master: 62%

Build:
Build:
LAST BUILD BRANCH: head-nplus
DEFAULT BRANCH: master
Ran 17 Dec 2024 09:08AM 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

17 Dec 2024 09:05AM UTC coverage: 72.464%. Remained the same
12369706157

push

github

web-flow
expr: improved parser

* The old expression parser didn't work for some basic expressions I tested, and it was a bit difficult to debug because everything happened in the one evaluate() function
* Replace the code with a parser based on the OpenBSD version
* Parsing different operator priorities is delegated to different functions so overall this is a little clearer
* Add COPYRIGHT and AUTHOR sections in pod

%perl expr \( 1 \+ 1 \) \* 200
400
%perl expr "true" '&' ''
0
%perl expr 0 '|' 'true'
true
%perl expr 2 '*' 3 '+' 4
10
%perl expr 2 '+' 3 '*' 4
14
%perl expr "hotel" \: "ho"
2
%perl expr "hotel" \: "tel" # no match: regex is implicitly tied to start of string
0

350 of 483 relevant lines covered (72.46%)

4697.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12369706157.1 17 Dec 2024 09:08AM UTC 0
72.46
GitHub Action Run
Source Files on build 12369706157
Detailed source file information is not available for this build.
  • Back to Repo
  • e553e129 on github
  • Prev Build on master (#12369561947)
  • Next Build on expr-new (#12379349872)
  • 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