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

briandfoy / PerlPowerTools / 12379357612 / 6
62%
master: 62%

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

17 Dec 2024 06:42PM UTC coverage: 72.464%. Remained the same
12379357612.6

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

Source Files on job 12379357612.6
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12379357612
  • c878ba05 on github
  • Prev Job for on master (#12366204341.6)
  • Next Job for on master (#12379357622.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