Bug: Hard coded default severity levels for audit rules?

CodePro AnalytiX (Audit & Test), includes over 1000 audit rules and metrics, JUnit test generation & editing, code coverage, and duplicate code analysis

Moderators: gnebling, jwren, Eric Clayberg, Dan Rubel, Brian Wilkerson, dcarew

Bug: Hard coded default severity levels for audit rules?

Postby ralf.zahn » Sat Feb 12, 2011 11:56 am

Hi,

When managing the following rules within a custom rule set, the default severity is unequal to MEDIUM when ex-/importing the rules to a *.pref file:
    com.instantiations.assist.eclipse.analysis.audit.rule.LineLengthAuditRule (default is LOW)
    com.instantiations.assist.eclipse.analysis.audit.rule.RestrictedPackagesAuditRule (default is HIGH)
Those severity levels are equal to the levels specified in the "Code Pro Core" ruleset.

This should be a bug, right?
ralf.zahn
 
Posts: 6
Joined: Sun Dec 19, 2010 11:19 pm

Re: Bug: Hard coded default severity levels for audit rules?

Postby gnebling » Wed Feb 16, 2011 11:10 am

Every audit rule can define its own default severity. The default severity is not the same (medium) for all audit rules. That's by design.

The CodePro Core audit rule set does not change the default severity of any audit rule because we gave the rules the severity we thought they should have. It wouldn't make any sense for us to define the default severity of a rule to be "low" if we thought it should be "high", nor to change the default severity in the default audit rule set.
gnebling
Moderator
 
Posts: 243
Joined: Tue Aug 22, 2006 7:49 am


Return to CodePro AnalytiX & PlusPak. EclipsePro Audit & Test

Who is online

Users browsing this forum: No registered users and 1 guest

cron