Our Delphi Unit Dependency Scanner (DUDS) has been updated with a couple of new features.

Our Delphi Unit Dependency Scanner (DUDS) has been updated with a couple of new features.

The first allows you to export the dependency tree to XML.

The second builds a CSV file that you can import into Gephi (http://gephi.github.io/). Gephi is open source and allows you to build a graph from your unit relationships.

Thanks to Zigmund Bulinsh for the ideas.

DUDS is now open source. You can find it on GitHub along with a link to the latest installer - https://github.com/norgepaul/DUDS/blob/master/README.md
http://gephi.github.io

Comments

  1. Nice, exactly what I was looking for earlier this morning - tried Icarus and it just failed finding where some unit was used :)

    I noticed one bug though. When switching to list view and then typing any uppercase letter in the filter edit it does not show anything.

    ReplyDelete
  2. Stefan Glienke - Thanks and fixed. I'll upload a new build later today.

    ReplyDelete
  3. Found more circular refs than I was comfortable with... sigh...

    Suggestions for further enhancements:
    - Highlighting of classes, types, variables or constants that are referenced in circular references.

    ReplyDelete
  4. +lars fosdal - The DUDs parser is pretty basic and only capable of extracting the linked units. Perhaps in the future I could incorporate +roman yankovsky's DelphiAST parser and look a little deeper than just the unit names and relationships.

    ReplyDelete
  5. F.x. Unused types, constants, variables as well  :)

    ReplyDelete
  6. Paul Thornton There are many useful things which can be accomplished by relatively simple tools. I built one back in D6 to discover the set of all components in a massive project, as we were preparing to move to a new release of Delphi. Simple tool, but useful. With that framework in place, I found occasion to add scans for other information mining.

    In each case, and for multiple reasons, I could not get what I needed from a commercial tool.

    ReplyDelete
  7. I've uploaded a new build with fixes for the
    issues reported today. Thanks testers :)

    ReplyDelete
  8. your tool is very useful, but gephi is mesmerizing!

    ReplyDelete
  9. Suggestion - highlight item not in path and add option to add item's Path to the search path.

    ReplyDelete
  10. The link to download your Delphi Unit Dependency Scanner is broken! Where ca be downloaded: seems quite useful.

    ReplyDelete
  11. Fabio VITALE - DUDS is now open source. I've updated the post to point to the GitHub repository.

    ReplyDelete

Post a Comment