Chrysalis - CLO3D Qt Designer plugin Test Coverage


integrations/clo3d/tools/qt-designer-plugin/
File: integrations/clo3d/tools/qt-designer-plugin/src/WidgetPlugin.cpp
Date: 2026-08-27 18:34:54
Lines:
0/17
0.0%
Functions:
0/8
0.0%
Branches:
0/28
0.0%
Decisions:
0/0
-%
Calls:
0/83
0.0%

Line Branch Decision Call Exec Source
1 #include "WidgetPlugin.h"
2
3 #include "Logging.h"
4 #define LOGGER_NAME "Designer Plugin"
5
6 using namespace CLO3D::UI;
7
8 ✗ QString WidgetPlugin::name() const {
9
0/29
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
✗ Call 13 not invoked.
✗ Call 14 not invoked.
✗ Call 17 not invoked.
✗ Call 20 not invoked.
✗ Call 21 not invoked.
✗ Call 22 not invoked.
✗ Call 25 not invoked.
✗ Call 26 not invoked.
✗ Call 29 not invoked.
✗ Call 30 not invoked.
✗ Call 31 not invoked.
✗ Call 32 not invoked.
✗ Call 33 not invoked.
✗ Call 34 not invoked.
✗ Call 35 not invoked.
✗ Call 36 not invoked.
✗ Call 37 not invoked.
✗ Call 38 not invoked.
✗ return QString(this->metaObject()->className()).remove("Plugin");
10 }
11
12 ✗ QString WidgetPlugin::group() const {
13
0/1
✗ Call 0 not invoked.
✗ return "Other";
14 }
15
16 ✗ QString WidgetPlugin::toolTip() const {
17
0/1
✗ Call 0 not invoked.
✗ return {};
18 }
19
20 ✗ QString WidgetPlugin::whatsThis() const {
21
0/1
✗ Call 0 not invoked.
✗ return {};
22 }
23
24 ✗ QString WidgetPlugin::includeFile() const {
25
0/31
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
✗ Call 13 not invoked.
✗ Call 14 not invoked.
✗ Call 17 not invoked.
✗ Call 20 not invoked.
✗ Call 21 not invoked.
✗ Call 22 not invoked.
✗ Call 25 not invoked.
✗ Call 26 not invoked.
✗ Call 29 not invoked.
✗ Call 30 not invoked.
✗ Call 33 not invoked.
✗ Call 34 not invoked.
✗ Call 35 not invoked.
✗ Call 36 not invoked.
✗ Call 37 not invoked.
✗ Call 38 not invoked.
✗ Call 39 not invoked.
✗ Call 40 not invoked.
✗ Call 41 not invoked.
✗ Call 42 not invoked.
✗ return QString(this->metaObject()->className()).remove("Plugin").append(".h");
26 }
27
28 ✗ QIcon WidgetPlugin::icon() const {
29
0/1
✗ Call 0 not invoked.
✗ return {};
30 }
31
32 ✗ bool WidgetPlugin::isContainer() const {
33 ✗ return false;
34 }
35
36 ✗ void WidgetPlugin::initialize(QDesignerFormEditorInterface *core) {
37
0/19
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 8 not invoked.
✗ Call 9 not invoked.
✗ Call 10 not invoked.
✗ Call 11 not invoked.
✗ Call 12 not invoked.
✗ Call 15 not invoked.
✗ Call 16 not invoked.
✗ Call 19 not invoked.
✗ Call 20 not invoked.
✗ Call 23 not invoked.
✗ Call 24 not invoked.
✗ LOG_INFO("Initializing custom \"{}\" widget.", this->metaObject()->className());
38 ✗ }
39