Sign in
Code Analysis Team Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
ASP.NET
Books
Bugs
C++
Code Analysis
Code Analysis Policy
Code Metrics
CodeCommunit Analysis
Community
Configuration
Custom Rules
Documentation
Exceptions
FAQ
Framework Design Guidelines
FxCop
Releases
Rules
Suppressions
Team System
Tips and Tricks
Tools
tsbt-dev
Visual Studio 2005
Visual Studio 2008
Archive
Archives
March 2012
(1)
April 2011
(1)
July 2010
(1)
April 2010
(1)
March 2010
(3)
November 2008
(1)
August 2008
(2)
June 2008
(1)
February 2008
(3)
January 2008
(4)
December 2007
(1)
November 2007
(5)
October 2007
(2)
September 2007
(3)
August 2007
(4)
July 2007
(5)
May 2007
(7)
April 2007
(3)
March 2007
(2)
February 2007
(8)
January 2007
(9)
December 2006
(4)
November 2006
(2)
October 2006
(3)
September 2006
(2)
August 2006
(3)
July 2006
(1)
June 2006
(6)
May 2006
(3)
April 2006
(7)
March 2006
(3)
June 2004
(2)
May 2004
(2)
April 2004
(1)
March 2004
(3)
February 2004
(2)
January 2004
(4)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Code Analysis Team Blog
New for Visual Studio 2008 - Code Analysis Policy improvements
Posted
over 6 years ago
by
David M. Kean
11
Comments
One not very well known feature that lights up when connected to a Team Foundation Server, is the ability to enforce that Code Analysis be run before every check-in. Called a Code Analysis Policy , this feature allows your team to find and fix Code Analysis...
Code Analysis Team Blog
FxCop 10.0 is available
Posted
over 3 years ago
by
Duke Kamstra
11
Comments
Version 10.0 of FxCop is the version that ships with Visual Studio 2010 Premium. FxCop 10.0 is part of Version 7.1 of the Microsoft Windows SDK for Windows 7 and .NET Framework 4. Instructions Download the Microsoft Windows SDK for Windows 7 and .NET...
Code Analysis Team Blog
Code Metrics as Check-in Policy
Posted
over 6 years ago
by
conorm
10
Comments
This is the first in a series of posts around questions I am getting asked related to code metrics. One question that is coming up is: Can a check-in policy be defined based on code metrics in TFS? Well, code metrics itself does not have a check...
Code Analysis Team Blog
Code Metrics Customization
Posted
over 6 years ago
by
conorm
10
Comments
A number of people have asked: Is there a way to customize the existing code metrics or add additional ones? The simple answer at this time is No. There are no extension points or customizations available at this time for code metrics. This...
Code Analysis Team Blog
Reporting Code Analysis Defect Counts
Posted
over 5 years ago
by
conorm
10
Comments
Code analysis defect counts are available in the cube that is part of the TFS Data Warehouse . This post shows you how to hook up Excel to show code analysis counts in a pivot table . First off you need to connect Excel up to the data warehouse that has...
Code Analysis Team Blog
Free 'Writing Quality Code' e-book (with information on both Native and Managed Code Analysis)
Posted
over 6 years ago
by
David M. Kean
10
Comments
Some of the local Australian developers have got together and written a e-book on Writing Quality Code with Visual Studio Team System. It contains chapters on both Native and Managed Code Analysis, as well unit and web testing, performance-tuning and...
Code Analysis Team Blog
What resolutions or warnings need to provide more information?
Posted
over 6 years ago
by
David M. Kean
9
Comments
One of things that we are doing for Orcas, is to basically do what we call a resolution scrub . This is where we print out every single possible resolution/warning and read over them to check for consistency, proper grammer and to see if they provide...
Code Analysis Team Blog
January Orcas CTP Released!
Posted
over 6 years ago
by
David M. Kean
9
Comments
Update: A Virtual PC image is also available. We've just released the Visual Studio 'Orcas' - January CTP . This is the first of the side-by-side installable CTPs, however, before installing, please read the Release Notes and do not install this on...
Code Analysis Team Blog
FAQ: How do I share Managed Code Analysis rule settings over multiple projects? [David Kean]
Posted
over 7 years ago
by
David M. Kean
9
Comments
If your team has a minbar of Managed Code Analysis rules that must be explicitly fixed or suppressed, it is possible to share the Managed Code Analysis rule settings over multiple MSBuild projects (.csproj, .vbproj). To share the minbar between multiple...
Code Analysis Team Blog
What do you want to see in the second edition of Framework Design Guidelines?
Posted
over 5 years ago
by
David M. Kean
9
Comments
Krzysztof and Brad have announced they are working on the second edition of the awesome Framework Design Guidelines and are looking for feedback on what they should put in it. For those that don't know, a lot of our Code Analysis rules are based on...
Code Analysis Team Blog
What happened to the download and documentation of FxCop 1.35?
Posted
over 5 years ago
by
David M. Kean
9
Comments
Update: You can now download FxCop 1.35 directly from MSDN Code Gallery . As you many you have well noticed, GotDotNet was officially retired last month now that the last of its functionality was superceded by MSDN Code Gallery . Unfortunately, at...
Code Analysis Team Blog
What kind of custom rules do you want to write?
Posted
over 6 years ago
by
David M. Kean
8
Comments
Our excellent program manager, Joe Rohde, is trying to gather information on the kinds of custom rules customers want to write. I am a program manager for our Code Analysis system. I want to know what kind of custom rules you would like to write...
Code Analysis Team Blog
A couple of new Orcas features for Managed Code Analysis [David Kean]
Posted
over 7 years ago
by
David M. Kean
8
Comments
Yesterday our team, Code Analysis, checked-in the last of our scheduled feature work for the next version of Visual Studio; Orcas . Now that I have a little time up my sleeve, I thought I would cover a couple of new features that you may have already...
Code Analysis Team Blog
Correct usage of the CompilerGeneratedAttribute and the GeneratedCodeAttribute
Posted
over 6 years ago
by
David M. Kean
8
Comments
Both Code Analysis, FxCop and Code Metrics make extensive use of CompilerGeneratedAttribute and GeneratedCodeAttribute to distinguish between user-written code and tool and compiler generated code. The following describes this behavior: Code Analysis...
Code Analysis Team Blog
Making it easier to move from FxCop to Visual Studio Code Analysis [Jeffrey van Gogh]
Posted
over 7 years ago
by
Jeffrey van Gogh - MS
8
Comments
We get frequently asked what the best way is for people to move from the standalone FxCop to VS Code Analysis. A hurdle in making the switch is the fact that people can no longer use the FxCop project file they created for their analysis. This will invalidate...
Code Analysis Team Blog
FAQ: Why do some sources recommend extending ApplicationException while FxCop does not? [Michael Fanning, David Kean]
Posted
over 7 years ago
by
David M. Kean
7
Comments
TypesShouldNotExtendCertainBaseTypes fires on types that derive from ApplicationException and DoNotRaiseReservedExceptionTypes on members that throw ApplicationException. Why? There are several outdated documents floating around on the web (some orginally...
Code Analysis Team Blog
Happy New Year and Welcome to the FxCop Blog! [Michael Murray]
Posted
over 9 years ago
by
MSDNArchive
7
Comments
Hello and welcome to the FxCop Team Blog! One of our team resolutions for this year (besides just trying to be generally nicer people) is to start an FxCop blog so here it is! Our goal is a single URL where we serve up tips and information about the FxCop...
Code Analysis Team Blog
FxCop 1.30 on track for http://www.gotdotnet.com/team/fxcop release[Michael Fanning]
Posted
over 9 years ago
by
MSDNArchive
7
Comments
Just a heads up that FxCop 1.30 testing is right on track and we expect to ship on http://www.gotdotnet.com/team/fxcop by the end of this month, March 2004, as expected!
Code Analysis Team Blog
FxCop 1.35 rule documentation now on MSDN Wiki [David Kean]
Posted
over 7 years ago
by
David M. Kean
6
Comments
One thing you might notice from today when you fire up FxCop 1.35 , is that the rule URLs are now redirecting to the new MSDN Library Wiki as opposed to the old docs on GotDotNet. To see this in action, try the following: Open FxCop 1.35 Choose...
Code Analysis Team Blog
Framework for intergrated FxCop rule testing
Posted
over 6 years ago
by
David M. Kean
6
Comments
Roy Osherove has put together a Framework for testing FxCop rules . It's an interesting approach, firing up the FxCop engine for each rule that he wants to test. There are few things that I would like to see it support: The ability to specify...
Code Analysis Team Blog
New for Visual Studio 2008 - The 'Analyze' menu
Posted
over 6 years ago
by
David M. Kean
6
Comments
While Ian Huff has already talked about the new 'Developer' menu that has been added to Visual Studio 2008, I thought I would briefly mention some of the changes to it that were made between Beta 2 and RTM. For those that have yet to see this menu...
Code Analysis Team Blog
Positioning Code Metrics to Management
Posted
over 6 years ago
by
conorm
6
Comments
Another question that is coming up is: How can (or should) code metrics be presented to management ? My view is that in all cases the metrics are something that can help make decisions around focus and prioritization. Management should be made aware of...
Code Analysis Team Blog
FAQ: How do I prevent FxCop 1.36 from firing warnings against generated code?
Posted
over 5 years ago
by
David M. Kean
6
Comments
I've upgraded from FxCop 1.35 to 1.36 and now FxCop has started to fire warnings against typed DataSets and other generated code. How do I turn this off? The reason this is occurring is because we changed the way that FxCop analyzed generated code. Whereas...
Code Analysis Team Blog
How to write custom static code analysis rules and integrate them into Visual Studio 2010
Posted
over 3 years ago
by
Duke Kamstra
5
Comments
This blog explains how to implement your own static code analysis rules for analyzing your .NET (C#, VB.NET, etc) code. The material was written by Todd King, one of the developers on the Visual Studio Code Analysis team. NOTE: Writing custom FxCop...
Code Analysis Team Blog
Fun with Code Analysis Rule Sets
Posted
over 5 years ago
by
cristend
5
Comments
Two weeks ago, I introduced you to Visual Studio 2010 September '08 CTP (Community Technology Preview). This CTP is available as a Virtual PC (VPC) image which can be downloaded at http://go.microsoft.com/fwlink/?LinkId=129231 . The goal of the Community...
Page 2 of 5 (114 items)
1
2
3
4
5