Ticket #5 (closed task: fixed)

Opened 10 years ago

Last modified 10 years ago

Find tools for UML generation

Reported by: curtis Owned by: rlentz
Priority: major Milestone: progress-report
Component: Core Version:
Severity: non-issue Keywords:
Cc: Blocked By:
Blocking:

Description

We want to generate UML diagrams and other visualizations of the ImageJ class hierarchy, to aid in understanding and prioritizing work.

Attachments

util.svg Download (58.2 KB) - added by rlentz 10 years ago.
Util Package
text.svg Download (208.0 KB) - added by rlentz 10 years ago.
Text Package
process.svg Download (1.7 MB) - added by rlentz 10 years ago.
Process Package
plugin.svg Download (2.6 MB) - added by rlentz 10 years ago.
Plugin Package
measure.svg Download (403.1 KB) - added by rlentz 10 years ago.
Measure Package
macro.svg Download (1.1 MB) - added by rlentz 10 years ago.
Macro Package
io.svg Download (911.1 KB) - added by rlentz 10 years ago.
IO Package
ij.svg Download (1.4 MB) - added by rlentz 10 years ago.
IJ Package
gui.svg Download (2.1 MB) - added by rlentz 10 years ago.
GUI Package

Change History

comment:1 Changed 10 years ago by curtis

One useful tool is  UMLGraph, which generates UML diagrams from Java class hierarchies using javadoc (as a doclet) and  Graphviz:

java -cp $CP:/Users/curtis/apps/UMLGraph-5.2/lib/UmlGraph.jar \
  org.umlgraph.doclet.UmlGraph -public \
  -sourcepath /Users/curtis/code/LOCI/imagej/src \
  ij ij.gui ij.io ij.macro ij.plugin ij.plugin.filter \
  ij.plugin.frame ij.process ij.text ij.util \
  -output - | dot -Tpng -oImageJ.png -Gratio=0.7

In practice, though, we may need to limit this to 1-2 packages at a time.

comment:2 Changed 10 years ago by curtis

  • Owner changed from curtis to rlentz
  • Status changed from new to assigned

comment:3 Changed 10 years ago by rlentz

  • Status changed from assigned to accepted

comment:4 Changed 10 years ago by rlentz

In addition to the tools already mentioned, IBM's Rational Software Architect Standard Edition has several tools that can automate some of the modeling and analysis processes we are likely to take on. Specifically, the use of Java to UML through the specification of a transformation and Software Analysis features.

comment:5 Changed 10 years ago by rlentz

9 UML Diagrams were created covering the current ImageJ code base. Files are respective of package and thus vary in size.

Changed 10 years ago by rlentz

Util Package

Changed 10 years ago by rlentz

Text Package

Changed 10 years ago by rlentz

Process Package

Changed 10 years ago by rlentz

Plugin Package

Changed 10 years ago by rlentz

Measure Package

Changed 10 years ago by rlentz

Macro Package

Changed 10 years ago by rlentz

IO Package

Changed 10 years ago by rlentz

IJ Package

Changed 10 years ago by rlentz

GUI Package

comment:6 Changed 10 years ago by rlentz

  • Status changed from accepted to closed
  • Resolution set to fixed

comment:7 Changed 10 years ago by curtis

Which tool did you use to generate these diagrams?

Note: See TracTickets for help on using tickets.