/Community

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

SubMain News

Browse by Tags

All Tags » CodeIt.Right » News   (RSS)

  • CodeIt.Right reviewed on MSDN Toolbox

    With just a couple of days left this year, I wanted to share with you a great article in the MSDN Magazine Toolbox column this month on Improving Software Quality with Static Code Analysis Tools where MS MVP Scott Mitchell is reviewing Static Analysis Tools For .NET. Scott is comparing FxCop, StyleCop and CodeIt.Right:

    While FxCop and StyleCop pinpoint rule violations, the developer is still responsible for implementing these tools' suggestions. CodeIt.Right from SubMain takes static code analysis to the next level by enabling rule violations to be automatically refactored into conforming code.

    Like FxCop, CodeIt.Right ships with an extensive set of predefined rules, based on the design guidelines document mentioned earlier, with the ability to add custom rules. But CodeIt.Right makes it much easier to create and use custom rules.

    CodeIt.Right's biggest benefit is the automatic code refactoring.

    Scott summarizes:

    Static code analysis tools provide a fast, automated way to ensure that your source code adheres to predefined design and style guidelines. Following such guidelines helps produce more uniform code and also can point out potential security, performance, interoperability, and globalization shortcomings.

    Thank you, Scott!

    Visit MSDN Magazine web site for the complete article.

    What is your experience with CodeIt.Right, please tell us. And, as always, ask questions!

    Happy Holidays!

    Technorati Tags: , , , , ,

  • Released: CodeIt.Right version 1.2.08357

    Just before the holiday we are releasing new version of CodeIt.Right - build 1.2.08357. Download version 1.2.08357 today!

    This release features addition of spell checking engine to CodeIt.Right SDK, workaround for the Out of Memory error on large solutions, 12 new rules and many bugs fixed.

    Please share your feedback in the forums especially on the new spell checking rules - we are still working and improving them.

    Note: The new spelling rules are included with the built-in profile but they are turned off by default - you will need to turn them on. For all rules you will need to add them into your custom profiles.

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

    Major changes in CodeIt.Right v1.2 :

    • New feature - Spell Checker, we extended SDK with spell checking engine which enables us to add new rules. This build includes en-US, en-GB, en-CA, en-AU, fr-FR, es-ES, es-MX dictionaries. You can add other languages using OpenOffice format dictionaries. We cannot distribute de-DE and it-IT dictionaries for they are GNU GPL licensed but you can download them from OpenOffice web site here as well as several dozen of other languages.
    • Added - Out Of Memory error handling - shows dialog that links to the page with recommendations on How to avoid Out Of Memory exceptions in Visual Studio by enabling is to use up to 3GB of virtual memory
    • Added - "Copy Violation" in the violation list allows to copy the highlighted violation information into clipboard. Alternatively use Ctrl+C.
    • "Exclude File" violation list context menu option is now enabled when right-clicked on the file name row
    • Added - Cache Folder Path option - allows to move CodeIt.Right cache directory (default - User\Application Data)
    • New Rules:
      1. Identifiers Should Be Spelled Correctly (Spelling)
      2. Comments Should Be Spelled Correctly (Spelling)
      3. Type link demands require inheritance demands (Security)
      4. Secured types should not expose fields (Security)
      5. Secure serialization constructors (Security)
      6. Review visible event handlers (Security)
      7. Review deny and permit only usage (Security)
      8. Review declarative security on value types (Security)
      9. Method security should be a superset of type (Security)
      10. Array fields should not be read only (Security)
      11. Aptca methods should only call aptca methods (Security)
      12. Wrap vulnerable finally clauses in outer try (Security)
    • CodeItRight.Cmd.exe changes:
    • many bugs fixed

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

    Technorati Tags: , , , , ,

  • PDC 2008 CodeIt.Right License giveaway!

    by Serge Baranovsky

    The best and the biggest MS developer conference Microsoft PDC 2008 edition is just few days away. We, of course, wouldn't miss the great opportunity to meet and network with potentially 10000 developers.

    This year we will be giving away free CodeIt.Right licenses for those who manage to spot me in the crowd and talk to me about your favorite CodeIt.Right feature, what you don't like about the product or help to prioritize the upcoming features. Or talk about what's important to you, what's on you mind, or just a geek talk.

    To help you find me I will share that I'm attending Palermo Party Sunday night and hanging around most every party, event, session and between the sessions. You can follow me on Twitter , email me at sergeb@submain.com or call our toll free line 1 (800) 936-2134 and choose the extension 3 - "Talk to Serge" (special PDC option :)

    If you have never met in person, perhaps picture on my Twitter account - http://twitter.com/sergeb - will help you :)

    Looking forward to meeting you all in LA next week!

    Technorati Tags: , , , , ,

  • 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: , , , , ,

  • Upcoming updates, tutorials and PADNUG presentation

    by Serge Baranovsky

    v1.1 progress & Enterprise Edition

    The v1.1 release that includes .NET 3.5 syntax has been slightly delayed. There are two reasons for that - we had too much fun at the MVP Summit mid-April and we made few significant changes to the parsing and refactoring engines to support the 3.5 syntax. The coding part is done, we cover all of the .NET 3.5 now. And we are going through a major testing phase as the base application layer responsible for all .NET versions was affected. We are currently targeting end of May for the v1.1 release date.

    Meanwhile, the Enterprise Edition of CodeIt.Right is pretty much ready - we should have beta in a couple of weeks. Enterprise Edition has two parts - developer client and Profile Authoring/Admin piece. The latter, in addition to the Profile Editor features, has the ability to push profiles to developer workstations and limit developers to use only the profiles that were published by a Team Lead/Lead Developer/Architect.

    Tutorials

    We have published CodeIt.Right SDK Online Documentation and a couple of new tutorials:

    All tutorials are now listed on the new dedicated Tutorials page.

    Presentation

    I will be speaking in Protland at PADNUG this Tuesday, May 6th at 6:30pm - more details here - http://www.padnug.org/padnug/meetings.aspx?ID=145

    If you are in the area and want to hear about coding guidelines, best practices, ask questions and see a demo of CodeIt.Right, come join us. I will bring some swag for giveaway, free licenses and discount codes.

    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: , , , , ,

  • CodeIt.Right v1.0.08035 CodeItRight.Cmd.exe Refresh

    by Serge Baranovsky

    Since the v1.0 release a number of improvements were requested for use CodeIt.Right in an automated build process and we are making a refresh for CodeItRight.Cmd.exe available today. This version of CodeItRight.Cmd will be included as part of the v1.1 release which additionally will ship with ready to use tasks for MSBuild and NAnt.

    See CodeItRight.Cmd.exe Command Line Options for complete list of the console version command line switches and error codes.

    Important:

    • This copy of the console version of CodeIt.Right will only work with the original v1.0 release (build 1.0.08035)
    • It will only work with the VS2005 and VS2008 version of CodeIt.Right. If you need VS2003 version, please contact support.

    You can download the new improved  here

    Instructions:

    • Extract SubMain.CodeItRight.Cmd.exe fomr the downloaded zip file
    • Save it to CodeIt.Right program directory, typically Program Files\SubMain\CodeIt.Right

    Changes in this build of CodeItRight.Cmd.exe:

    • Fixed /Quiet option
    • Removed key press required in the older version after it is done analyzing solution
    • Added /OutXSL parameter 
    • Added /CRData parameter
    • Improved output XML data formatting 
    • Added return error codes

    See CodeItRight.Cmd.exe Command Line Options for complete list of the console version command line switches and error codes.

  • CodeIt.Right reviewed by Mike McIntyre

    by Serge Baranovsky

    Mike McIntyre posted great review of CodeIt.Right on DevCity.NET - http://www.devcity.net/Articles/348/CodeIt.Right.Review.aspx - Mike has put CodeIt.Right through a test using 10 of his projects.

    Mike summarizes:

    I feel CodeIt.Right's features for configurable static code analysis and its ability to automatically correct my code make it well worth the purchase price. It has become and indispensable addition to my developer toolkit.

    I highly recommend you give it a try.

    Thank you Mike!

    What is your experience with CodeIt.Right? Feel free to ask questions, tell us what you think!

    Technorati Tags: , , , , ,

  • CodeIt.Right Pricing and Limited Time Offer

    by Serge Baranovsky

    CodeIt.Right is back to regular price of $250/user and we also introduced volume license discounts.

    For limited time when you purchase CodeIt.Right license we include complementary 1 year of Software Assurance & Gold Support Subscription - more information about the subscription - (regular - only 3 months of Software Assurance only included with additional $100 per year subscription). And, as always, you are covered by our 60-day money-back guarantee.

    » Buy CodeIt.Right Now «

    Technorati Tags: , , , , , >

  • CodeIt.Right Introductory Price

    by Serge Baranovsky

    CodeIt.Right will be available at the introductory price of $180 through February 20th, 2008 (regular price $250/user after Feb 20th). To make it even better the introductory price also includes complementary 1 year of Software Assurance & Gold Support Subscription - more info about the subscription - (regular - only 3 months included with additional $100 per year). And, as always, you are covered by our 60-day money-back guarantee. >

    February 20th is only two weeks away, so, hurry, download CodeIt.Right, play with it, learn it, ask questions you have and buy it when you are ready.

    I will see in you in the forums, I will be the one serving beer and answering questions :)

    Buy CodeIt.Right Now

    Technorati Tags: , , , , , >

  • CodeIt.Right v1.0 Released!

    by Serge Baranovsky

    CodeIt.Right is finally finished after about 3 years in the making. That's right, CodeIt.Right is Released! It is out in its all new shiny package :)

    I would like to make a pause here and extend my deepest gratitude towards everyone who helped make this release possible. From the SubMain development team, the advisory board members, to everyone who participated in the community and contributed feedback over the year since we released the first public beta.

    CodeIt.Right, my 7 years long dream come true. The tool it out! Cheers! (I truly believe that code analysis coupled with automatic refactoring will change the way .NET developer teams and solo developers work!)

    With the touchy-feely stuff out of the way, let's get back to the actual product, shall we? :)

    If you are new to CodeIt.Right:

    What's next?

    This not a road map per se, just highlights of where we are heading with CodeIt.Right over the next months:

    • We will keep publishing new rules as they are developed and will push them to you using the Auto-Update feature
    • We will publish more tutorials and how tos on using the product and developing your own custom rules using CodeIt.Right SDK
    • Create community section over at http://community.submain.com and allow custom developed rules shared with other users
    • Version v1.1 is coming in 4-6 weeks - .NET 3.5 syntax, merging profiles, Pivot View improvements, generating team guidelines document template from profile, and of course, more rules!
    • Version v2.0 is preliminarily scheduled for summer 2008 and will introduce VSTS integration and manual refactorings (we will merge CodeIt.Once into CodeIt.Right)

    So, don't wait, go ahead, download CodeIt.Right - http://submain.com/download/codeit.right - play with it, explore the rules included in the box, get out of the box and try developing your own custom rules, share them, ask questions, tell us what you think!

    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: , , , , ,

  • CodeIt.Right Release Candidate build 1.0.08005

    by Serge Baranovsky

    Here we have another smallish update for CodeIt.Right - build 1.0.08005. 

    Early next week we publish another couple of new really cool rules. We will use rule Auto-Update to push them to you.

    You can see the product is getting very stable now and we only do minor modifications. Which means, guess what? That we are releasing soon :)

    So, make sure you take advantage of our pre-release CodeIt.Right license pricing while it's not too late ;)

    Changes since the last build

    • Enabled the "Enter Registration Code..." menu item. Those of you who already purchased CodeIt.Right license (thank you!) can now activate the product. 
    • Fixed issue with with XML comments rule with enum members all declared on the same line.
    • Fixed problem in the UseOrAvoidCertainPrefixes rule - see forum post
    • Addressed a couple of bugs in the refactoring engine.
    • Few other minor fixes.

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

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

    Technorati Tags: , , , , ,

     

  • CodeIt.Right Pre-release price

    by Serge Baranovsky

    As the RC is available we are releasing CodeIt.Right in the next 3 weeks. 

    We decided to offer the product for purchase at a pre-release price with an extra bonus. Buy CodeIt.Right here. This is the full license we just give you an opportunity to get it at a lower price.

    Pre-release price

    Pre-release price $250 $150 (includes complementary 1 year of Software Assurance & Gold Support subscription)

    Buy CodeIt.Right today and save!

    Post-release price

    User license - $250 (includes 3 month Software Assurance & Gold Support subscription, $100 per year after that)

    Annual Software Assurance & Gold Support - $100 :

    • Upgrade to new versions at no additional cost (regardless of price changes)
    • Auto Update for the latest rule sets
    • Access to private Gold Support forums

    Buying with us is safe - with our 60-day money-back guarantee if you are not happy with the product.

    Technorati Tags: , , , , ,

More Posts Next page »