[AGENT++] For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'

Isaac Nickaein nickaein.i at gmail.com
Mon Aug 20 12:34:53 CEST 2018


Hi,

> It is possible to produce this output:

Most of the reported points are related to narrowing scope of
variables which in not that much of improvement. This suggests Agent++
is already has great code quality, at least based on cppcheck.

Nevertheless, it would be nice to have it as a safeguard. While these
tools can't guarantee much, they can detect issues which would
otherwise remain undetected in future developments.

I personally agree on using such tools to make sure the quality of
code always maintained. This could be a starting point for
incorporating more advanced tools like clang-static-analyzer
(https://clang-analyzer.llvm.org/), sanitizers (e.g.
https://en.wikipedia.org/wiki/AddressSanitizer) and even valgrind.

As a side-note, is there any plan to move the open-source parts of
Agent++ to a public repository like Github? That would make the
contribution much easier.


More information about the AGENTPP mailing list