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

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. IDesign

    Any plans in the works to create rules that enforce IDesign practices & principles (http://www.idesign.net/)?

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    4 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  2. 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.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  3. 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 word

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  4. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  5. 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")]).

    125 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    8 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  6. 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.

    40 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    4 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  7. 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 Sprint

    63 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  3 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  8. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  9. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  10. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  11. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  12. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  13. Queries explorer enhancements.

    Would be nice to:

    1. 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.
    2. Be able to select and copy/move multiple rules to different groups.

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  14. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  15. 57 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    5 comments  ·  Code Rule and Query  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base