Saturday, May 22, 2010

Dependency Analysis with STAN (Video)

We've created a video introducing dependency analysis with STAN. Watch and listen to the music of Tiefenrausch Klangkombinat, a Jazz/Funk/Fusion combo from Frankfurt.





Friday, December 11, 2009

Project and Bundle Dependency Graphs

STAN IDE 2.0 introduces tools to visualize Eclipse project and OSGi bundle dependencies. The tools are packaged into additional, optional features
  • STAN IDE Tools (project dependencies)
  • STAN IDE Tools - PDE (bundle dependencies)
Once installed, the project/bundle dependencies are available from Window > Show View in category STAN Tools:

Both views follow the same usage patterns. Let's take some project dependencies as an example. Just drag and drop projects from Eclipse' Package (or Project) Explorer to add them to the graph.
OK, what's about the "+" and "-" overlay icons?
  • A "+" indicates that there are outgoing dependencies that are currently not shown. These dependencies can be added by double clicking the node. E.g. adding outgoing dependencies for de.odysseus.stan.eclipse.coverage.core may give
  • A "-" indicates that there are incoming dependencies that are currently not shown. These dependencies can be added by double clicking the node while holding the ALT key. E.g. adding incoming dependencies for de.odysseus.stan.eclipse.coverage.core may give
Here's what the edge labels mean:
  • For project dependencies, edges may be labeled "s" (static), "d" (dynamic) or "s+d" (both). A "static" dependency can be added on the "Project References" page in the project's properties. A "dynamic" dependency is introduced through Java Build Path, Java EE Module Dependencies, etc.
  • For bundle dependencies, edges may be labeled "r" (requires bundle), "i" (imports packages), or "i+r" (both). Fragments may also have an "h" (is hosted by) dependency to their host bundle.
Both views also let you remove selected nodes by simply pressing the DEL key.

As a final example, here are the outgoing (transitive) bundle dependencies for org.eclipse.core.runtime:
By the way, use the "+" button from the view's toolbar to add bundles from your active target platform.
Hope you like it!

Sunday, November 1, 2009

STAN 2.0 Public Beta available

The beta period will last until February 28 of 2010. During this period, you are invited to download and use the fully functional product for evaluation purposes. Moreover, STAN 2.0 will have a community license option for free, non-commercial use.

What's New?
  • Sandbox View - Explore dependencies between any artifacts as easy as Drag'n Drop
  • Map View - Visualize metric ratings in fancy green-to-red treemaps
  • IDE Tools - Views to show Eclipse Project/Plug-in dependency graphs
If you haven't used STAN before, now is the time!

Sunday, June 28, 2009

STAN 1.1 with Community License Option

STAN 1.1 has just been released. Since 1.0 more that a year ago, we went through 1.0.1 to 1.0.4, constantly improving the product regarding to stability and usability. Since 1.0, lots of "little things" have found their way into STAN:
  • Choose between Java 5 generic and raw signatures
  • Determine the order in which libraries are analyzed
  • Improved "Open Declaration" (F3) in STAN IDE
  • Copy to clipboard in Query/Violations/Dependencies View
  • In addition to class exclusions, inclusion patterns are supported
  • Show dependencies for multiple edge selections in Dependencies View
  • Parse annotations, indicate @Deprecated with an icon overlay
  • Introduce pollution, a number suitable to trace quality over time
  • Added treemap overview in Structure Explorer and Pollution View
  • Show excluded classes under a separate root in Structure Explorer
  • Re-include excluded classes from the Explorer's context menu

With STAN 1.1 we also updated the license terms by adding a Community License option.

What does that mean? Well, you may now download and use STAN without a license key! However, structure analysis will be limited to 100 classes. Any classes exceeding that limit will be automatically excluded from the analysis. That's the only restriction when using STAN under the terms of the community license option. The other license conditions did not change: if you like STAN, you can still register at stan4j.com for a 30 days evaluation and you can still buy node-locked or personal licenses.

Wednesday, April 16, 2008

STAN IDE free for Open Source

I am happy to announce the availability of free STAN IDE licenses for Open Source projects.

For those who don't know: STAN IDE is the Eclipse 3.3+ integrated product variant. STAN IDE provides its own perspective, showing various dependency graphs, ranking metric violations, generating HTML reports, etc. STAN adds a launch configuration type for Structure Analysis to the IDE, thereby allowing to run an analysis directly from the Java Package Explorer. See http://stan4j.com/ for further information.

By sharing STAN IDE, we aim to support the Open Source community in general and the Eclipse community in particular. So, if you are managing an Open Source project and would like to utilize STAN IDE, please submit your proposal to info at stan4j dot com, providing
  • the name of your project,
  • a short project description,
  • the Web URL of your project,
  • the status of your project.
Cheers!

Friday, March 28, 2008

STAN 1.0 is out!

Finally, STAN 1.0 is reality and has been shipped to early adopters. Thanks to everyone who helped to make this happen!

Sunday, March 2, 2008

Introducing Metric Queries

STAN public Beta 3 adds support for metric queries. Here's the Query View:



Pressing one of the new buttons (e.g. Class Query...) launches the query dialog: