LCOV - code coverage report
Current view: top level - src/audio/effects/core - effect.cpp (source / functions) Coverage Total Hit
Test: merged.info Lines: 100.0 % 9 9
Test Date: 2026-06-07 15:51:50 Functions: 100.0 % 1 1

            Line data    Source code
       1              : #include "audio/effects/core/effect.h"
       2              : 
       3              : #include "audio/effects/core/effect_factory.h"
       4              : 
       5              : namespace Amplitron {
       6              : 
       7            3 : std::shared_ptr<Effect> Effect::clone() const {
       8            4 :     auto new_effect = EffectFactory::instance().create(type_id());
       9            3 :     if (new_effect) {
      10            3 :         new_effect->set_params(get_params());
      11            3 :         new_effect->set_enabled(enabled_);
      12            3 :         new_effect->set_mix(mix_);
      13            1 :     }
      14            3 :     return new_effect;
      15            1 : }
      16              : 
      17              : }  // namespace Amplitron
        

Generated by: LCOV version 2.0-1