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

ossia / score / 32297453488
62%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2026 10:24PM UTC
Jobs 1
Files 3020
Run time 5min
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

19 Aug 2026 08:14PM UTC coverage: 20.689% (+0.001%) from 20.688%
32297453488

push

github

jcelerier
score: do not cache ApplicationContext members in function-local statics

get_pixmap, get_cursor and get_image each bind a static reference to
score::AppContext().applicationSettings. AppContext() returns a reference, so
this looks safe, but the reference is initialised once, against whichever
ApplicationContext existed at the first call. Any later application instance
leaves it dangling.

That happens in the test suite, which builds and tears down an application per
test. AddressSanitizer reports it as stack-use-after-return on the read at
SetIcons.cpp:267, reached from
NodalPlacementTest -> QAction::setChecked -> ApplicationPlugin::makeGUIElements
-> setIcons -> get_pixmap.

Same class as the static factory-list lifetime fixes: a `static` that outlives
the object it points into. The lookup is cheap, so just do it per call.

2 of 3 new or added lines in 1 file covered. (66.67%)

596 existing lines in 3 files now uncovered.

44250 of 213884 relevant lines covered (20.69%)

5677.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
74.43
0.0% src/lib/score/widgets/SetIcons.cpp

Coverage Regressions

Lines Coverage ∆ File
246
4.44
-0.03% src/plugins/score-plugin-gfx/Gfx/GStreamer/GStreamerDevice.cpp
178
26.11
0.16% src/plugins/score-plugin-engine/Execution/ExecutionController.cpp
172
0.0
0.0% src/plugins/score-plugin-gfx/Gfx/Graph/ScreenNode.cpp
Jobs
ID Job ID Ran Files Coverage
1 32297453488.1 19 Aug 2026 10:24PM UTC 3020
20.69
GitHub Action Run
Source Files on build 32297453488
  • Tree
  • List 3020
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32297453488
  • bb71ca54 on github
  • Prev Build on master (#32092262946)
  • Next Build on master (#32377411675)
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