Problem
On the dashboard, you observe violations on Methods must have appropriate JavaDoc @exception tags quality rule . The violations seems to be wrong violations
Observed in CAST AIP
Release | Yes/No |
---|---|
8.3.x |
Observed on RDBMS
RDBMS | Yes/No |
---|---|
CSS |
Step by Step Scenario
- Do and analysis and snapshot
- Connect to dashboard and observe violations on Methods must have appropriate JavaDoc @exception tags quality rule that seems to be wrong violations
Action Plan
Case1 - You are using @throws tags
The metric 'Methods must have appropriate JavaDoc @throws tags' and the metric 'Methods must have appropriate JavaDoc @exception tags' are both included in the current quality model.The reason for this is that while @exceptions tags are deprecated, they are still in use in older applications. Newer applications generally use @throws tags.
Therefore, you may get violations for the metric 'Methods must have appropriate JavaDoc @exception tags' when using @throws tags.
- Modify your assessment model for these metrics and deactivate the one that is not needed based on your particular application requirements.
Impact on Analysis Results and Dashboard