Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 398097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:42:53+00:00 2026-05-12T16:42:53+00:00

I am using fxCop and NDepend a lot at the moment, and I keep

  • 0

I am using fxCop and NDepend a lot at the moment, and I keep seeing the items their reports generate which are “wrong”1 and wondering to myself, why can’t these tools just go and make those fixes they are suggesting?

I get some are very hard to work out, but something like the fields should be marked readonly can very easily be applied with the information the tool has. However for me it means going to the tool, finding the item then placing the code in etc… Takes considerable time even for the smallest items.

I would even be happy if I had to confirm each change, in a similar to how CodeRush Xpress does with some it’s refactorings.

So is there a reason why these tools do not do this?


1 Wrong is relative here, since something like the 1700 class of fxCop errors which are all about naming aren’t bad code, but do make it harder for new developers to grapple the code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T16:42:53+00:00Added an answer on May 12, 2026 at 4:42 pm

    Possibly because there isn’t always — or even most of the time — a single, correct choice of refactoring to make. There usually are dozens of ways to refactor code so, that the amount of warnings will be reduced, but the one that is actually right for the project is something a developer should decide.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has Stylecop superseded FXcop? Which product should we be using with Visual Studio 2008?
We have recently started using FxCop on our code base and I am in
On my current project, I am using FxCop to work through various code analysis
I'm using StyleCop and FxCop tools to improve my code but I came to
Using MVVM. I have a DataTemplate which I am using to display an expander
Premise When using code analysis (or fxCop) with C# optional parameters you can get
When using Code Analysis and Code Contracts in combination, I get a lot of
I generated Fxcop analysis report using ant script. But I am unable to host
I am using FxCop and coded the following: public override void VisitBinaryExpression(BinaryExpression binaryExpression) {
I am using FxCop for my WPF MVVM assembly and it gives me the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.