Klocwork Insight Documentation
From current
(Redirected from
Main Page)
Insight 9.6
To get developers up and running fast, you need to set up a project on the Klocwork Server and connect local projects to it. Developers can then analyze code on their desktops within the context of your software system and prevent the introduction of new defects. At this point, you're also ready to assess the current health of your code with our reporting tools. Here's how to get started:
|
|
|
| Quick-start: Integration build
|
| Quick-start: Desktop
|
|
Install servers and build tools
- Download the Server and User packages from our Downloads page.
- Install the Server package.
- Copy your license file to the licenses subdirectory of your projects_root.
- Start the servers:
- kwservice -r /space/projects_root start
Details: Windows | Unix | Mac
Analyze your integration build
- Create a project:
- kwadmin --url http://server2:8080/ create-project my_project
- Capture your build settings:
- kwinject make
- Analyze the project:
- kwbuildproject --url http://server2:8080/my_project -o my_tables kwinject.out
- Load your results into the database:
- kwadmin --url http://server2:8080/ load my_project my_tables
Details: C/C++ | C# | Java
View analysis results
- Log in to Klocwork Review at
- http://server2:8080/review
- The Projects list appears. Click Reports and you'll see the Summary report.
- Click the Top 10 Issues report to see the most common types of issues in your project.
- Click any segment in the pie chart and you'll get a list of issues.
- Double-click any issue in the list to investigate it.
Details: Investigating issues
|
- Install desktop tools. Windows | Unix | Mac
- Set up a local project:
- kwcheck create --url http://server2:8080/my_project
- Capture your build settings:
- kwshell
- make
- Analyze your code:
- kwcheck run
- View detected issues:
- kwcheck list -F detailed
Details: Visual Studio | Eclipse C/C++ | Other C/C++ | Eclipse Java | IntelliJ IDEA | Other Java
|
|
|
|
Once you've completed your first analysis, here are the critical next steps:
|
|