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

KarpelesLab / goro / 25815050065
13%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 05:22PM UTC
Jobs 1
Files 398
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

13 May 2026 05:21PM UTC coverage: 12.051% (-0.03%) from 12.085%
25815050065

push

github

MagicalTux
vm: int-int fast paths for OpDiv, OpMod, OpBitAnd/Or/Xor, OpShl, OpShr

Same pattern as OpAdd/OpSub/OpMul: when both operands are ZtInt,
compute inline and skip the generic OperatorMath / OperatorMathLogic
dispatch (which constructs a phpv.Val interface, GMP-overload
checks, etc.). Mixed types still go through the generic path.

Each fast path includes the corresponding guard:
* OpDiv: bi != 0; if ai/bi has a remainder or hits the
  math.MinInt64/-1 overflow, fall through to opDiv (produces float).
* OpMod: bi != 0; MinInt64 % -1 falls through (operatorMathLogic
  returns ZInt(0) for that case but goes via the generic path).
* OpShl/OpShr: bi >= 0; bi >= 64 produces 0 / sign-extension as
  per PHP semantics.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

35 of 41 new or added lines in 1 file covered. (85.37%)

63 existing lines in 3 files now uncovered.

13944 of 115709 relevant lines covered (12.05%)

2453.41 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
66.38
0.1% core/vm/vm.go

Coverage Regressions

Lines Coverage ∆ File
37
23.02
-2.1% core/compiler/run-operator.go
21
42.86
-23.08% core/vm/ops_arith.go
5
54.75
-1.1% core/compiler/dispatch.go
Jobs
ID Job ID Ran Files Coverage
1 25815050065.1 13 May 2026 05:22PM UTC 398
12.05
GitHub Action Run
Source Files on build 25815050065
  • Tree
  • List 398
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25815050065
  • e1aa5e3d on github
  • Prev Build on master (#25814880997)
  • Next Build on master (#25815143155)
  • 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