[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


https://bugzilla.novell.com/show_bug.cgi?id=676989

https://bugzilla.novell.com/show_bug.cgi?id=676989#c0


           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


Hello!

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 
currently:

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

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" /> 
</ruleset> 

Regards, 
Daniel

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