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

ossia / score / 41569965004

03 Nov 2026 03:04AM UTC coverage: 53.588% (+1.9%) from 51.66%
41569965004

push

github

jcelerier
ci: build the documentation on Ubuntu 24.04, which its deps script targets

ubuntu-latest is now 26.04, where ubuntu.noble.deps.sh's Qt package names
(libqt6websockets6-dev and the like) no longer exist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KdPguhTJiZUHjuouE7tkj5

197270 of 368126 relevant lines covered (53.59%)

304198.31 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

97.06
/src/plugins/score-lib-process/Process/ApplicationPlugin.cpp
1
#include <Process/ApplicationPlugin.hpp>
2

3
#include <wobjectimpl.h>
4

5
W_OBJECT_IMPL(Process::ApplicationPlugin)
32,047 ✔
6

7
namespace Process
8
{
9

10
ApplicationPlugin::ApplicationPlugin(const score::ApplicationContext& ctx)
4,067 ✔
11
    : score::ApplicationPlugin{ctx}
4,067 ✔
12
{
4,067 ✔
13
  presets.reserve(500);
4,067 ✔
14
}
4,067 ✔
15

16
ApplicationPlugin::~ApplicationPlugin() { }
8,132 ✔
17

18
void ApplicationPlugin::addPreset(Preset&& p)
99 ✔
19
{
20
  auto it = std::lower_bound(
99 ✔
21
      presets.begin(), presets.end(), p,
99 ✔
22
      [](const auto& lhs, const auto& rhs) { return lhs.key < rhs.key; });
135 ✔
23

24
  const int row = int(it - presets.begin());
99 ✔
25
  presetAboutToBeAdded(row);
99 ✔
26
  presets.insert(it, std::move(p));
99 ✔
27
  presetAdded(row);
99 ✔
28
}
99 ✔
29

30
void ApplicationPlugin::setPresetTarget(const Process::ProcessModel* proc)
22 ✔
31
{
32
  if(proc == m_presetTarget)
22 ✔
33
    return;
9 ✔
34
  m_presetTarget = proc;
13 ✔
35
  presetTargetChanged(proc);
13 ✔
36
}
22 ✔
37

38
void ApplicationPlugin::removePreset(int index)
5 ✔
39
{
40
  if(index < 0 || index >= int(presets.size()))
5 ✔
41
    return;
×
42
  presetAboutToBeRemoved(index);
5 ✔
43
  presets.erase(presets.begin() + index);
5 ✔
44
  presetRemoved(index);
5 ✔
45
}
5 ✔
46

47
void ApplicationPlugin::clearPresets()
3,034 ✔
48
{
49
  presetsAboutToBeCleared();
3,034 ✔
50
  presets.clear();
3,034 ✔
51
  presetsCleared();
3,034 ✔
52
}
3,034 ✔
53

54
}
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