Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What rule do you wish FxCop/Gendarme had?

What definable static code checking rule do you wish to see added to FxCop and/or Gendarme?

Why to do you wish to see the rule added, e.g what are the benefits etc?

How could your rule be implemented?

like image 661
Ian Ringrose Avatar asked Feb 16 '10 14:02

Ian Ringrose


1 Answers

I'd like to define and implement my own rules very quickly. I tried this once for FxCop, but I found the API not to be very clear - and there was not too much documentation around. I used FxCop 1.36, maybe things changed ...

So I'd like to see FxCop having a clear and easy to use interface ... that would be great :)

The rules I tried to implement were:

  • DocumentInternalMethods
  • DocumentInternalTypes
  • ...

Basically I wanted to enforce xml-comments on non-public members.

like image 98
tanascius Avatar answered Oct 01 '22 22:10

tanascius