ndepend Questions

16

Solved

A .NET 3.5 solution ended up with this warning when compiling with msbuild. Sometimes NDepend might help out but in this case it didn't give any further details. Like Bob I ended up having to reso...
Intoxicated asked 9/12, 2009 at 1:28

2

Solved

I recently used NDepend and it produced a good report on my .net assemblies and related pdbs. The most interesting thing I found in the report was abstractness vs. instability graph. I wanted to u...
Mainmast asked 23/6, 2009 at 7:39

1

I’m looking to be able to integrate into our build process the ability to compare after each build against the prior build any code changes made on any dependencies for a list of specific methods. ...
Tasha asked 4/8, 2015 at 20:15

6

Solved

Is there a tool that analyses .NET code and finds race conditions? I have a bit of code that has a public static property that gets or creates a private static field. It also has a public static m...
Finespun asked 4/3, 2010 at 13:35

1

Solved

I am looking for memory leaks in a huge code base so going line by line and observing for every possible location of where an IDisposable is used without being put in a using statement or without b...
Defamatory asked 5/3, 2015 at 15:5

2

Solved

If I create a simple class like the following: public class TestClass { public Task TestMethod(int someParameter) { return Task.FromResult(someParameter); } public async Task TestMethod(bool...
Broida asked 20/12, 2014 at 8:35

1

Solved

I'm running NDepend against my C# project in VS 2012. There is a particular "critical rule violation" that I have looked at and have decided that I want to leave as-is. I want to tell NDepend to ig...
Indefinable asked 7/12, 2013 at 22:30

3

Solved

I've just started using NDepend and am trying to analyse a solution. This warning appears when I add the solution's assemblies and it will not load any assemblies with the warning: Cant' load t...
Whin asked 8/9, 2010 at 11:14

3

Solved

I recently downloaded ndepend and ran an analysis on an open source project I participate in. I did not now where to look next - a bit of visual and information overload and it turned out I don't ...
Snaggy asked 4/9, 2008 at 19:54

3

Solved

Programmers on my team sometimes open a transaction and forget to include the scope.Complete() statement (see code block below). Any ideas on ways to either Search our solution for missing scope.C...
Gene asked 18/6, 2012 at 14:20

1

Solved

Using NDepend, how can I find all, direct and indirect, uses of a specific method or property? In particular, I need to find usages that occur via an interface somewhere along the use path. Thank...
Lanny asked 13/6, 2012 at 9:48

6

Solved

do you know any software similar to NDepend? I've got it just recently, and found it very useful. It helped me a lot, but for now i don't have a possibility to buy a professional version. S...
Invoke asked 15/6, 2009 at 15:28

1

Solved

Both CppDepend and NDepend are developed by the same company and seem to be based on the same codebase and share some features. I haven't found a side by side comparison site yet. I work on severa...
Guddle asked 17/2, 2012 at 13:5

2

I have a setup where Visual Studio 2010 runs test coverage analysis and it's output is absorbed by NDepend during an integration build. A few assemblies contain generated code that needs to be ign...
Ageratum asked 12/9, 2011 at 15:11

2

Solved

From https://stackoverflow.com/questions/273858/software-worth-buying, https://stackoverflow.com/questions/143088/open-source-c-projects-that-have-high-code-quality and https://stackoverflow.com/qu...
Alterable asked 25/6, 2011 at 23:10

1

Solved

I am looking at the LCOM metric as shown here, http://www.ndepend.com/Metrics.aspx So we are saying a few things, 1) A class is utterly cohesive if all its methods use all its instance fields 2...
Bread asked 16/5, 2011 at 3:58

6

Solved

I've been trying out NDepend, been reading a few blogposts about it and even heard a podcast. I think that NDepend might be a really useful tool, but I still don't see where I would use it. How d...
Indulgence asked 12/1, 2010 at 15:4

1

Solved

This stems from a previous question I asked regarding code metrics. I have been trying out nDepend as a tool to use in running metrics on our team's code. I have to say that so far I am very impre...
Silesia asked 3/1, 2011 at 18:59

1

Initialization of list with lambdas causes high IL cyclomatic complexity: why, and how remove this complexity? For example following code causes the static constructor of the class (which is actual...
Cholesterol asked 26/10, 2010 at 8:28

3

Solved

Occasionally I am looking at some code, I search for usages of a method (using resharper) and find that it is only called by tests. So it's effectively redundant and I can delete it and the methods...
Trevor asked 21/9, 2010 at 15:52

1

Solved

I've got some inherited code that has a tendency to pass objects around as interfaces (IFoo, for example) then, at arbitrary places in the code, spontaneously cast them to concrete implementations ...
Brasserie asked 26/8, 2010 at 17:52

1

I was able to do this in an earlier version of nDepend by going to tools->options and setting which assemblies would be part of the analysis (and ignore the rest). The latest version of the trial v...
Adolescence asked 14/5, 2010 at 22:57

2

Solved

Solved: Look at the bottom of this question for the working configuration I am attempting to set up NCover for usage in my FinalBuilder project, for a .NET 4.0 C# project, but my final cov...
Aluminum asked 22/4, 2010 at 9:7

2

Solved

I'm trying to get NDepend to identify long methods using a modified version of the standard "Methods too big" query. I don't want to report long methods that the developers have little control ov...
Wolfie asked 4/3, 2010 at 12:1

2

Solved

I would like to build an overview/map of as many of our applications dependencies as possible. Analyzing .NET application dependencies is fairly easy using tools such as NDepend (which I love!). Bu...
Jacobsohn asked 2/2, 2010 at 21:30

© 2022 - 2024 — McMap. All rights reserved.