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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to