NDepend User Voice
Welcome to the NDepend User Voice page. Let us know what you would like to see in future versions of NDepend. This site is for suggestions and ideas. If you need to report a bug, please send us an email at support@ndepend.com
We look forward to hearing from you!
Thanks – Patrick Smacchia
NDepend Team
17 results found
-
Exporting to Excel
When exporting to Excel, the output is not actually Excel format but HTML. This causes issues when exporting items such as the Breaking Point and EffortToDevelop attributes as these come through as hyperlinks if the man hours and costs option is selected. If this data is to be used it requires a lot of manual work or a custom macro.
1 vote -
Detect XML Comments
We've a strict rule that every public member must be documented via xml comments, we need a way to find pieces of code that violate this rule.
7 votes -
IDesign
Any plans in the works to create rules that enforce IDesign practices & principles (http://www.idesign.net/)?
1 vote -
Select N+1 - Database Code within a loop
I'd like to query for instances of the Select N+1 problem. Where database code is happening within a loop resulting in 'N' database queries for each iteration of the loop where one or two well-designed queries would do.
This could be implemented by searching for any method calls to a sub-typer of IRepository<T> or Repository<T> that occurs within a for, foreach or Enumerable loop.
4 votes -
Match CQLinq code editing behavior with VS's
I would like to see a match CQLinq code edit behavior with VS's one.
eg., select multiple lines, then 'tab' and 'shift+tab' would shift +/-1 tab those lines.
eg., caret not selecting anything but put on line x, then 'ctrl+c' 'ctrl+v' 'ctrl+d' would copy the entire line (with \r\n included), paste the entire line, duplicate the entireline
eg., double click one word would show all usages of this word4 votes -
Have ability to create rule that compares trend metrics between builds
I've depracated a type in my codebase. I want a CQL rule that says 'from this point, don't use any of these methods'.
This request is in response this this SO question: http://stackoverflow.com/questions/37860292/how-can-i-get-ndepend-to-fail-analysis-if-new-calls-are-used-to-a-deprecated-typ
7 votes -
Being able to read attribute property values
Being able to filter on attribute property values.
One example is to check categories on Test methods (i.e. the value from [TestCategory("IntegrationTest")]).
135 votes -
Allow custom definitions similar to JustMyCode
The JustMyCode definition is really nice and useful. I'd like to have a similar concept for other things, e.g. JustMyBusinessLogic or JustMyDatabaseLayer. Today I need to create different NDepend projects and adapt the JustMyCode definition for each of them.
45 votes -
79 votes
-
Rules: Provide possibility to search for code comments. Example: Count "TODO" or Count "HACK"
It would be interesting to see how many TODOs we have in code
Or how much we added in the last Sprint66 votes -
See suppressed issue justification in query result view
When using the SuppressMessageAttribute, the suppressed issues are grouped in the query result view. It would be very useful to also see the suppression ‘Justification’. Perhaps add a column so we could group by justification? Thanks.
1 vote -
Find empty catch blocks
Empty catch blocks are a serious maintainability/reliability issue, as is doing too much in a catch block. Would be great to have an easy way to locate/count all the places where catch blocks have no executable code in them, and/or get a line of code count in all catch blocks across an application.
15 votes -
Improve management of rules shared between projects
In addition to sharing custom rules between projects I want to be able to enable/disable rules among all my projects. I currently have 5 active ND projects, so if I want to turn off, for instance, "Nested types should not be visible" for all my projects, I have to go uncheck it in each project. Every time I tweak my rules, I have to go repeat these tweaks in all my ND projects.
Some sort of meta-project rules management would be an enormous effort saver.
In addition, once a set of "standard rules" are decided upon, it would be nice…1 vote -
Flag commented-out code.
Using SonarQube, I see that they have a rule for flagging code that has been commented-out. Does this exist in NDepend, or could it be added?
5 votes -
Multiple Nodes Selection in Query Result or Class Browser
It would be great to be able to select multiple nodes in the Query Result or the Class Browser.
Right-clicking them would lead to special menus, like:
- Copy as text,
- Export/Append to Matrix/Graph,
- Create code queries like, Who is Using Any of Us, Who is Using All of Us...It would also be great to be able to drag&drop them to Graph or Matrix.
3 votes -
Queries explorer enhancements.
Would be nice to:
- Be able to define subgroups with the same name as other top level groups. Example | Code Quality Regression | Custom Group | Code Quality Regression The above example throws an error.
- Be able to select and copy/move multiple rules to different groups.
2 votes -
Is there a possibility to see if there is method summary available?
We would like to have an alert if there is a public method without a method summary on certain namespaces.
Can nDepend help us with that??THANKS guys!
6 votes
- Don't see your idea?