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

ossia / score / 40987115292

30 Oct 2026 01:27AM UTC coverage: 51.229% (+2.1%) from 49.178%
40987115292

push

github

jcelerier
avendish: main

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

179452 of 350293 relevant lines covered (51.23%)

175809.48 hits per line

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

97.83
/src/plugins/score-plugin-fx/score_plugin_fx.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

4
#if defined(_MSC_VER)
5
#if !defined(WIN32_LEAN_AND_MEAN)
6
#define WIN32_LEAN_AND_MEAN
7
#endif
8
#if !defined(NOMINMAX)
9
#define NOMINMAX
10
#endif
11
#include <windows.h>
12
#endif
13

14
#include "score_plugin_fx.hpp"
15

16
#include <Fx/AngleNode.hpp>
17
#include <Fx/Arpeggiator.hpp>
18
#include <Fx/Arpeggiator_v2.hpp>
19
#include <Fx/Arraygen.hpp>
20
#include <Fx/Arraymap.hpp>
21
#include <Fx/Chord.hpp>
22
#include <Fx/ClassicalBeat.hpp>
23
#include <Fx/EmptyMapping.hpp>
24
#include <Fx/Envelope.hpp>
25
#include <Fx/LFO.hpp>
26
#include <Fx/LFO_v2.hpp>
27
#include <Fx/LFO_v3.hpp>
28
#include <Fx/Looper/AudioLooper.hpp>
29
#include <Fx/Looper/MidiLooper.hpp>
30
#include <Fx/Looper/ValueLooper.hpp>
31
#include <Fx/MathAudioFilter.hpp>
32
#include <Fx/MathAudioGenerator.hpp>
33
#include <Fx/MathGenerator.hpp>
34
#include <Fx/MathValueFilter.hpp>
35
#include <Fx/Metro.hpp>
36
#include <Fx/Metro_v2.hpp>
37
#include <Fx/MicroMapping.hpp>
38
#include <Fx/MidiHiRes.hpp>
39
#include <Fx/MidiToArray.hpp>
40
#include <Fx/MidiUtil.hpp>
41
#include <Fx/PitchToValue.hpp>
42
#include <Fx/Quantifier.hpp>
43
#include <Fx/Quantifier_v2.hpp>
44
#include <Fx/RateLimiter.hpp>
45
#include <Fx/RateLimiter_v2.hpp>
46
#include <Fx/Smooth.hpp>
47
#include <Fx/Smooth_v2.hpp>
48
#include <Fx/VelToNote.hpp>
49
/*
50
#include <Fx/FactorOracle.hpp>
51
#include <Fx/FactorOracle2.hpp>
52
#include <Fx/FactorOracle2MIDI.hpp>
53
#include <Fx/MathMapping.hpp>
54
#include <Fx/TestNode.hpp>
55
#if defined(SCORE_DEBUG)
56
#include <Fx/DebugFx.hpp>
57
#endif
58

59
*/
60

61
#include <score/plugins/FactorySetup.hpp>
62

63
#include <Avnd/Factories.hpp>
64

65
#include <score_plugin_engine.hpp>
66
score_plugin_fx::score_plugin_fx() = default;
619 ✔
67
score_plugin_fx::~score_plugin_fx() = default;
619 ✔
68

69
std::vector<score::InterfaceBase*> score_plugin_fx::factories(
158,520 ✔
70
    const score::ApplicationContext& ctx, const score::InterfaceKey& key) const
71
{
72
  std::vector<score::InterfaceBase*> fx;
158,520 ✔
73
  oscr::instantiate_fx<Nodes::Direction>(fx, ctx, key);
158,520 ✔
74
  oscr::instantiate_fx<Nodes::Arpeggiator::Node>(fx, ctx, key);
158,520 ✔
75
  oscr::instantiate_fx<Nodes::Arpeggiator::v2::Node>(fx, ctx, key);
158,520 ✔
76
  oscr::instantiate_fx<Nodes::Chord::Node>(fx, ctx, key);
158,520 ✔
77
  oscr::instantiate_fx<Nodes::ClassicalBeat::Node>(fx, ctx, key);
158,520 ✔
78
  oscr::instantiate_fx<Nodes::EmptyValueMapping::Node>(fx, ctx, key);
158,520 ✔
79
  oscr::instantiate_fx<Nodes::EmptyMidiMapping::Node>(fx, ctx, key);
158,520 ✔
80
  oscr::instantiate_fx<Nodes::EmptyAudioMapping::Node>(fx, ctx, key);
158,520 ✔
81
  oscr::instantiate_fx<Nodes::Envelope::Node>(fx, ctx, key);
158,520 ✔
82
  oscr::instantiate_fx<Nodes::PulseToNote::Node>(fx, ctx, key);
158,520 ✔
83
  oscr::instantiate_fx<Nodes::LFO::v1::Node>(fx, ctx, key);
158,520 ✔
84
  oscr::instantiate_fx<Nodes::LFO::v2::Node>(fx, ctx, key);
158,520 ✔
85
  oscr::instantiate_fx<Nodes::LFO::v3::Node>(fx, ctx, key);
158,520 ✔
86
  oscr::instantiate_fx<Nodes::MidiHiRes::Input>(fx, ctx, key);
158,520 ✔
87
  oscr::instantiate_fx<Nodes::MidiHiRes::Output>(fx, ctx, key);
158,520 ✔
88
  oscr::instantiate_fx<Nodes::MidiUtil::Node>(fx, ctx, key);
158,520 ✔
89
  oscr::instantiate_fx<Nodes::MidiToArray::Node>(fx, ctx, key);
158,520 ✔
90
  oscr::instantiate_fx<Nodes::Metro::Node>(fx, ctx, key);
158,520 ✔
91
  oscr::instantiate_fx<Nodes::Metro::v2::Node>(fx, ctx, key);
158,520 ✔
92
  oscr::instantiate_fx<Nodes::Quantifier::Node>(fx, ctx, key);
158,520 ✔
93
  oscr::instantiate_fx<Nodes::Quantifier::v2::Node>(fx, ctx, key);
158,520 ✔
94

95
  oscr::instantiate_fx<Nodes::MathGenerator::Node>(fx, ctx, key);
158,520 ✔
96
  oscr::instantiate_fx<Nodes::MathAudioGenerator::Node>(fx, ctx, key);
158,520 ✔
97
  oscr::instantiate_fx<Nodes::MathMapping::Node>(fx, ctx, key);
158,520 ✔
98
  oscr::instantiate_fx<Nodes::MicroMapping::Node>(fx, ctx, key);
158,520 ✔
99
  oscr::instantiate_fx<Nodes::ArrayGenerator::Node>(fx, ctx, key);
158,520 ✔
100
  oscr::instantiate_fx<Nodes::ArrayMapping::Node>(fx, ctx, key);
158,520 ✔
101
  oscr::instantiate_fx<Nodes::MathAudioFilter::Node>(fx, ctx, key);
158,520 ✔
102

103
  //oscr::instantiate_fx<Nodes::FactorOracle::Node>(fx, ctx, key);
104
  //oscr::instantiate_fx<Nodes::FactorOracle2::Node>(fx, ctx, key);
105
  //oscr::instantiate_fx<Nodes::FactorOracle2MIDI::Node>(fx, ctx, key);
106
  oscr::instantiate_fx<Nodes::PitchToValue::Node>(fx, ctx, key);
158,520 ✔
107
  oscr::instantiate_fx<Nodes::Smooth::v1::Node>(fx, ctx, key);
158,520 ✔
108
  oscr::instantiate_fx<Nodes::Smooth::v2::Node>(fx, ctx, key);
158,520 ✔
109
  oscr::instantiate_fx<Nodes::RateLimiter::Node>(fx, ctx, key);
158,520 ✔
110
  oscr::instantiate_fx<Nodes::RateLimiter::v2::Node>(fx, ctx, key);
158,520 ✔
111
  oscr::instantiate_fx<Nodes::AudioLooper::Node>(fx, ctx, key);
158,520 ✔
112
  oscr::instantiate_fx<Nodes::MidiLooper::Node>(fx, ctx, key);
158,520 ✔
113
  oscr::instantiate_fx<Nodes::ValueLooper::Node>(fx, ctx, key);
158,520 ✔
114

115
#if defined(SCORE_DEBUG)
116
  //oscr::instantiate_fx<Nodes::Debug::Node>(fx, ctx, key);
117
#endif
118
  return fx;
158,520 ✔
119
}
158,520 ✔
120

121
auto score_plugin_fx::required() const -> std::vector<score::PluginKey>
3,963 ✔
122
{
123
  return {score_plugin_engine::static_key()};
3,963 ✔
124
}
×
125

126
#include <score/plugins/PluginInstances.hpp>
127
SCORE_EXPORT_PLUGIN(score_plugin_fx)
3,963 ✔
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