/Community

A Support Community for SubMain Products
in Search
Welcome to SubMain Community Sign in | Join | Help

SubMain News

Browse by Tags

All Tags » News » Rules   (RSS)

  • Released: CodeIt.Right Build 1.1.08262

    New version of CodeIt.Right is out! You can download build 1.1.08262 today.

    This is a major release even though we only added ".1" to the version. It includes .NET 3.5 support, Guidelines document template generation, option to analyze single file, enhanced SDK documentation, new rules, new command line version parameters and more. Please share your feedback in the forums.

    This update is free for all users who are current on their Software Assurance and Gold Support Subscription

    Major changes in CodeIt.Right v1.1 :

    • Support for .NET 3.5 (C# 3.0 and VB 9.0)
    • New feature - Generate Template in Profile Editor allows to generate guidelines document template based on the profile. Please note the XSL stylesheet only works with IE (not Firefox)
    • New feature - Analyze File in the Solution Explorer context menu - enables individual source code file analysis
    • New feature - Severity Threshold dropdown - allows to quickly filter violations by severity
    • Improved Profile Editor layout
    • Added "Rule Info" tab in Profile Editor
    • Pivot View allows to save your custom views (Save As)
    • Updated SDK documentation - now includes most every class, method and property of CodeIt.Right SDK. We will update the Online SDK documentation promptly.
    • Auto-Update now also includes the latest help file
    • New Options -> General -> Max violations to report (default Unlimited) to limit to the first N violations reported
    • New Rules:
      1. Do not declare read only mutable reference types (Security)
      2. Seal methods that satisfy private interfaces (Security)
      3. Secure GetObjectData overrides (Security)
      4. Assemblies should declare minimum security (Security)
      5. Override link demands should be identical to base (Security)
      6. Prefix member calls with self (Usage)
      7. Do not prefix calls with Base unless needed (Usage)
      8. Review suppress unmanaged code security usage (Security)
      9. Do not indirectly expose methods with link demands (Security)
      10. Security transparent code should not assert (Security)
      11. Secure asserts (Security)
      12. Code region name should be PascalCased (Naming)
    • CodeItRight.Cmd.exe improvements:
      • Added MsBuild and Nant tasks (SubMain.CodeItRight.MSBuild.dll and
        SubMain.CodeItRight.NAntBuild.dll)
      • Fixed /Quiet option
      • Added /OutXSL parameter
      • Added /CRData parameter
      • Added /severityThreshold parameter
      • Improved formatting of the output XML data file
      • Added return error codes
      • Removed key press required in the older version
      • see CodeItRight.Cmd.exe Command Line Options for details
    • Removed Alt shortcuts in the toolbar - they were conflicting with some of the Visual Studio
    • Renaming a parameter now also updates its name in XML comments
    • Added CodeRegion class in the SDK
    • Added "Expression" and "Code Region" to Rule targets
    • many bugs fixed

    Download build 1.1.08262 here - http://submain.com/download/codeit.right  

    Technorati Tags: , , , , ,

  • New v1.1 is on the way - download CodeIt.Right Beta build 1.1.08198

    by Serge Baranovsky

    New version of CodeIt.Right is almost out. We have a beta build 1.1.08198 for you today. Please download and give it a try, let us know what work and what doesn't. This is pretty big release that includes .NET 3.5 support, Guidelines document template generation, new command line version parameters and more. Please share your feedback in the forums.

    If you get an unhandled error dialog, please enter your email address so we could let you know when we resolved the issue or if we need to contact you for more details in our troubleshooting.

    For the .NET 3.5 support we have made major changes to our parsing engine - please report all issues you encounter with the Beta.

    Major changes in the v1.1 Beta:

    • Support for .NET 3.5 (C# 3.0 and VB 9.0)
    • New feature - Generate Template in Profile Editor allows to generate guidelines document template based on the profile. Please note the XSL stylesheet only works with IE (not Firefox)
    • Improved Profile Editor layout
    • Added "Rule Info" tab in Profile Editor
    • Pivot View allows to save your custom views (Save As)
    • Updated SDK documentation - now includes most every class, method and property of CodeIt.Right SDK
    • Auto-Update now also includes the latest help file
    • New Options -> General -> Max violations to report (default 1000) to limit to the first N violations reported
    • New Rules:
      1. Do not declare read only mutable reference types (Security)
      2. Seal methods that satisfy private interfaces (Security)
      3. Secure GetObjectData overrides (Security)
      4. Assemblies should declare minimum security (Security)
      5. Override link demands should be identical to base (Security)
      6. Prefix member calls with self (Usage)
      7. Do not prefix calls with Base unless needed (Usage)
    • CodeItRight.Cmd.exe improvements:
      • Added MsBuild and Nant tasks (SubMain.CodeItRight.MSBuild.dll and
        SubMain.CodeItRight.NAntBuild.dll)
      • Fixed /Quiet option
      • Added /OutXSL parameter
      • Added /CRData parameter
      • Improved formatting of the output XML data file
      • Added return error codes
      • Removed key press required in the older version
      • see CodeItRight.Cmd.exe Command Line Options for details
    • many bugs fixed

    Download build 1.1.08198 here - http://submain.com/download.aspx?product=codeit.right-beta 

    Note: Even though 1.1.08198 is a stable Beta it's Beta nevertheless. Proceed with care.

    Technorati Tags: , , , , ,

  • CodeIt.Right Rule Update 20080412

    by Serge Baranovsky

    This CodeIt.Right rule update includes fixes as well as 3 new security rules.

    New rules:

    • Do not declare read only mutable reference types (Security)
    • Seal methods that satisfy private interfaces (Security)
    • Secure GetObjectData overrides (Security)

    These rules are included with the default profile and you will only need to follow the wizard to merge them into your custom profiles.

    Fixes:

    • Rule "Do not override operator equals on reference types" incorrectly triggered violation for the "Equals" method. Now this rules only reports violation for the operator "==" override.
    • Fixed "If the type is a generic type, CIR adds the apostrophe-count string to the class name for the deserialization constructor"
    • Fixed "If there is no explicit default parameterless constructor, adding the deserialization constructor causes errors in all derived classes that called the parameterless constructor"

    As a reminder, this set of rules is distributed using the Rule AutoUpdate feature which triggers 15 minutes after you start Visual Studio. If you turned the feature off, you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

    Technorati Tags: , , , , ,

  • New CodeIt.Right Rules - Update 20080128

    by Serge Baranovsky

    Another CodeIt.Right rule update. Next stop, release of CodeIt.Right, is targeted at February 1. Yes, that's the end of this week, better hurry to take advantage of the pre-release pricing ;)

    New CodeIt.Right rule posted:

    • Use prefix for return type  (Naming)
    • Avoid prefix for return type (Naming)
    • Use prefix for derived type (Naming)
    • Avoid prefix for derived type (Naming)

    The four rules above will not be included into the default profile - see How to add rule to User Profile to learn how to add these into your custom profile.

    This set of rules is distributed using the Rule AutoUpdate feature added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

    Technorati Tags: , , , , ,

  • New CodeIt.Right Rules - Update 20071203

    by Serge Baranovsky

    New CodeIt.Right rule posted:

    • Externally visible types and members should have XML comments (General)

    This rule makes sure all Public and Protected members and types have XML documentation comment.

    AutoCorrect option for this rule is 'Add XML comment template' which will add

    (for VB)

     '''
    <summary> '''
         '''
    </summary> '''
    <value> '''
        <para> '''
             '''
        </para> '''
    </value> '''
    <remarks> '''
         '''
    </remarks>

    (for C#)

     ///
    <summary> ///
         ///
    </summary> ///
    <value> ///
        <para> ///
             ///
        </para> ///
    </value> ///
    <remarks> ///
         ///
    </remarks>

    (actual content of the template will depend of the code element the XML template are being added to).

    This set of rules is distributed using the Rule AutoUpdate feature added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

    Don't forget to leave your feedback in the CodeIt.Right forum http://community.submain.com/forums/4/ShowForum.aspx

    (Note: if you skip the custom profile update step in the Rules Update Wizard, you still can add new rules to your custom profile(s) using the Add Rule button in the Profile Editor - you will find recent rules by sorting the date column)

    Technorati Tags: , , , , ,

  • New CodeIt.Right Rules published - Update 20071017

    by Serge Baranovsky

    New set of CodeIt.Right rules:

    • Avoid unsealed attributes (Performance)
    • COM visible types should be creatable (Interoperability)
    • Pointers should not be visible (Security)
    • Remove empty finalizers (Performance)

    (All of the new rules above offer AutoCorrect options)

    This set of rules is distributed using the Rule AutoUpdate feature added into the Beta 2 of CodeIt.Right. Auto Update triggers in 15 minutes after you start Visual Studio. If you turned the feature off you can manually start the update wizard from the CodeIt.Right/Help & Support/Update Rules menu.

    Another set of rules will be distributed with new build of CodeIt.Right next week as some of them require updated version of the SDK.

    Please leave your feedback how much you like/dislike the AutoUpdate feature, your suggestions - in the CodeIt.Right forum http://community.submain.com/forums/4/ShowForum.aspx

    (Note: if you skip the custom profile update step in the Rules Update Wizard, you still can add new rules to your custom profile(s) using the Add Rule button in the Profile Editor - you will find recent rules by sorting the date column)

    For more information on CodeIt.Right, getting started presentation, support and feedback see Beta 1 announce post.

    Technorati Tags: , , , , ,