Today we released update for CodeIt.Right Standard and Enterprise Editions -
v1.9.10053. As part of our 2010
Product Roadmap, this version changes include significantly improved performance,
support for GlobalSuppressions, new rules and bug fixes.
New in CodeIt.Right v1.9.10053:
-
Major performance improvements throughout the rule base
-
Added support for GlobalSuppressions - syntax is the same
as the VSTS GlobalSuppressions file. This new feature is supported in both Standard
and Enterprise editions.
-
SuppressMessage attribute for class now applied to all member of the class (see example
at the bottom of the post)
-
New Rules:
-
Avoid the Page.DataBind method (AspNet)
-
Avoid the DataBinder.Eval method (AspNet)
-
Do not use SaveAs method to store uploaded files (AspNet)
-
Always define a global error handler (AspNet)
-
Do not disable custom errors (AspNet)
-
Avoid setting the AutoPostBack property to True (AspNet)
-
Interface methods should be callable by child types (Design)
-
Remove unused parameters (Usage)
-
Corrected download redirect link in the Enterprise Edition when new version is available.
In the past versions it would incorrectly open the Standard Edition download page
-
Fixed Encapsulate Field refactoring issue
-
Other fixes for the reported issues
The following code sample on how class level SuppressMessage attribute excludes TypesAndMembersShouldHaveXmlComments
rule for the class and all its members (bullet #3 above):
[SuppressMessage("SubMain.CodeItRight.Rules.General",
"GE00005:TypesAndMembersShouldHaveXmlComments")]
public class MyUndocumentedClass
{
public void MyUndocumentedMethod1{}
public void MyUndocumentedMethod2{}
}
This update is free for all users who are current on their Software
Assurance and Support Subscription