静态代码检查工具,可以检查一些潜在的代码错误CppcheckisastaticanalysistoolforC/C++code.Itprovidesuniquecodeanalysistodetectbugsandfocusesondetectingundefinedbehaviouranddangerouscodingconstructs.Thegoalistodetectonlyrealerrorsinthecode(i.e.haveveryfewfalsepositives).