iomanager
Unit Tests
| Test | Status |
|---|---|
| QueueRegistry_test | ✅ Passed |
| NetworkManager_test | ✅ Passed |
| StdDeQueue_test | ✅ Passed |
| FollyQueue_test | ✅ Passed |
| IOManager_test | ✅ Passed |
| Queue_test | ✅ Passed |
| performance_test | ✅ Passed |
| FollyQueue_metric_test | ✅ Passed |
Clang Formatting
| File | Status |
|---|---|
| include/iomanager/CommonIssues.hpp | ✅ Already formatted |
| include/iomanager/IOManager.hpp | ✅ Already formatted |
| include/iomanager/Receiver.hpp | ✅ Already formatted |
| include/iomanager/SchemaUtils.hpp | ✅ Already formatted |
| include/iomanager/Sender.hpp | ✅ Already formatted |
| include/iomanager/detail/IOManager.hxx | ❌ Needs formatting |
| include/iomanager/network/ConfigClient.hpp | ✅ Already formatted |
| include/iomanager/network/ConfigClientStructs.hpp | ✅ Already formatted |
| include/iomanager/network/NetworkIssues.hpp | ✅ Already formatted |
| include/iomanager/network/NetworkManager.hpp | ✅ Already formatted |
| include/iomanager/network/NetworkReceiverModel.hpp | ✅ Already formatted |
| include/iomanager/network/NetworkSenderModel.hpp | ✅ Already formatted |
| include/iomanager/network/detail/NetworkReceiverModel.hxx | ✅ Already formatted |
| include/iomanager/network/detail/NetworkSenderModel.hxx | ❌ Needs formatting |
| include/iomanager/queue/FollyQueue.hpp | ✅ Already formatted |
| include/iomanager/queue/Queue.hpp | ✅ Already formatted |
| include/iomanager/queue/QueueBase.hpp | ✅ Already formatted |
| include/iomanager/queue/QueueIssues.hpp | ✅ Already formatted |
| include/iomanager/queue/QueueReceiverModel.hpp | ✅ Already formatted |
| include/iomanager/queue/QueueRegistry.hpp | ✅ Already formatted |
| include/iomanager/queue/QueueSenderModel.hpp | ✅ Already formatted |
| include/iomanager/queue/StdDeQueue.hpp | ✅ Already formatted |
| include/iomanager/queue/detail/QueueReceiverModel.hxx | ❌ Needs formatting |
| include/iomanager/queue/detail/QueueRegistry.hxx | ✅ Already formatted |
| include/iomanager/queue/detail/QueueSenderModel.hxx | ✅ Already formatted |
| include/iomanager/queue/detail/StdDeQueue.hxx | ✅ Already formatted |
| src/IOManager.cpp | ✅ Already formatted |
| src/network/ConfigClient.cpp | ✅ Already formatted |
| src/network/NetworkManager.cpp | ❌ Needs formatting |
| src/queue/QueueRegistry.cpp | ✅ Already formatted |
| test/apps/config_client_test.cxx | ✅ Already formatted |
| test/apps/queue_IO_check.cxx | ✅ Already formatted |
| unittest/FollyQueue_metric_test.cxx | ✅ Already formatted |
| unittest/FollyQueue_test.cxx | ❌ Needs formatting |
| unittest/IOManager_test.cxx | ✅ Already formatted |
| unittest/NetworkManager_test.cxx | ✅ Already formatted |
| unittest/QueueRegistry_test.cxx | ✅ Already formatted |
| unittest/Queue_test.cxx | ✅ Already formatted |
| unittest/StdDeQueue_test.cxx | ✅ Already formatted |
| unittest/performance_test.cxx | ✅ Already formatted |
src/IOManager.cpp
Warnings
- Line 68: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
- Line 91: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
src/network/ConfigClient.cpp
Warnings
- Line 68: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
- Line 91: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
src/network/NetworkManager.cpp
Warnings
- Line 68: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
- Line 91: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
- Line 51: the variable 'name' is copy-constructed from a const reference but is only used as const reference; consider making it a const reference
test/apps/config_client_test.cxx
Warnings
- Line 68: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
- Line 91: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
test/apps/queue_IO_check.cxx
Warnings
- Line 111: Value stored to 'size_snapshot' during its initialization is never read
- Line 443: 'emplace_back' is called inside a loop; consider pre-allocating the container capacity before the loop
- Line 447: 'emplace_back' is called inside a loop; consider pre-allocating the container capacity before the loop
- Line 454: Value stored to 'spinlock' is never read
unittest/IOManager_test.cxx
Errors
- Line 677: C-style comment syntax detected; please use either C++ style "//" or Doxygen style
- Line 736: C-style comment syntax detected; please use either C++ style "//" or Doxygen style
- Line 772: C-style comment syntax detected; please use either C++ style "//" or Doxygen style
Warnings
- Line 68: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
- Line 91: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
unittest/NetworkManager_test.cxx
Warnings
- Line 68: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
- Line 91: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
unittest/StdDeQueue_test.cxx
Warnings
- Line 13: Call to virtual method 'StdDeQueue::get_capacity' during construction bypasses virtual dispatch
- Line 21: unused variable 'max_testable_capacity'
unittest/performance_test.cxx
Warnings
- Line 68: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined
- Line 91: narrowing conversion from 'uint32_t' (aka 'unsigned int') to signed type 'int' is implementation-defined