ForUML is a reverse engineering tool that generates Unified Modeling Language (UML) class diagrams from object-oriented Fortran programs. ForUML understands and diagrams Fortran class relationships, including inheritance and aggregation. ForUML also detects and depicts operator overloading, constructors, and parallel data structures (coarrays).
ForUML generates a formal description of each diagram in the XML Metadata Interchange (XMI) format and launches ArgoUML to display the resulting class diagrams. Launching ArgoUML gives users the option to edit ForUML diagrams and to export the diagrams to a graphics file format for inclusion in other documents.
Users not wishing to contribute code to the ForUML project may download our end-user distribution from the ForUML project page and view an online video demonstration of using ForUML.
Prior to work on the project, please download and install the following:
Extract the lib.zip file on your machine.
After installing the above packages, open the ForUML project in NetBeans as follows:
You only need to do steps #2 and #3 above once.
To build the project from the command line, use 'Ant', an automation tool, to build the Java application. You can download Ant here. Once you have Ant, following these steps:
ant -f build.xml
build
and dist
. The build folder contains all compiled classes and the dist
folder contains the ForUML application and its required libraries. Notes:
build
and dist
) into the remote repository. We intend to keep only source code and configuration files in the repository.To run the application from the command line, go to the dist folder and type the following:
java -jar "ForUML.jar"
To distribute this project, zip up the dist
folder (including the lib
folder) and distribute the ZIP file.
If you find ForUML useful, please cite the following paper in publications that employ ForUML-generated diagrams:
Nanthaamornphong, Aziz, Jeffrey Carver, Karla Morris, and Salvatore Filippone. "Extracting uml class diagrams from object-oriented fortran: Foruml." Scientific Programming 2015 (2015): 1.
For other releated publications, please visit the publications page of Prof. Aziz Nanthaamornphong.