PduApi
0.0.1.0
PduApi - Toolbox
|
Quality has different aspects:
PduApi uses google-test to evaluate unit tests, functional tests and system tests. The complete tests are part of the build process and will be done before commit/checkin.
The Coverage of the Source code by tests is XX%.
Quality of Source Code is improved by compiling with following GCC Options which show all warnings and handles them like an error:
Exception from warning compile flags (point of discussions):
Exception from warning compile flags to follwing source codes:
PduApi preferes using C++11 rvalues to lvalues. This reduces memory fragmentation, which speeds up the complete application.
PduApi has not a single polling. All worker-threads are controlled by handshaking.
PduApi uses as much as possible std::<container>::reserve and std::<container>::emplace. This avoids unneeded memory allocations and unneeded copy of objects. Result is automatically a reduction of memory fragmentation.
PduApi has almost no pointer and new statements inside. It uses the new variadic template features of C++x11 and above: