Geertjan's Blog

  • March 26, 2009

Dependency Analyzer for NetBeans Modules

Geertjan Wielenga
Product Manager
One of the 5 really cool student projects recently created in Linz is... a NetBeans module dependency analyzer! Here it is in action, pretty cool:

I highly recommend it, obviously. (Click the link above to jump to where you can download it.) It's a great tool and possibly feedback could be given to its author.

Join the discussion

Comments ( 4 )
  • Honza Thursday, March 26, 2009

    When I try this, I get an exception:

    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

    at java.lang.String.substring(String.java:1932)

    at java.lang.String.substring(String.java:1905)

    at at.csc.depvisualizer.visual.ModuleWidget.<init>(ModuleWidget.java:81)


    lines 80 and 81 of ModuleWidget.java are

    int lastpt = data.getCodeNameBase().lastIndexOf('.');

    displayname = data.getCodeNameBase().substring(lastpt);

    Now it does that only with one of my modules, but the strange thing is that there IS a '.' in this project's code name base. It also has a display name, so it should not even get into that 'else' branch... or maybe something's broken with my module...

    Anyway, don't know how to reach the author, so I'm writing it here.

  • Fabrizio Giudici Thursday, March 26, 2009

    It can be a great tool, but I can see it working only selecting a single module - which is not much interesting per se. It would be much more interesting to be able to select a module suite and see all the inter-depedencies among its modules.

  • Fabrizio Giudici Thursday, March 26, 2009

    Honza, I'm also seeing the .foo stuff, even though all my modules have display names.

  • Oliver Rettig Tuesday, March 31, 2009


    I have the same problem: My modules have display names but the nodes show only the last part of the modules id (java package) instead: e.g. ".api" if my modules id is de.orat.noaccent.api

    Has somebody looked at the code to solve this.

    best regards


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.