Codan is the code analysis plug-in for Eclipse
Codan is part of the CDT plugin :
You can develop your own checker by following this doc : https://wiki.eclipse.org/CDT/designs/StaticAnalysis
And you can found some example of already implemented checker on the github page : https://github.com/eclipse/cdt/tree/master/codan