Skip to content
/ dsm Public

A simple Dependency Structure Matrix tool in Java

License

Notifications You must be signed in to change notification settings

vieiro/dsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSM Tool

A simple command-line tool that creates an Excel file with a Dependence Structure Matrix from a text file.

Input format

The input text file has a dependency on each line. The source node of the graph is separated from the target node of the graph using a colon ':'.

For example, the file:

Alice : Bob
Alice : Charlie
Bob : Charlie

Defines an input graph with three nodes (Alice, Bob and Charlie) and three edges or "dependencies":

  • Alice : Bob means that Bob depends on Alice.

  • Alice : Charlie means that Charlie depends on Alice.

  • Bob : Charlie means that there is an edge from Bob to Charlie, this is, that Charlie depends on Bob.

Output format

The output is generated as an Excel file with name output.xlsx (existing ones will be overwriten).

The excel file will have the same number of rows and columns, elements in the matrix represent the dependencies. See Dependence Structure Matrix for details.

With the example file above, the result would be:

An example Excel output with the example graph

Compiling

  • Install Java 8 or above.

  • Install maven.

  • Clone the repository.

  • Build with mvn install

Running

java -jar target/dsm-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar [input-file]

Then open the generated Excel file "output.xlsx".

License

This software is © 2022 Antonio Vieiro, distributed under the Apache License. See LICENSE.txt.

Releases

No releases published

Packages

No packages published

Languages