Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Integrating with Structure101

Structure101 is a third-party code visualization and organization tool that helps you to improve the organization and structure of your codebase. By visualizing your codebase, you can not only understand your code better and decrease its complexity, you can also measure your improvements and compare your progress over time.

Klocwork integrates with Structure101 (via the kwstruct101 command) by generating Structure 101 archive files from the raw output of your analysis. You can import the archive files directly into Structure101. You should run kwstruct101 on the output of your analysis regularly, and you should take the time to view the project in Structure101 as part of your ongoing analysis work. Decreasing the complexity of your codebase goes a long way towards improving the overall reliability of your application.

Structure101 is available for download from the Klocwork Developer Network.

Note: You must download the Structure101 installer from https://developer.klocwork.com/support/downloads/. This installer was created specifically for use with Klocwork. Contact Customer Support for product licensing information.

To generate a Structure101 project:

  1. Perform your integration build analysis, or perform an incremental analysis on your codebase.
  2. Run the kwstruct101 command specifying the tables directory in your project source tree. The tables directory is generated as part of the analysis.
    In the following example, the kwstruct101 command takes the tables folder as input and generates a structure101 archive file calledmy_proj.kw
     kwstruct101 --tables-directory "C:\my_projects\npp\tables" --license-host lic_server --output my_proj.kw
    
  3. In Structure101, click File > New, then in the New Project dialog, in the KW file: field, specify the location of the generated archive file that you just created. Follow the steps in the wizard to create the new project.

Remember to run your incremental analysis frequently and use kwstruct101 to generate a new structure101 archive file. Take the time to view your generated project file in Structure101 in order to monitor the organization of your project.

For more information about Structure101, see the Structure101 Documentation.