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

DrRataplan / fontoxpath / 41027416858
91%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2026 08:38AM UTC
Jobs 1
Files 304
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

30 Oct 2026 08:34AM UTC coverage: 91.205% (+0.002%) from 91.203%
41027416858

push

github

DrRataplan
Implement proper xs:decimal support with arbitrary precision

* implement Decimal class to hold all decimals
* replace all integer / decimals with the new Decimal
* Fix decimal arithmetic, floor, ceiling, round, and related functions

- Route all decimal/integer arithmetic through Decimal for arbitrary precision
- Add Decimal.floor(), Decimal.ceiling(), Decimal.truncate() methods
- Fix fn:floor, fn:ceiling to use Decimal methods for Decimal values
- Fix fn:round, fn:round-half-to-even to use Decimal arithmetic for Decimal values
- Fix determineRoundedNumber for float/double to round half toward +infinity
- Fix array deepLessThan to compare Decimal values properly
- Fix fn:abs to handle Decimal values
- Fix fn:min, fn:max to compare Decimal values properly
- Fix promoteToType to convert Decimal to float for float/double promotion
- Fix isSameMapKey to use Decimal comparison for all numeric types
- Fix op:to to compute length with Decimal arithmetic
- Fix getEffectiveBooleanValue to handle Decimal via coerce
- Fix tryCastToType to validate decimal restrictions
- Fix fn:codepoints-to-string to convert Decimal to number
- Fix array:remove to convert Decimal indices to numbers
- Add early return in fnRound for Decimal when precision >= scale
- Update unrunnableTestCases.csv with known failures

---------

Co-authored-by: Vibe Nuage Agent <vibe@mistral.ai>
Co-authored-by: DrRataplan <DrRataplan@users.noreply.github.com>

5276 of 6160 branches covered (85.65%)

Branch coverage included in aggregate %.

335 of 374 new or added lines in 27 files covered. (89.57%)

147 existing lines in 21 files now uncovered.

11171 of 11873 relevant lines covered (94.09%)

35136.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
88.41
1.67% src/expressions/dataTypes/valueTypes/Decimal.ts
13
84.32
0.0% src/expressions/functions/builtInFunctions_numeric.ts
6
79.64
0.0% src/expressions/operators/arithmetic/BinaryOperator.ts
2
89.04
0.0% src/expressions/functions/builtInFunctions_sequences.ts
1
60.0
0.0% src/expressions/dataTypes/casting/castToDecimal.ts
1
92.34
0.0% src/expressions/dataTypes/casting/tryCastToType.ts
1
60.53
0.0% src/expressions/dataTypes/promoteToType.ts
1
89.13
0.0% src/expressions/functions/builtInFunctions_arrays.ts
1
79.03
0.0% src/expressions/operators/compares/ValueCompare.ts

Coverage Regressions

Lines Coverage ∆ File
33
79.03
0.0% src/expressions/operators/compares/ValueCompare.ts
21
89.04
0.0% src/expressions/functions/builtInFunctions_sequences.ts
16
84.32
0.0% src/expressions/functions/builtInFunctions_numeric.ts
13
79.64
0.0% src/expressions/operators/arithmetic/BinaryOperator.ts
10
89.13
0.0% src/expressions/functions/builtInFunctions_arrays.ts
8
94.01
0.0% src/expressions/functions/builtInFunctions_string.ts
6
92.34
0.0% src/expressions/dataTypes/casting/tryCastToType.ts
5
82.76
0.0% src/expressions/dataTypes/Value.ts
5
91.56
0.0% src/expressions/functions/builtInFunctions_sequences_deepEqual.ts
5
80.0
0.0% src/expressions/operators/arithmetic/BinaryEvaluationFunctionMap.ts
5
92.93
0.0% src/parsing/convertXDMReturnValue.ts
4
60.0
0.0% src/expressions/dataTypes/casting/castToDecimal.ts
4
60.53
0.0% src/expressions/dataTypes/promoteToType.ts
3
68.75
0.0% src/expressions/dataTypes/casting/castToInteger.ts
3
89.19
0.0% src/transformXPathItemToJavascriptObject.ts
1
90.91
0.0% src/expressions/dataTypes/casting/castToBoolean.ts
1
96.55
0.0% src/expressions/dataTypes/casting/castToStringLikeType.ts
1
91.67
0.0% src/expressions/literals/Literal.ts
1
95.12
0.0% src/expressions/operators/arithmetic/Unary.ts
1
94.64
0.0% src/expressions/postfix/evaluateLookup.ts
1
95.05
0.0% src/expressions/postfix/Filter.ts
Jobs
ID Job ID Ran Files Coverage
1 run- - 41027416858.1 30 Oct 2026 08:38AM UTC 304
91.21
GitHub Action Run
Source Files on build 41027416858
  • Tree
  • List 304
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3fbae3f6 on github
  • Prev Build on master (#41025011014)
  • Next Build on master (#41044072117)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc