views:

1212

answers:

6

Hi!

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 proffessional version.

So, is there any alternative (maybe, open-source)? Preferrably, free. But not necessarily. Maybe, with a little bit more fitting price for a single-developer, not a team.

Requirements for this software: Build dependency diagrams Retrieve code metrics Display comments coverage (so far)

A: 

1.Your could get a new trial license to extend your old license

abmv
captain obvious? i didn't recognize you from the first sight, mon a mi!))
ifesdjeen
NDepend is the best ! ;-)
abmv
that's true, no questions at all!)but i don't have a key, and currently out of funds to buy it. so i'm looking for something that can give me at least the same functionality)
ifesdjeen
+2  A: 

There are a couple of options

Conrad
Why couldn't you guys answer without a bounty? that's sad!!
ifesdjeen
I answered it as soon as I saw it. Please remember all of us are on different time zones!
Conrad
:) it's more then a month old.in any case, i've reviewed the tools you suggest, but unfortunately they don't allow as good dependency view and graph building as NDepend...:(( does anyone want to pitch in to buy NDepend ? :)
ifesdjeen
Adding a bounty moved it to the "featured" tab, where it appeared on the first page. I assume that when it was "bountiless" it quickly moved out of the first page, and into oblivion.I assume the bounty does not extend to the second question you ask (the one Ive just answered) ;-)
Avi
+1  A: 

NDepend is a pretty slick package and whatever you find to replace it won't be quite as smooth or integrated, but...

Reflector is probably one of the best tools to build on, there's a few dependency graphing addins for it that can provide some of the diagramming tools. As for code metrics you can use FxCop to at least identify methods with relatively high cyclomatic complexity.

STW
+3  A: 

Don't think that you are going to find anything as good as nDepend.

But a lot of what you want to do is available within Visual Studio Team Edition

  • Visual studio has standard code metrics, we use maintainability index and require that all code under maintainabily index x be checked.
  • For comment coverage, we set that xml doc should be generated and that warnings = errors. That way if you are missing a comment you get a compile error.
  • Visual Studio also gives you code coverage for your tests

Reflector has a dependency graph addin which is available here:

http://reflectoraddins.codeplex.com/Wiki/View.aspx?title=Graph

Shiraz Bhaiji
+1  A: 

Visual Studio 2010 Beta 2 has a decent "Architecture Explorer" that is similar to NDepend (while not quite as good). You can download it freely and use it until it expires (I guess in a year or so). When it hits RTM it will not be free, but you might have better chance of convincing management to buy it anyway.

Omer Mor
+2  A: 

Nitriq is a new static code analysis tool for .net. They have a free version but you're limited to analyzing a single assembly at a time. They don't have graphs, but they do have a treemap and instead of having to learn CQL, you use LINQ to do all of your querying. You can find it at www.nitriq.com

Stan Marsh
Am I the only one who thinks this looks way too similar to NDepend? http://nitriq.com/images/largeScreenShot.png
TrueWill
Nope, I agree with you.
Peter Bernier