Product Reviews

Analyze That

Total .NET Analyzer can pinpoint problem areas in your code.

With this product, FMS continues the delivery of extra value to Visual Studio .NET that they started with Total .NET Xref. Total .NET Analyzer is a tool for parsing your entire solution and telling you what it thinks of your code. Well, and telling you when you've violated common design practices or written code that might well be concealing a bug.

I installed Analyzer with no trouble and ran it against a moderately substantial C# project. Ten seconds or so later, I had the results: 469 issues found. These show up in a tool window, very similar to the familiar Task List or Pending Checkins windows. You can click on any row in the list to hop directly to the line of code involved, and click another button to get more information on what Analyzer is complaining about.

A few examples from my own code:

- Warnings about using Hungarian notation instead of the now-preferred Camel Case and Pascal Case styles. Old habits die hard.

- Warnings about hard-coded strings and integers.

- Warnings about forms without help buttons or cancel buttons.

- Warnings where I should have used StringBuilders instead of simple string concatenation.

The help file explanations of all the warnings are simple and explain exactly why Analyzer is recommending a change to your code. Don't agree with a particular warning? No problem, just bring up the integrated Rule Editor and turn it off. Some rules also have additional parameters you can set. For example, you can decide whether the no-Hungarian rule should be checked for controls, or only for variables.

FMS has a long track record of delivering excellent value to Microsoft Access and VB developers. It looks like they'll be keeping this up with .NET developers.

About the Author

Mike Gunderloy, MCSE, MCSD, MCDBA, is a former MCP columnist and the author of numerous development books.

Featured

  • How To Use .CSV Files with PowerShell, Part 1

    When it comes to bulk administration, few things are handier than .CSV files. In this two-part series, Brien demos his top techniques for working with .CSV files in PowerShell. First up: How to create a .CSV file.

  • SameSite Cookie Changes Rolled Back Until Summer

    The Chromium Project announced on Friday that it's delaying enforcement of SameSite cookie changes, and is temporarily rolling back those changes, because of the COVID-19 turmoil.

  • Basic Authentication Extended to 2H 2021 for Exchange Online Users

    Microsoft is now planning to disable Basic Authentication use with its Exchange Online service sometime in the "second half of 2021," according to a Friday announcement.

  • Microsoft Offers Endpoint Configuration Manager Advice for Keeping Remote Clients Patched

    Microsoft this week offered advice for organizations using Microsoft Endpoint Configuration Manager with remote Windows systems that need to get patched, and it also announced Update 2002.

comments powered by Disqus

Office 365 Watch

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.