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

polserver / polserver / 29720407616
62%

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2026 06:10AM UTC
Jobs 1
Files 853
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

20 Jul 2026 05:59AM UTC coverage: 61.394% (-0.03%) from 61.419%
29720407616

push

github

web-flow
Improve uoconvert correctness and speed (#897)

* fix old Tokuno map issue

* quick fixes

* restructure mapwriter to store files in memory until a write is needed

* add dirty flag to only flush files which changed

* change uoconvert use of mapwriter to a stack variable

* added detailed timers to uoconvert map

* precalculate lowest adjacent z so we dont need to calculate again for each tile

* syntax formatting

* read landtiles directly instead of using safe_getmapinfo

* encapsulate the solid block processing result for a single block

* make processing parallel - 5 sec to 2,7 sec for britannia

* add changelog entry

* reduce redundant per-tile work in the solid-block loop

* bucket each static block once instead of rescanning it per tile

readstatics_block() presorts a block's statics by cell in a single pass
(storage order preserved); each tile's bucket then serves directly as the
per-tile scratch, dropping the 64x whole-block rescan and the per-tile copy.
Outputs byte-identical (SHA256 gate, map+maptile, both realms).

* extract merge_shapes and flatten the water-type lookup

- the shape-consolidation loop moves verbatim into merge_shapes(), with
  its invariants and comments; ComputeSolidBlock now reads as
  collect -> filter -> sort -> merge -> emit
- DiscardedWaterTypes is snapshotted into a flat per-graphic table after
  config load; the hot per-static probe drops the tree lookup
Outputs byte-identical (SHA256 gate, map+maptile, both realms).

* name the conversion's magic numbers

MAX_LANDTILE_ID joins LANDTILE_COUNT in plib; wall height, water-discard
window and sand-over-water gap become named constexprs. Landtile classifiers become constexpr in
terrainplane.h with their id lists sourced. Outputs byte-identical.

* unify the block-index math into one helper per layout

realm_block_index (8x8 row-major: base.dat/solidx1/statics.dat),
maptile_index (64x64, rounded-up stride), and staticblock_from_coords
(client mul column-major, reused ... (continued)

513 of 641 new or added lines in 22 files covered. (80.03%)

47 existing lines in 8 files now uncovered.

45116 of 73486 relevant lines covered (61.39%)

516637.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
58
69.92
-0.29% pol-core/uoconvert/UoConvertMain.cpp
25
28.57
-5.64% pol-core/plib/uofile07.cpp
13
55.56
1.82% pol-core/plib/uofile02.cpp
12
66.67
pol-core/uoconvert/parallel.h
4
74.71
-0.63% pol-core/clib/fileutil.cpp
4
94.44
-3.94% pol-core/plib/mapwriter.cpp
3
38.74
-0.62% pol-core/plib/RawMap.cpp
3
96.0
pol-core/uoconvert/terrainplane.cpp
1
0.0
0.0% pol-core/plib/filemapserver.cpp
1
85.71
pol-core/plib/mapwriter.h
1
91.67
0.9% pol-core/plib/polfile1.cpp
1
62.12
-0.89% pol-core/plib/staticserver.cpp
1
42.93
0.0% pol-core/plib/uofile01.cpp
1
25.0
-30.74% pol-core/plib/uofile08.cpp

Coverage Regressions

Lines Coverage ∆ File
23
25.0
-30.74% pol-core/plib/uofile08.cpp
8
38.74
-0.62% pol-core/plib/RawMap.cpp
4
69.92
-0.29% pol-core/uoconvert/UoConvertMain.cpp
3
17.65
-0.61% pol-core/bscript/tkn_strm.cpp
3
28.57
0.0% pol-core/clib/iohelp.cpp
3
94.44
-3.94% pol-core/plib/mapwriter.cpp
2
28.57
-5.64% pol-core/plib/uofile07.cpp
1
55.56
1.82% pol-core/plib/uofile02.cpp
Jobs
ID Job ID Ran Files Coverage
1 29720407616.1 20 Jul 2026 06:10AM UTC 853
61.39
GitHub Action Run
Source Files on build 29720407616
  • Tree
  • List 853
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cc64a44d on github
  • Prev Build on master (#29352231943)
  • Next Build on master (#29808310540)
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