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

briandfoy / PerlPowerTools / 12379357622
62%

Build:
DEFAULT BRANCH: master
Ran 17 Dec 2024 06: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

17 Dec 2024 06:42PM UTC coverage: 72.464% (-0.7%) from 73.196%
12379357622

push

github

web-flow
expr: improved parser (#879)

* 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

* Update Authors metadata

Michael Mikonos is responsible for a significant portion of the code so he gets credit too.

---------

Co-authored-by: brian d foy <briandfoy@pobox.com>

350 of 483 relevant lines covered (72.46%)

4697.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12379357622.1 17 Dec 2024 06:47PM UTC 0
72.46
GitHub Action Run
Source Files on build 12379357622
Detailed source file information is not available for this build.
  • Back to Repo
  • c878ba05 on github
  • Prev Build on master (#12366204341)
  • Next Build on master (#12397953543)
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