Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...

  1. Click on the "New" button. The new rule dialog will appear.
  2. We will create a rule to check the usage of System.out.print* methods in Java language, so we fill the fields conveniently.
    1. Fill the "Definition", "Configuration" and "Relations" fields with values that fit the rule purpose.
    2. Fill the "Code examples" text areas with an example of the violation the rule will detect and how to fix it.
  3. 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.
StepScreenshot
2a.Image Removed

Image AddedImage AddedImage Added

2b.Image RemovedImage Added
3.Image RemovedImage AddedImage Added

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".

...