[Mono-bugs] [Bug 623723] Gendarme - AvoidCodeDuplicatedInSameClassRule, AvoidCodeDuplicatedInSiblingClassesRule false positives

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 19 20:52:32 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=623723

http://bugzilla.novell.com/show_bug.cgi?id=623723#c1


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |spouliot at novell.com

--- Comment #1 from Sebastien Pouliot <spouliot at novell.com> 2010-07-20 00:52:32 UTC ---
I'll look at them shortly. However keep in mind that:

(a) an empty .ctor in source code may not be empty in IL (e.g. initializing
variables)

(b) the rules does not check for duplicate methods - but for duplicated code.
So X and Y can be quite different (e.g. parameters and return value) but still
share a block of code that looks to be duplicated (and could be extracted to
another new, shared, method)

I could very well be unrelated to above cases but those are pretty common :-)

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


More information about the mono-bugs mailing list