![]() Warning V595 The 'pResult' pointer was utilized before it was verified against nullptr. To view the analyzer report, I ran the plog-converter in the following way: $ plog-converter -a GA:1,2 -t tasklist -o /path/to/codelite.tasksĪfter this command, I got a codelite.tasks in the specified directory, which I opened with Qt Creator. To get useful information from it, I used the plog-converter utility that is a part of PVS-Studio distribution kit. ![]() Īfter the project was successfully built, I started the analysis: $ pvs-studio-analyzer analyze -cfg /path/to/PVS-Studio.cfg -j4Īs a result, I got the file PVS-Studio.log through the specified path in PVS-Studio.cfg. $ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=On. Since CodeLite is a cmake project, I used the cmake utility for building with the flag that is necessary for further work with the analyzer. Then I created a simple config file - PVS-Studio.cfg - where I wrote the following: exclude-path = /usr/include/ To do the check quickly and start analyzing the errors, I decided to use the second method.įirst, I downloaded the source code of the project. The analyzer can be used in two ways: integrated into a build system (considered the best way) or used as a utility pvs-studio-analyzer. Let me briefly tell you about the workflow.īefore starting my work, I read the instructions on running and using PVS-Studio for Linux. To do the check I used PVS-Studio for Linux. The source code of CodeLite is available on GitHub The analysis results Codelite, being well developed and debugged, can be used as a development platform.ĬodeLite's modern versions also support projects on PHP and Node.js. To comply with the spirit of open source software, CodeLite is compiled and debugged exclusively with free tools (MinGW and GDB).ĬodeLite features: project management, code completion (ctags + clang), code refactoring, syntax highlighting, integration into Subversion and Git, Cscope integration, UnitTest++ integration, an interactive debugger built over GDB, and a powerful source code editor (based on Scintilla).Ĭodelite is distributed under the GNU General Public License v2 or later. CodeLite is a free, open source, cross platform C,C++,PHP, and Node.js IDE, which uses the wxWidgets toolkit. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |