Viewing integration build log filesViewing integration build log filesDuring the analysis, brief build logs are available from the command line (kwbuildproject), on the console. Messages can be color coded (for example, errors appear in red) if you specify the --color option for kwbuildproject. Brief build logs contain only essential analysis information, such as the name of the build stage (for example, Compiling), and files processed. After the analysis, several log files are available from any machine that has access to the Klocwork Server in the following location: <projects_root>/projects/<project_name>/builds/<build_name>/. The most important logs stored in this location are build.log and parse_errors.log. Another important build integration log file called build_integration.log is located in the tables directory for your project. Full build logThe full build log, build.log, contains full details on the analysis. You can also access this log from Klocwork Static Code Analysis. To view the log from the latest build in Klocwork Static Code Analysis: In the Projects list, click log for any project. The log for the latest build opens in your browser. To view logs for earlier builds:
Parse errors logIf your build contains parse errors, it's critical to deal with them. An analysis that generates parse errors will not be accurate. Contact Klocwork Customer Support if your parse_errors.log file contains errors. Build integration logThe build integration log file called build_integration.log lists meaningful build integration errors that the kwbuildproject command detected during the build process. To improve analysis results, we recommend you correct any errors listed in this file. The build_integration.log file is located in the tables directory for your project, for example, D:\Klocwork\Server 18.0\samples\demosthenes\demosthenes_winbuild\kwtables4\build_integration.log. The syntax for each error in the log file is as follows, for example, KW_BI:24229983:Error:/server1/developer/space/dec4_rtd/config_xyz.cpp:4:11:"expected ';' at end of declaration". Each error entry
|