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

ossia / score / 30317766880

28 Jul 2026 12:35AM UTC coverage: 15.321% (+0.02%) from 15.298%
30317766880

push

github

jcelerier
ci(wasm): ship the release asset with the binary uncompressed

e7a498a gzipped the binary because ci/wasm.deploy.sh pushes site/ into
the score-web git repository, which GitHub caps at 100 MiB. The release
bundle is zipped from that same site/, so the asset picked up the
compression too -- but release assets have no such limit, and
tools/create-app-wasm.sh needs the plain ossia-score.wasm.

Packaging a web app with --release continuous currently fails with
"cp: cannot stat .../ossia-score.wasm", exit 1.

The git push keeps the compressed binary. The loader picks its path
from the gzip magic rather than the file name, so either works.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VxtUwsfk4JN46WropbwfqC

30450 of 198751 relevant lines covered (15.32%)

997.54 hits per line

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

55.26
/src/plugins/score-plugin-engine/LocalTree/Device/LocalProtocolFactory.cpp
1
// This is an open source non-commercial project. Dear PVS-Studio, please check
2
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
3
#include "LocalProtocolFactory.hpp"
4

5
#include "LocalDevice.hpp"
6
#include "LocalProtocolSettingsWidget.hpp"
7

8
#include <Device/Protocol/DeviceSettings.hpp>
9

10
#include <LocalTree/Device/LocalSpecificSettings.hpp>
11
#include <LocalTree/LocalTreeDocumentPlugin.hpp>
12

13
#include <QDebug>
14
#include <QObject>
15
#include <QUrl>
16

17
namespace Device
18
{
19
class DeviceInterface;
20
class ProtocolSettingsWidget;
21
}
22
struct VisitorVariant;
23

24
namespace Protocols
25
{
26
int LocalProtocolFactory::defaultOscPort = 6666;
27
int LocalProtocolFactory::defaultWsPort = 9999;
28

29
QString LocalProtocolFactory::prettyName() const noexcept
1✔
30
{
31
  return QObject::tr("Local");
1✔
32
}
33

34
QString LocalProtocolFactory::category() const noexcept
×
35
{
36
  return StandardCategories::util;
×
37
}
38

39
QUrl LocalProtocolFactory::manual() const noexcept
×
40
{
41
  return QUrl("https://ossia.io/score-docs/devices/local-device.html");
×
42
}
43

44
Device::DeviceInterface* LocalProtocolFactory::makeDevice(
×
45
    const Device::DeviceSettings& settings, const Explorer::DeviceDocumentPlugin& plugin,
46
    const score::DocumentContext& ctx)
47
{
48
  auto doc = ctx.findPlugin<LocalTree::DocumentPlugin>();
×
49
  if(doc)
×
50
  {
51
    doc->localDevice().updateSettings(settings);
×
52
    return &doc->localDevice();
×
53
  }
54
  else
55
    return nullptr;
×
56
}
×
57

58
const Device::DeviceSettings& LocalProtocolFactory::static_defaultSettings()
1✔
59
{
60
  static Device::DeviceSettings settings = [&]() {
2✔
61
    Device::DeviceSettings s;
1✔
62
    s.protocol = static_concreteKey(); // Todo check for un-set protocol.
1✔
63
    s.name = "score";
1✔
64
    return s;
1✔
65
  }();
1✔
66

67
  LocalSpecificSettings specif;
1✔
68
  specif.oscPort = defaultOscPort;
1✔
69
  specif.wsPort = defaultWsPort;
1✔
70
  settings.deviceSpecificSettings = QVariant::fromValue(specif);
1✔
71
  return settings;
1✔
72
}
×
73

74
const Device::DeviceSettings& LocalProtocolFactory::defaultSettings() const noexcept
1✔
75
{
76
  return static_defaultSettings();
1✔
77
}
78

79
Device::ProtocolSettingsWidget* LocalProtocolFactory::makeSettingsWidget()
×
80
{
81
  return new LocalProtocolSettingsWidget;
×
82
}
×
83

84
QVariant
85
LocalProtocolFactory::makeProtocolSpecificSettings(const VisitorVariant& visitor) const
2✔
86
{
87
  return makeProtocolSpecificSettings_T<LocalSpecificSettings>(visitor);
2✔
88
}
89

90
void LocalProtocolFactory::serializeProtocolSpecificSettings(
4✔
91
    const QVariant& data, const VisitorVariant& visitor) const
92
{
93
  serializeProtocolSpecificSettings_T<LocalSpecificSettings>(data, visitor);
4✔
94
}
4✔
95

96
bool LocalProtocolFactory::checkCompatibility(
×
97
    const Device::DeviceSettings& a, const Device::DeviceSettings& b) const noexcept
98
{
99
  return true;
×
100
}
101
}
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