Skip to content
/ ForUML Public
forked from t2time/ForUML

Extracting UML Class Diagrams from Object-Oriented Fortran

Notifications You must be signed in to change notification settings

rouson/ForUML

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ForUML

Overview

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.

Getting Started

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.

Developer Instructions

Prior to work on the project, please download and install the following:

  1. Java SE Development Kit version 1.7.0 or higher -
  2. NetBeans IDE v.8.0.0 or higher
  3. Additional libraries (lib.zip) available on the project web site.

Extract the lib.zip file on your machine.

After installing the above packages, open the ForUML project in NetBeans as follows:

  1. Launch NetBean
  2. Go the the menu File > Open Project, then select the project that you cloned from the repository.
  3. On the project, right click on the project and select Properties. In the popup window, select Libraries and select buttons 'Add Library' and 'Create' respectively. You must provide the library name as "LibForUML". You have to select the button "Add Jar/Folder..." that will ask you to add Jar files. You should select all Jar files contained in the extracted lib folder.
  4. Now you can work on the project!

You only need to do steps #2 and #3 above once.

Build Instructions

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:

  1. Go to the project directory and type the following:
   ant -f build.xml
  1. If you built successfully, you will see the 2 new folders, including build and dist. The build folder contains all compiled classes and the dist folder contains the ForUML application and its required libraries.

Notes:

  • DO not push those 2 directories (build and dist) into the remote repository. We intend to keep only source code and configuration files in the repository.

Execution Instructions

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.

Publications

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.

About

Extracting UML Class Diagrams from Object-Oriented Fortran

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.9%
  • GAP 5.1%