Analyzing Sparx System EA UML models

Purpose

The UML analyzer is intended to analyse dependencies between UML elements of a Sparx System Enterprise Architect UML model. The element hierarchy bases on UML package and structure in the model.

Pre requisites

Sparx Systems Enterprise Architect installed

Performing an analysis

Command line usage

Use the following command to run a analysis:

"C:\Program Files\DsmSuite\Analyzers\UML\DsmSuite.Analyzer.Uml.exe" AnalyzerSettings.xml


## Settings

The following settings are defined:

| Setting                                    | Description                                                                | 
|:-------------------------------------------|:---------------------------------------------------------------------------|
| LogLevel                                   | Log level as described above                                               |
| Input.Filename                             | EA model filename                                                          |     
| Output.Filename                            | Filename with dsi extension to which results will be written               |
| Output.Compress                            | Compress output file                                                       |

## AnalyzerSettings.xml example 

Example for analyzing the [DSMViewer UML model](https://github.com/dsmsuite/dsmsuite.github.io\uml_model\DsmViewer.eap).

```xml
<?xml version="1.0" encoding="utf-8"?>
<AnalyzerSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <LogLevel>Error</LogLevel>
  <Input>
    <Filename>SampleModel.EAP</Filename>
  </Input>
  <Output>
    <Filename>SampleModel.dsi</Filename>
    <Compress>true</Compress>
  </Output>
</AnalyzerSettings>

Additional Logging

No additional logging files defined.

back