Skip to content

Files

Latest commit

eb398a0 · Jan 11, 2018

History

History
49 lines (26 loc) · 1.9 KB

TODO.md

File metadata and controls

49 lines (26 loc) · 1.9 KB

To do list

  • Fix rules:

    • AvoidCodeDuplicatedInSameClassRule,

      Wrong assumptions, too many false positives,

      Fix the locator, to not search in generated (partial) code, e. g. when using Linq or dynamic (type) in function, and to report only when the similarity can really be extracted/merged (not when the functions look similar but have different values in nested calls, or they call a different function with same checks). Similarity can be caused even by the check of input values (not null, out of range e.t.c.) in public functions.

    • Implement alternative compare method; overloaded operators are not supported in VB rule

      need to find the sample code that caused this message and make a minimal implementation with this warning

    • AvoidLargeClassesRule

      Wrong assumptions, too many false positives; rule is fired on two members with the same prefix, e. g. GUI form with label userNameLabel and text box userNameTextBox, that simply can not be extracted to two different classes and to create custom user control for all these little things is not the best idea either.

  • Fix unit test to be usable in Visual Studio

  • Test Linux/Mono support of changes

  • Remove dependency on .NET 2.0 libraries:

    • ICSharpCode.SharpZipLib.dll
    • nunit.framework.dll
  • Update from obsolete Cecil functions

  • Update to latest Cecil

  • Add rules and updates from other forks

  • Reformat code to standard C# standards (?)

  • Remove dead (commented) code

  • Fix grammar in comments, examples and texts (way too many typos and other mistakes)

  • Remove/fix code analyzer warnings (way too many, over 4000 warnings and over 1000 other problems in Cecil and Gendarme)

  • Fix code samples for rules:

    • code formatting,
    • (sometimes) missing lines (e. g. ImplementIComparableCorrectlyRule in Design package)
  • Add comments (documentation) for all public types