Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

FxCop

From Wikipedia, the free encyclopedia
Static code analysis tool
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "FxCop" – news ·newspapers ·books ·scholar ·JSTOR
(May 2013) (Learn how and when to remove this message)
FxCop
DeveloperMicrosoft
Stable release
10.0 / 2010; 16 years ago (2010)
Operating systemMicrosoft Windows
TypeStatic code analysis tool
Websitemsdn.microsoft.com/en-us/library/bb429476%28VS.80%29.aspx Edit this on Wikidata

FxCop is a freestatic code analysis tool fromMicrosoft that checks.NETmanaged codeassemblies for conformance to Microsoft's .NET Framework Design Guidelines.

Overview

[edit]

UnlikeStyleCop, or theLint programming tool, for theC programming language, FxCop analyzes the compiledobject code, not the originalsource code. It usesCIL parsing andcallgraph analysis to inspect assemblies for more than 200 different possible coding standards violations in the following areas:

  • COM (Interoperability) – rules that detect COM Interop issues.
  • Design – rules that detect potential design flaws. These coding errors typically do not affect the execution of your code.
  • Globalization – rules that detect missing or incorrect usage of information related to globalization and localization.
  • Naming – rules that detect incorrect casing, cross language keyword collisions, and other issues related to the names of types, members, parameters, namespaces, and assemblies.
  • Performance – rules that detect elements in your assemblies that will degrade performance.
  • Security – rules that detect programming elements that leave your assemblies vulnerable to malicious users or code.
  • Usage – rules that detect potential flaws in your assemblies that can affect code execution.
  • Maintainability – rules that detect maintenance issues.
  • Portability – rules that detect portability issues.
  • Reliability – rules that detect correct memory and thread usage.

FxCop includes bothGUI and command line versions of the tool. MicrosoftVisual Studio 2005 andVisual Studio 2008Team System Development Editions both include a "Code Analysis" feature based on FxCop. For Visual Studio 2010 the corresponding, and slightly enhanced, static code analysis features are included in the Premium and Ultimate editions. FxCop 10.0 is included in theMicrosoft Windows SDK forWindows 7.[1]

FxCop provides a tool to help developers to follow their company's coding standards. FxCop does code analysis to check whether the new code is compliant with the coding standards and naming conventions followed by the company. FxCop will ensure that the specified rules are used in the source code.[citation needed]

See also

[edit]

References

[edit]
  1. ^"Code Analysis Team Blog: FxCop 10.0 is available". Archived fromthe original on 2010-08-01.

External links

[edit]
Microsoft development tools
Development
environments
Visual Studio
Others
Languages
APIs and
frameworks
Native
.NET
Device drivers
Database
SQL Server
SQL services
Other
Source control
Testing and
debugging
Delivery
Retrieved from "https://en.wikipedia.org/w/index.php?title=FxCop&oldid=1231146170"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp