dfmessages
Unit Tests
| Test | Status |
|---|---|
| TriggerInhibit_test | ✅ Passed |
| DataRequest_test | ✅ Passed |
| TimeSync_test | ✅ Passed |
| TriggerRecordHeader_serialization_test | ✅ Passed |
| Fragment_serialization_test | ✅ Passed |
| TRMonRequest_test | ✅ Passed |
| TriggerDecision_test | ✅ Passed |
| TriggerDecisionToken_test | ✅ Passed |
| HSIEvent_test | ✅ Passed |
| ComponentRequest_serialization_test | ✅ Passed |
| TriggerRecord_serialization_test | ✅ Passed |
Clang Formatting
| File | Status |
|---|---|
| include/dfmessages/ComponentRequest_serialization.hpp | ✅ Already formatted |
| include/dfmessages/DataRequest.hpp | ❌ Needs formatting |
| include/dfmessages/Fragment_serialization.hpp | ❌ Needs formatting |
| include/dfmessages/HSIEvent.hpp | ❌ Needs formatting |
| include/dfmessages/SourceID_serialization.hpp | ✅ Already formatted |
| include/dfmessages/TRMonRequest.hpp | ❌ Needs formatting |
| include/dfmessages/TimeSync.hpp | ❌ Needs formatting |
| include/dfmessages/TriggerDecision.hpp | ✅ Already formatted |
| include/dfmessages/TriggerDecisionToken.hpp | ✅ Already formatted |
| include/dfmessages/TriggerInhibit.hpp | ✅ Already formatted |
| include/dfmessages/TriggerRecordHeader_serialization.hpp | ❌ Needs formatting |
| include/dfmessages/TriggerRecord_serialization.hpp | ❌ Needs formatting |
| include/dfmessages/Types.hpp | ❌ Needs formatting |
| src/Serialization.cpp | ✅ Already formatted |
| unittest/ComponentRequest_serialization_test.cxx | ✅ Already formatted |
| unittest/DataRequest_test.cxx | ✅ Already formatted |
| unittest/Fragment_serialization_test.cxx | ✅ Already formatted |
| unittest/HSIEvent_test.cxx | ✅ Already formatted |
| unittest/TRMonRequest_test.cxx | ✅ Already formatted |
| unittest/TimeSync_test.cxx | ✅ Already formatted |
| unittest/TriggerDecisionToken_test.cxx | ✅ Already formatted |
| unittest/TriggerDecision_test.cxx | ❌ Needs formatting |
| unittest/TriggerInhibit_test.cxx | ✅ Already formatted |
| unittest/TriggerRecordHeader_serialization_test.cxx | ✅ Already formatted |
| unittest/TriggerRecord_serialization_test.cxx | ✅ Already formatted |
src/Serialization.cpp
Warnings
- Line 22: nested namespaces can be concatenated
- Line 52: do not use const_cast to remove const qualifier
- Line 84: do not use const_cast to remove const qualifier
- Line 28: nested namespaces can be concatenated
- Line 55: do not use const_cast to remove const qualifier
unittest/DataRequest_test.cxx
Warnings
- Line 27: nested namespaces can be concatenated
unittest/Fragment_serialization_test.cxx
Warnings
- Line 22: nested namespaces can be concatenated
- Line 52: do not use const_cast to remove const qualifier
- Line 84: do not use const_cast to remove const qualifier
- Line 35: do not manage memory manually; consider a container or a smart pointer
- Line 38: multiple declarations in a single statement reduces readability
- Line 39: do not use pointer arithmetic
- Line 40: do not use pointer arithmetic
- Line 40: do not use pointer arithmetic
- Line 41: do not use pointer arithmetic
- Line 41: do not use pointer arithmetic
- Line 42: do not use pointer arithmetic
- Line 42: do not use pointer arithmetic
- Line 61: do not use pointer arithmetic
- Line 63: do not use pointer arithmetic
- Line 65: do not use pointer arithmetic
- Line 76: do not manage memory manually; consider a container or a smart pointer
- Line 79: multiple declarations in a single statement reduces readability
- Line 80: do not use pointer arithmetic
- Line 81: do not use pointer arithmetic
- Line 81: do not use pointer arithmetic
- Line 82: do not use pointer arithmetic
- Line 82: do not use pointer arithmetic
- Line 83: do not use pointer arithmetic
- Line 83: do not use pointer arithmetic
- Line 102: do not use pointer arithmetic
- Line 104: do not use pointer arithmetic
- Line 106: do not use pointer arithmetic
- Line 117: do not manage memory manually; consider a container or a smart pointer
- Line 120: multiple declarations in a single statement reduces readability
- Line 121: do not use pointer arithmetic
- Line 122: do not use pointer arithmetic
- Line 122: do not use pointer arithmetic
- Line 123: do not use pointer arithmetic
- Line 123: do not use pointer arithmetic
- Line 124: do not use pointer arithmetic
- Line 124: do not use pointer arithmetic
- Line 143: do not use pointer arithmetic
- Line 145: do not use pointer arithmetic
- Line 147: do not use pointer arithmetic
- Line 158: do not manage memory manually; consider a container or a smart pointer
- Line 161: multiple declarations in a single statement reduces readability
- Line 162: do not use pointer arithmetic
- Line 163: do not use pointer arithmetic
- Line 163: do not use pointer arithmetic
- Line 164: do not use pointer arithmetic
- Line 164: do not use pointer arithmetic
- Line 165: do not use pointer arithmetic
- Line 165: do not use pointer arithmetic
- Line 184: do not use pointer arithmetic
- Line 186: do not use pointer arithmetic
- Line 188: do not use pointer arithmetic
unittest/HSIEvent_test.cxx
Warnings
- Line 27: nested namespaces can be concatenated
unittest/TRMonRequest_test.cxx
Warnings
- Line 27: nested namespaces can be concatenated
unittest/TimeSync_test.cxx
Warnings
- Line 27: nested namespaces can be concatenated
unittest/TriggerDecisionToken_test.cxx
Warnings
- Line 27: nested namespaces can be concatenated
unittest/TriggerDecision_test.cxx
Warnings
- Line 27: nested namespaces can be concatenated
unittest/TriggerInhibit_test.cxx
Warnings
- Line 27: nested namespaces can be concatenated
unittest/TriggerRecordHeader_serialization_test.cxx
Warnings
- Line 28: nested namespaces can be concatenated
- Line 55: do not use const_cast to remove const qualifier
- Line 63: do not manage memory manually; consider a container or a smart pointer
- Line 67: do not use const_cast to remove const qualifier
- Line 109: do not manage memory manually; use RAII
unittest/TriggerRecord_serialization_test.cxx
Warnings
- Line 22: nested namespaces can be concatenated
- Line 52: do not use const_cast to remove const qualifier
- Line 84: do not use const_cast to remove const qualifier
- Line 28: nested namespaces can be concatenated
- Line 55: do not use const_cast to remove const qualifier
- Line 32: nested namespaces can be concatenated
- Line 63: do not use pointer arithmetic
- Line 66: do not use pointer arithmetic
- Line 102: do not use pointer arithmetic
- Line 105: do not use pointer arithmetic
- Line 58: do not manage memory manually; consider a container or a smart pointer
- Line 61: multiple declarations in a single statement reduces readability
- Line 62: do not use pointer arithmetic
- Line 63: do not use pointer arithmetic
- Line 63: do not use pointer arithmetic
- Line 64: do not use pointer arithmetic
- Line 64: do not use pointer arithmetic
- Line 65: do not use pointer arithmetic
- Line 65: do not use pointer arithmetic
- Line 67: do not manage memory manually; consider a container or a smart pointer
- Line 71: multiple declarations in a single statement reduces readability
- Line 72: multiple declarations in a single statement reduces readability
- Line 73: do not use pointer arithmetic
- Line 74: do not use pointer arithmetic
- Line 74: do not use pointer arithmetic
- Line 75: do not use pointer arithmetic
- Line 75: do not use pointer arithmetic
- Line 76: do not use pointer arithmetic
- Line 76: do not use pointer arithmetic
- Line 77: do not use pointer arithmetic
- Line 77: do not use pointer arithmetic
- Line 78: do not use pointer arithmetic
- Line 78: do not use pointer arithmetic
- Line 79: do not use pointer arithmetic
- Line 79: do not use pointer arithmetic
- Line 80: do not use pointer arithmetic
- Line 80: do not use pointer arithmetic
- Line 113: do not use pointer arithmetic
- Line 116: do not use pointer arithmetic
- Line 119: do not use pointer arithmetic
- Line 122: do not use pointer arithmetic
- Line 126: do not use pointer arithmetic
- Line 129: do not use pointer arithmetic
- Line 132: do not use pointer arithmetic
- Line 135: do not use pointer arithmetic
- Line 138: do not use pointer arithmetic
- Line 141: do not use pointer arithmetic
- Line 144: do not use pointer arithmetic
- Line 147: do not use pointer arithmetic
- Line 182: do not manage memory manually; consider a container or a smart pointer
- Line 185: multiple declarations in a single statement reduces readability
- Line 186: do not use pointer arithmetic
- Line 187: do not use pointer arithmetic
- Line 187: do not use pointer arithmetic
- Line 188: do not use pointer arithmetic
- Line 188: do not use pointer arithmetic
- Line 189: do not use pointer arithmetic
- Line 189: do not use pointer arithmetic
- Line 191: do not manage memory manually; consider a container or a smart pointer
- Line 195: multiple declarations in a single statement reduces readability
- Line 196: multiple declarations in a single statement reduces readability
- Line 197: do not use pointer arithmetic
- Line 198: do not use pointer arithmetic
- Line 198: do not use pointer arithmetic
- Line 199: do not use pointer arithmetic
- Line 199: do not use pointer arithmetic
- Line 200: do not use pointer arithmetic
- Line 200: do not use pointer arithmetic
- Line 201: do not use pointer arithmetic
- Line 201: do not use pointer arithmetic
- Line 202: do not use pointer arithmetic
- Line 202: do not use pointer arithmetic
- Line 203: do not use pointer arithmetic
- Line 203: do not use pointer arithmetic
- Line 204: do not use pointer arithmetic
- Line 204: do not use pointer arithmetic
- Line 237: do not use pointer arithmetic
- Line 240: do not use pointer arithmetic
- Line 243: do not use pointer arithmetic
- Line 246: do not use pointer arithmetic
- Line 250: do not use pointer arithmetic
- Line 253: do not use pointer arithmetic
- Line 256: do not use pointer arithmetic
- Line 259: do not use pointer arithmetic
- Line 262: do not use pointer arithmetic
- Line 265: do not use pointer arithmetic
- Line 268: do not use pointer arithmetic
- Line 271: do not use pointer arithmetic
- Line 306: do not manage memory manually; consider a container or a smart pointer
- Line 309: multiple declarations in a single statement reduces readability
- Line 310: do not use pointer arithmetic
- Line 311: do not use pointer arithmetic
- Line 311: do not use pointer arithmetic
- Line 312: do not use pointer arithmetic
- Line 312: do not use pointer arithmetic
- Line 313: do not use pointer arithmetic
- Line 313: do not use pointer arithmetic
- Line 315: do not manage memory manually; consider a container or a smart pointer
- Line 319: multiple declarations in a single statement reduces readability
- Line 320: multiple declarations in a single statement reduces readability
- Line 321: do not use pointer arithmetic
- Line 322: do not use pointer arithmetic
- Line 322: do not use pointer arithmetic
- Line 323: do not use pointer arithmetic
- Line 323: do not use pointer arithmetic
- Line 324: do not use pointer arithmetic
- Line 324: do not use pointer arithmetic
- Line 325: do not use pointer arithmetic
- Line 325: do not use pointer arithmetic
- Line 326: do not use pointer arithmetic
- Line 326: do not use pointer arithmetic
- Line 327: do not use pointer arithmetic
- Line 327: do not use pointer arithmetic
- Line 328: do not use pointer arithmetic
- Line 328: do not use pointer arithmetic
- Line 361: do not use pointer arithmetic
- Line 364: do not use pointer arithmetic
- Line 367: do not use pointer arithmetic
- Line 370: do not use pointer arithmetic
- Line 374: do not use pointer arithmetic
- Line 377: do not use pointer arithmetic
- Line 380: do not use pointer arithmetic
- Line 383: do not use pointer arithmetic
- Line 386: do not use pointer arithmetic
- Line 389: do not use pointer arithmetic
- Line 392: do not use pointer arithmetic
- Line 395: do not use pointer arithmetic
- Line 430: do not manage memory manually; consider a container or a smart pointer
- Line 433: multiple declarations in a single statement reduces readability
- Line 434: do not use pointer arithmetic
- Line 435: do not use pointer arithmetic
- Line 435: do not use pointer arithmetic
- Line 436: do not use pointer arithmetic
- Line 436: do not use pointer arithmetic
- Line 437: do not use pointer arithmetic
- Line 437: do not use pointer arithmetic
- Line 439: do not manage memory manually; consider a container or a smart pointer
- Line 443: multiple declarations in a single statement reduces readability
- Line 444: multiple declarations in a single statement reduces readability
- Line 445: do not use pointer arithmetic
- Line 446: do not use pointer arithmetic
- Line 446: do not use pointer arithmetic
- Line 447: do not use pointer arithmetic
- Line 447: do not use pointer arithmetic
- Line 448: do not use pointer arithmetic
- Line 448: do not use pointer arithmetic
- Line 449: do not use pointer arithmetic
- Line 449: do not use pointer arithmetic
- Line 450: do not use pointer arithmetic
- Line 450: do not use pointer arithmetic
- Line 451: do not use pointer arithmetic
- Line 451: do not use pointer arithmetic
- Line 452: do not use pointer arithmetic
- Line 452: do not use pointer arithmetic
- Line 485: do not use pointer arithmetic
- Line 488: do not use pointer arithmetic
- Line 491: do not use pointer arithmetic
- Line 494: do not use pointer arithmetic
- Line 498: do not use pointer arithmetic
- Line 501: do not use pointer arithmetic
- Line 504: do not use pointer arithmetic
- Line 507: do not use pointer arithmetic
- Line 510: do not use pointer arithmetic
- Line 513: do not use pointer arithmetic
- Line 516: do not use pointer arithmetic
- Line 519: do not use pointer arithmetic