Skip to content

render: extract object creation into ruis::render::factory (issue #190) - #192

Merged
igagis merged 11 commits into
mainfrom
ren_factory
Nov 19, 2026
Merged

igagis merged 11 commits into
mainfrom
ren_factory

Add dummy factory.cpp so the header is linted

f0a2fec
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 19, 2026 in 1s

28.54% (+0.03%) compared to 4ab8e90

View this Pull Request on Codecov

28.54% (+0.03%) compared to 4ab8e90

Details

Codecov Report

❌ Patch coverage is 38.23529% with 63 lines in your changes missing coverage. Please review.
✅ Project coverage is 28.54%. Comparing base (4ab8e90) to head (f0a2fec).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/ruis/widget/widget.cpp 32.00% 16 Missing and 1 partial ⚠️
src/ruis/paint/path_vao.cpp 0.00% 14 Missing ⚠️
src/ruis/render/renderer.cpp 61.11% 0 Missing and 7 partials ⚠️
src/ruis/res/gradient.cpp 0.00% 5 Missing ⚠️
src/ruis/res/image.cpp 0.00% 4 Missing ⚠️
src/ruis/res/nine_patch.cpp 0.00% 3 Missing ⚠️
src/ruis/res/texture_2d.cpp 0.00% 2 Missing ⚠️
src/ruis/resource_loader.hpp 33.33% 2 Missing ⚠️
src/ruis/font/texture_font.cpp 66.66% 1 Missing ⚠️
src/ruis/paint/ellipse_vao.cpp 50.00% 1 Missing ⚠️
... and 7 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   28.50%   28.54%   +0.03%     
==========================================
  Files         238      239       +1     
  Lines        8934     8941       +7     
  Branches     2785     2785              
==========================================
+ Hits         2547     2552       +5     
- Misses       6053     6055       +2     
  Partials      334      334              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.