daqconf
Unit Tests
| Test | Status |
|---|---|
| Graph_test | ✅ Passed |
Clang Formatting
| File | Status |
|---|---|
| apps/GraphBuilder.cpp | ❌ Needs formatting |
| apps/GraphBuilder.hpp | ✅ Already formatted |
| apps/create_config_plot.cxx | ✅ Already formatted |
| unittest/Graph_test.cxx | ✅ Already formatted |
apps/GraphBuilder.cpp
Errors
- Line 383: Small and focused functions are preferred: GraphBuilder::calculate_network_connections() has 100 non-comment lines (error triggered by exceeding 80 lines) (disable this by putting "// NOLINT" after the function's closing brace.)
- Line 511: Small and focused functions are preferred: GraphBuilder::find_objects_and_connections() has 84 non-comment lines (error triggered by exceeding 80 lines) (disable this by putting "// NOLINT" after the function's closing brace.)
- Line 827: Small and focused functions are preferred: GraphBuilder::write_graph() has 142 non-comment lines (error triggered by exceeding 80 lines) (disable this by putting "// NOLINT" after the function's closing brace.)
- Line 853: Namespace should be terminated with '// namespace daqconf '
- Line 426: Add #include
for make_shared<> - Line 799: Add #include
for pair<>
Warnings
- Line 72: thrown exception type is not nothrow copy constructible
- Line 328: local copy 'incoming_vertex_name' of the variable 'incoming_conn' is never modified; consider avoiding the copy
- Line 359: local copy 'outgoing_vertex_name' of the variable 'outgoing_conn' is never modified; consider avoiding the copy
- Line 418: thrown exception type is not nothrow copy constructible
- Line 584: expression result unused
unittest/Graph_test.cxx
Errors
- Line 1: C-style comment syntax detected; please use either C++ style "//" or Doxygen style