[Mono-bugs] [Bug 676989] New: Specify severity for each set of rules

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 4 09:15:35 EST 2011



           Summary: Specify severity for each set of rules
    Classification: Mono
           Product: Mono: Tools
           Version: 2.10.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: spouliot at novell.com
        ReportedBy: daniel.lidstrom at gpsgate.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: No


I'm having a situation where I would benefit if it were possible to 
specify severity for each set of rules. For example, my rules are 

<ruleset name="reporting"> 
  <rules include="*" from="Gendarme.Rules.Correctness.dll" /> 

I am running gendarme.exe with default severity (medium+). This is 
reporting some CheckParametersNullityInVisibleMethodsRule that I do 
not care about. Running gendarme.exe with severity high is more 
appropriate regarding CheckParametersNullityInVisibleMethodsRule, 
however I'd like the other correctness rules to still use medium+. If 
I could specify this in my rules.xml I think this would be nice:

<ruleset name="reporting"> 
  <rules include="*" exclude="CheckParametersNullityInVisibleMethodsRule"
from="Gendarme.Rules.Correctness.dll" severity="medium+" />
  <rules include="CheckParametersNullityInVisibleMethodsRule"
from="Gendarme.Rules.Correctness.dll" severity="high" /> 


Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list