[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rastocny/SOFSEM_SeqDiag_ChangeProp

 
 

Repository files navigation

Automated Change Propagation from Source Code to Sequence Diagrams

Repository contains souce code, built jars and replication package of the tool presented in the paper "Automated Change Propagation from Source Code to Sequence Diagrams", in proceedings SOFSEM 2017.

Prototype installation

  1. Install Eclipse Luna
  2. Install Papyrus modeling environment to the Eclipse
  3. Install MoDisco extension
  4. Copy .jar files from the directory Build to the directory %ECLIPSE_DIR%\plugins
  5. (Re-)Start Eclipse Luna

Configuration

You can make your own configuration of the synchronization plugins fy defining configuration file %ECLIPSE_DIR%\plugins\configuration\com.mlyncar.dp.synch\synchronization.properties. You can specify:

  • Log file with details of a synchronization: synch.changelog=D:/workspace/synch.log
  • Maximal number of allowed lifelines in a sequence diagram: lifeline.max=5

Example of configuration file:

synch.changelog=D:/workspace/test.log
lifeline.max=100

Sequence diagram synchronization

Synchronization is avaiable for Java Standard Edition projects, that have UML models (in files with suffixes "_notation" and "_uml"). You can execute synchronization by selecting project and pressing button Synchronization Menu->Synchronize Sequence Diagrams. If there is not any synchronization error, you will see the message informing about successfully finished synchronization. Otherwise you you will see a message with the synchronization error. Details of the error are logged to the file workspace\.metadata\.log

Evaluation replication

Detailed description of test cases used in the evaluation is in the file TestCasesDescription.pdf. Each test case is described by:

  • original sequence diagram
  • original source code
  • description of source code modification
  • modified source code
  • description of synchronization results
  • synchronization log
  • resulted synchronized sequence diagram

To replicate the evaluation, testing projects are stored in the directory TestProjects. You can open the projects in Eclipse Luna as a worskpace and execute synchronization as it is described above. Then you can manually validate results of synchronization by observing changes in sequence diagrams.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.9%
  • D 0.1%