Chrysalis - CLO3D DevTools Extension Test Coverage


integrations/clo3d/extensions/dev-tools/
File: integrations/clo3d/extensions/dev-tools/src/DevToolsExtension.cpp
Date: 2026-08-27 18:36:32
Lines:
0/29
0.0%
Functions:
0/8
0.0%
Branches:
0/16
0.0%
Decisions:
0/8
0.0%
Calls:
0/111
0.0%

Line Branch Decision Call Exec Source
1 #include "DevToolsExtension.h"
2
3 #include "ExportPatternCommand.h"
4 #include "ExportPatternCommandArgumentsWidget.h"
5 #include "LoggingTool.h"
6 #include "UIExporterTool.h"
7
8 using namespace CLO3D;
9
10
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ DevToolsExtension::~DevToolsExtension() {
11
0/2
✗ Decision 'true' not taken.
✗ Decision 'false' not taken.
0/13
✗ 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.
✗ for (const auto devTool: devTools_) {
12
0/7
✗ 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.
✗ delete devTool;
13 }
14
0/7
✗ 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.
✗ }
15
16 ✗ DevToolsExtension* DevToolsExtension::create() {
17
0/3
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ const auto devToolsExtension = new DevToolsExtension();
18
0/5
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ devToolsExtension->addDevTool(UIExporterTool::create());
19
0/5
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ devToolsExtension->addDevTool(LoggingTool::create());
20 ✗ return devToolsExtension;
21 }
22
23 ✗ void DevToolsExtension::addDevTool(BaseDevTool* tool) {
24
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ devTools_.push_back(tool);
25 ✗ }
26
27 ✗ void DevToolsExtension::startup() {
28
0/2
✗ Decision 'true' not taken.
✗ Decision 'false' not taken.
0/13
✗ 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.
✗ for (const auto devTool: devTools_) {
29
0/7
✗ 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.
✗ devTool->startup();
30 }
31 ✗ }
32
33 ✗ void DevToolsExtension::configureCommands(CommandRunner* runner) {
34
0/2
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ runner->add<ExportPatternCommand, ExportPatternCommandArguments, UI::ExportPatternCommandArgumentsWidget>();
35 ✗ }
36
37 ✗ void DevToolsExtension::configureSettings(ExtensionsSettings* extensionsSettings) {
38
0/2
✗ Decision 'true' not taken.
✗ Decision 'false' not taken.
0/13
✗ 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.
✗ for (const auto devTool: devTools_) {
39
0/7
✗ 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.
✗ devTool->configureSettings(extensionsSettings);
40 }
41 ✗ }
42
43 ✗ void DevToolsExtension::configureSettingsUI(UI::ExtensionsSettingsDialog* extensionsSettingsDialog) {
44
0/2
✗ Decision 'true' not taken.
✗ Decision 'false' not taken.
0/13
✗ 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.
✗ for (const auto devTool: devTools_) {
45
0/7
✗ 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.
✗ devTool->configureSettingsUI(extensionsSettingsDialog);
46 }
47 ✗ }
48
49 ✗ extern "C" CLO3D_EXTENSION_ENTRY BaseExtension* create() {
50
0/1
✗ Call 0 not invoked.
✗ return DevToolsExtension::create();
51 }
52