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

polserver / polserver / 16578783200
61%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2025 07:58PM UTC
Jobs 1
Files 811
Run time 2min
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

28 Jul 2025 07:48PM UTC coverage: 59.79% (+0.2%) from 59.58%
16578783200

push

github

web-flow
Short Circuit Optimizer (#797)

* first working short curcuit for && and or
creates jumps after each expressions to skip the following

* fixed valuestack when short circuit jmp does not jump

* use specialized instructions for short circuit && and ||

1: lhs
2: logical jump if false/true goto 4 <- if jmp do logical convert
3: rhs
4: logical convert
5: rest

logical convert is needed since "normal" && || operations convert isTrue
to BLong

added BObjectRef BObjectImp set specialization to remove noise

* fixed converted objimp when jump on false values

* first version of short circuit warning
should be moved to analyzer
added whitelist of module functions which have no sideeffect to reduce
the number of warnings

* moved warning visitor to analyzer and added it as extra compile step
fixed sourceline print and cache the content

* missing include, unused member

* included the correct header

* ecompile.cfg to activate and warn
ecompile cmdline arg to activate it
run all tests also with it active
fixed that only the most right side statement was checked

* ecompile cmdline

* increase ecompile version
cleanup

* compilation error

* missing header

* allow -S- to deactivate shortcircuit like the other params do

* extended whitelist functions

* revert fileformat version increase
fixed escript test cmake

* use the correct arg

* escript testoutput can now be different if shortcircuit is active

* docs

* additional test

* addressed comments

210 of 239 new or added lines in 16 files covered. (87.87%)

1 existing line in 1 file now uncovered.

43653 of 73010 relevant lines covered (59.79%)

466031.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.03
-0.34% pol-core/bscript/compiler/Compiler.cpp
1
90.91
pol-core/bscript/compiler/optimizer/BinaryOperatorShortCircuitOptimizer.cpp
2
90.48
-9.52% pol-core/bscript/compiler/file/SourceFileIdentifier.cpp
2
65.71
1.88% pol-core/bscript/compiler/file/SourceLocation.cpp
5
84.92
1.21% pol-core/bscript/executor.cpp
9
85.94
pol-core/bscript/compiler/analyzer/ShortCircuitWarning.cpp
9
18.98
-0.36% pol-core/bscript/tkn_strm.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
84.92
1.21% pol-core/bscript/executor.cpp
Jobs
ID Job ID Ran Files Coverage
1 16578783200.1 28 Jul 2025 07:58PM UTC 811
59.79
GitHub Action Run
Source Files on build 16578783200
  • Tree
  • List 811
  • Changed 36
  • Source Changed 0
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7090c648 on github
  • Prev Build on master (#16481710579)
  • Next Build on master (#16683711876)
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