...
Once you have a Kiuwan account, proceed to download Kiuwan Local Analyzer Deprecated. If you have already downloaded the analyzer, but you cannot find a development folder, please upgrade or reinstall the Kiuwan Local Analyzer.
...
- Click on the "New" button. The new rule dialog will appear.
- We will create a rule to check the usage of System.out.print* methods in Java language, so we fill the fields conveniently.
- Fill the "Definition", "Configuration" and "Relations" fields with values that fit the rule purpose.
- Fill the "Code examples" text areas with an example of the violation the rule will detect and how to fix it.
- Once the fields are filled, click "Generate code template" to generate rule class implementation basic structure and then click the "Save" button to generate rule descriptor.
Step | Screenshot |
---|---|
2a. | |
2b. | |
3. |
After saving the rule, two files will be created:
...
The next step is to run Kiuwan Local Analyzer and analyze your application. If you need more information on this topic, please read the Kiuwan Local Analyzer Deprecated page.
We will use a test application made of two Java classes. One with a rule violation, one with no violations. We will call this application "Test application".
...