Knowledge (XXG)

FxCop

Source ๐Ÿ“

219: 1315: 25: 347:
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.
335:
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 the
451: 298:
Naming โ€“ rules that detect incorrect casing, cross language keyword collisions, and other issues related to the names of types, members, parameters, namespaces, and assemblies.
382: 444: 1104: 1342: 851: 357: 846: 1347: 1318: 498: 437: 576: 108: 1140: 995: 747: 1337: 1135: 1010: 488: 752: 732: 503: 46: 424: 1130: 700: 688: 586: 292:
Design โ€“ rules that detect potential design flaws. These coding errors typically do not affect the execution of your code.
720: 1099: 1043: 285:
analysis to inspect assemblies for more than 200 different possible coding standards violations in the following areas:
278: 386: 1191: 1125: 1015: 1000: 767: 295:
Globalization โ€“ rules that detect missing or incorrect usage of information related to globalization and localization.
143: 89: 1048: 903: 304:
Security โ€“ rules that detect programming elements that leave your assemblies vulnerable to malicious users or code.
61: 35: 1229: 1171: 1038: 1005: 757: 544: 332: 1055: 816: 524: 68: 1297: 475: 329: 325: 705: 1280: 1166: 811: 678: 633: 408: 266: 42: 1224: 881: 841: 665: 618: 598: 337: 75: 1081: 1060: 951: 908: 232: 186: 1196: 603: 591: 218: 197: 181: 57: 1094: 1089: 1033: 821: 613: 539: 483: 1285: 990: 966: 913: 683: 581: 174: 1161: 978: 554: 307:
Usage โ€“ rules that detect potential flaws in your assemblies that can affect code execution.
169: 1302: 896: 670: 608: 519: 301:
Performance โ€“ rules that detect elements in your assemblies that will degrade performance.
262: 413: 403: 1265: 831: 777: 246: 240: 1331: 1156: 1025: 961: 886: 762: 493: 1255: 946: 941: 772: 623: 243: 82: 725: 956: 876: 274: 270: 24: 826: 801: 789: 784: 559: 429: 127: 419: 1260: 1239: 985: 715: 341: 282: 236: 132: 710: 1214: 806: 693: 534: 362: 258: 1219: 973: 936: 891: 836: 794: 643: 638: 549: 1234: 571: 564: 1275: 1270: 918: 742: 628: 249:
for conformance to Microsoft's .NET Framework Design Guidelines.
1109: 928: 737: 316:
Reliability โ€“ rules that detect correct memory and thread usage.
433: 1290: 321: 289:
COM (Interoperability) โ€“ rules that detect COM Interop issues.
18: 310:
Maintainability โ€“ rules that detect maintenance issues.
1248: 1205: 1184: 1149: 1118: 1080: 1073: 1024: 927: 869: 860: 658: 512: 474: 465: 313:
Portability โ€“ rules that detect portability issues.
192: 180: 168: 142: 126: 49:. Unsourced material may be challenged and removed. 383:"Code Analysis Team Blog: FxCop 10.0 is available" 324:and command line versions of the tool. Microsoft 445: 8: 420:FxCop v1.36 no longer available for download 121: 1077: 866: 471: 452: 438: 430: 425:FxCop: Downloading the most recent version 217: 120: 109:Learn how and when to remove this message 1105:Business Intelligence Development Studio 374: 358:List of tools for static code analysis 7: 47:adding citations to reliable sources 14: 1314: 1313: 414:FxCop: Policing Code Correctness 333:Team System Development Editions 23: 1197:Team Foundation Version Control 34:needs additional citations for 269:, FxCop analyzes the compiled 1: 1343:Static program analysis tools 1348:Microsoft development tools 460:Microsoft development tools 151:; 14 years ago 1364: 1311: 1172:Extensible Storage Engine 577:Robotics Developer Studio 187:Static code analysis tool 164: 138: 16:Static code analysis tool 996:Communication Foundation 1298:Windows Package Manager 1011:Presentation Foundation 1338:.NET programming tools 1281:Web Platform Installer 1167:Access Database Engine 634:Native Image Generator 499:Tools for Applications 267:C programming language 338:Microsoft Windows SDK 263:Lint programming tool 909:Xbox Development Kit 494:Team System Profiler 320:FxCop includes both 233:static code analysis 43:improve this article 1016:Workflow Foundation 1001:Identity Foundation 587:SharePoint Designer 404:FxCop 2.0 home page 273:, not the original 123: 614:Windows App Studio 330:Visual Studio 2008 326:Visual Studio 2005 1325: 1324: 1286:Windows Installer 1192:Visual SourceSafe 1180: 1179: 1100:Management Studio 1069: 1068: 914:Windows Installer 654: 653: 226: 225: 175:Microsoft Windows 119: 118: 111: 93: 1355: 1317: 1316: 1162:Microsoft Access 1078: 979:Entity Framework 867: 504:Tools for Office 472: 454: 447: 440: 431: 416:- Addison-Wesley 391: 390: 385:. Archived from 379: 222: 221: 214: 211: 209: 207: 205: 203: 201: 199: 170:Operating system 159: 157: 152: 124: 114: 107: 103: 100: 94: 92: 51: 27: 19: 1363: 1362: 1358: 1357: 1356: 1354: 1353: 1352: 1328: 1327: 1326: 1321: 1307: 1303:Microsoft Store 1244: 1230:Script Debugger 1207: 1201: 1176: 1145: 1114: 1065: 1020: 923: 897:Managed DirectX 862: 856: 650: 609:Windows App SDK 545:Macro Assembler 508: 467: 461: 458: 400: 395: 394: 381: 380: 376: 371: 354: 255: 216: 196: 160: 155: 153: 150: 115: 104: 98: 95: 52: 50: 40: 28: 17: 12: 11: 5: 1361: 1359: 1351: 1350: 1345: 1340: 1330: 1329: 1323: 1322: 1312: 1309: 1308: 1306: 1305: 1300: 1295: 1294: 1293: 1283: 1278: 1273: 1268: 1263: 1258: 1252: 1250: 1246: 1245: 1243: 1242: 1237: 1232: 1227: 1222: 1217: 1211: 1209: 1203: 1202: 1200: 1199: 1194: 1188: 1186: 1185:Source control 1182: 1181: 1178: 1177: 1175: 1174: 1169: 1164: 1159: 1153: 1151: 1147: 1146: 1144: 1143: 1138: 1133: 1128: 1122: 1120: 1116: 1115: 1113: 1112: 1107: 1102: 1097: 1092: 1086: 1084: 1075: 1071: 1070: 1067: 1066: 1064: 1063: 1058: 1053: 1052: 1051: 1046: 1036: 1030: 1028: 1026:Device drivers 1022: 1021: 1019: 1018: 1013: 1008: 1003: 998: 993: 988: 983: 982: 981: 971: 970: 969: 964: 959: 954: 949: 944: 933: 931: 925: 924: 922: 921: 916: 911: 906: 901: 900: 899: 889: 884: 879: 873: 871: 864: 858: 857: 855: 854: 849: 844: 839: 834: 832:Project Verona 829: 824: 819: 814: 809: 804: 799: 798: 797: 792: 782: 781: 780: 775: 765: 760: 755: 750: 745: 740: 735: 730: 729: 728: 723: 718: 713: 703: 698: 697: 696: 691: 686: 681: 673: 668: 662: 660: 656: 655: 652: 651: 649: 648: 647: 646: 641: 636: 631: 626: 616: 611: 606: 601: 596: 595: 594: 584: 579: 574: 569: 568: 567: 557: 552: 547: 542: 537: 532: 527: 525:Expression Web 522: 516: 514: 510: 509: 507: 506: 501: 496: 491: 486: 480: 478: 469: 463: 462: 459: 457: 456: 449: 442: 434: 428: 427: 422: 417: 411: 406: 399: 398:External links 396: 393: 392: 389:on 2010-08-01. 373: 372: 370: 367: 366: 365: 360: 353: 350: 318: 317: 314: 311: 308: 305: 302: 299: 296: 293: 290: 254: 251: 224: 223: 208:/bb429476%28VS 194: 190: 189: 184: 178: 177: 172: 166: 165: 162: 161: 149:10.0 / 2010 148: 146: 144:Stable release 140: 139: 136: 135: 130: 117: 116: 31: 29: 22: 15: 13: 10: 9: 6: 4: 3: 2: 1360: 1349: 1346: 1344: 1341: 1339: 1336: 1335: 1333: 1320: 1310: 1304: 1301: 1299: 1296: 1292: 1289: 1288: 1287: 1284: 1282: 1279: 1277: 1274: 1272: 1269: 1267: 1264: 1262: 1259: 1257: 1254: 1253: 1251: 1247: 1241: 1238: 1236: 1233: 1231: 1228: 1226: 1223: 1221: 1218: 1216: 1213: 1212: 1210: 1204: 1198: 1195: 1193: 1190: 1189: 1187: 1183: 1173: 1170: 1168: 1165: 1163: 1160: 1158: 1157:Visual FoxPro 1155: 1154: 1152: 1148: 1142: 1139: 1137: 1134: 1132: 1129: 1127: 1124: 1123: 1121: 1117: 1111: 1108: 1106: 1103: 1101: 1098: 1096: 1093: 1091: 1088: 1087: 1085: 1083: 1079: 1076: 1072: 1062: 1059: 1057: 1054: 1050: 1047: 1045: 1042: 1041: 1040: 1037: 1035: 1032: 1031: 1029: 1027: 1023: 1017: 1014: 1012: 1009: 1007: 1004: 1002: 999: 997: 994: 992: 989: 987: 984: 980: 977: 976: 975: 972: 968: 965: 963: 960: 958: 955: 953: 950: 948: 945: 943: 940: 939: 938: 935: 934: 932: 930: 926: 920: 917: 915: 912: 910: 907: 905: 902: 898: 895: 894: 893: 890: 888: 885: 883: 880: 878: 875: 874: 872: 868: 865: 859: 853: 850: 848: 845: 843: 840: 838: 835: 833: 830: 828: 825: 823: 820: 818: 815: 813: 810: 808: 805: 803: 800: 796: 793: 791: 788: 787: 786: 783: 779: 776: 774: 771: 770: 769: 766: 764: 763:Visual FoxPro 761: 759: 756: 754: 751: 749: 746: 744: 741: 739: 736: 734: 731: 727: 724: 722: 719: 717: 714: 712: 709: 708: 707: 704: 702: 699: 695: 692: 690: 687: 685: 682: 680: 677: 676: 675:Visual Basic 674: 672: 669: 667: 664: 663: 661: 657: 645: 642: 640: 637: 635: 632: 630: 627: 625: 622: 621: 620: 617: 615: 612: 610: 607: 605: 602: 600: 597: 593: 590: 589: 588: 585: 583: 580: 578: 575: 573: 570: 566: 563: 562: 561: 558: 556: 553: 551: 548: 546: 543: 541: 538: 536: 533: 531: 528: 526: 523: 521: 518: 517: 515: 511: 505: 502: 500: 497: 495: 492: 490: 487: 485: 482: 481: 479: 477: 476:Visual Studio 473: 470: 464: 455: 450: 448: 443: 441: 436: 435: 432: 426: 423: 421: 418: 415: 412: 410: 407: 405: 402: 401: 397: 388: 384: 378: 375: 368: 364: 361: 359: 356: 355: 351: 349: 345: 343: 339: 334: 331: 327: 323: 315: 312: 309: 306: 303: 300: 297: 294: 291: 288: 287: 286: 284: 280: 276: 272: 268: 264: 260: 252: 250: 248: 245: 242: 238: 234: 230: 220: 213: 195: 191: 188: 185: 183: 179: 176: 173: 171: 167: 163: 147: 145: 141: 137: 134: 131: 129: 125: 113: 110: 102: 91: 88: 84: 81: 77: 74: 70: 67: 63: 60: โ€“  59: 55: 54:Find sources: 48: 44: 38: 37: 32:This article 30: 26: 21: 20: 1256:Active Setup 1141:Notification 1119:SQL services 952:Dynamic Data 624:CLR Profiler 529: 468:environments 387:the original 377: 346: 319: 281:parsing and 256: 244:managed code 239:that checks 228: 227: 128:Developer(s) 105: 96: 86: 79: 72: 65: 53: 41:Please help 36:verification 33: 1206:Testing and 1136:Integration 1056:Windows HLK 882:Silverlight 877:Windows API 842:Small Basic 721:Managed C++ 666:Dynamics AX 619:Windows SDK 599:Small Basic 466:Development 275:source code 271:object code 1332:Categories 1225:Playwright 1082:SQL Server 863:frameworks 827:PowerShell 802:IronPython 790:TypeScript 785:JavaScript 706:Visual C++ 560:QuickBASIC 409:FxCop blog 369:References 277:. It uses 265:, for the 247:assemblies 235:tool from 231:is a free 200:.microsoft 69:newspapers 1261:ClickOnce 1240:xUnit.net 1208:debugging 1131:Reporting 991:CardSpace 967:Web Forms 748:Dexterity 726:C++/WinRT 659:Languages 604:WebMatrix 592:FrontPage 342:Windows 7 283:callgraph 261:, or the 237:Microsoft 133:Microsoft 1319:Category 1249:Delivery 1215:CodeView 1126:Analysis 1074:Database 861:APIs and 822:Power Fx 807:IronRuby 694:VBScript 540:MACRO-80 535:GW-BASIC 363:StyleCop 352:See also 259:StyleCop 253:Overview 206:/library 99:May 2013 1220:OneFuzz 1095:Compact 1090:Express 974:ADO.NET 937:ASP.NET 892:DirectX 795:JScript 716:C++/CLI 644:XAMLPad 639:WinDiff 550:MSBuild 489:Express 257:Unlike 193:Website 154: ( 83:scholar 58:"FxCop" 1235:WinDbg 870:Native 711:C++/CX 701:Bosque 684:VB.NET 679:legacy 582:Roslyn 572:QuickC 565:QBasic 555:Pascal 513:Others 215:  210:.80%29 204:/en-us 85:  78:  71:  64:  56:  1276:vcpkg 1271:NuGet 1150:Other 962:Razor 919:WinUI 743:Dafny 671:BASIC 629:ILAsm 530:FxCop 520:Blend 229:FxCop 212:.aspx 122:FxCop 90:JSTOR 76:books 1110:MSDE 1049:UMDF 1044:KMDF 1006:LINQ 986:MAUI 947:AJAX 942:Core 929:.NET 852:XAML 812:Lean 768:Java 738:C/AL 484:Code 340:for 328:and 241:.NET 202:.com 198:msdn 182:Type 156:2010 62:news 1291:WiX 1266:npm 1061:WDM 1039:WDF 1034:WDK 957:MVC 904:UWP 887:XNA 847:VPL 773:J++ 689:VBA 322:GUI 279:CIL 45:by 1334:: 837:Q# 778:J# 758:F* 753:F# 733:C# 344:. 817:P 453:e 446:t 439:v 158:) 112:) 106:( 101:) 97:( 87:ยท 80:ยท 73:ยท 66:ยท 39:.

Index


verification
improve this article
adding citations to reliable sources
"FxCop"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
Developer(s)
Microsoft
Stable release
Operating system
Microsoft Windows
Type
Static code analysis tool
msdn.microsoft.com/en-us/library/bb429476%28VS.80%29.aspx
Edit this on Wikidata
static code analysis
Microsoft
.NET
managed code
assemblies
StyleCop
Lint programming tool
C programming language
object code
source code

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

โ†‘