User Guide: DV8 Standard Input
DV8 Standard Input
DV8 is a versatile tool designed for dependency visualization, measurement, and analysis. It can process and analyze dependencies between program entities, components, service components, or any custom-defined relationships, provided these dependencies are represented in either standard JSON or XML format.
Standard Dependency Input Formats
Below are examples of dependency files that model source code dependencies implementing the Abstract Factory Pattern:
- Sample JSON format: Abstract Factory Dependency file
- Sample XML format: Abstract Factory Dependency file
Standard Clustering Input Formats
A system’s dependency structure can be clustered in various ways to provide different perspectives of the design. Below are examples of clustering files that demonstrate two different ways of visualizing the Abstract Factory Pattern:
- Sample JSON format: Lower Triangle Clustering file
- Sample JSON format: Design Rule Hierarchy Clustering file
- Sample XML format: Lower Triangle Clustering file
- Sample XML format: Design Rule Hierarchy Clustering file
Importing to / Exporting from DV8
These files can be converted to or exported from DV8's internal formats—such as a DV8 dependency file (.dv8-dsm
) or a DV8 clustering file (.dv8-clustering
)—using DV8’s CLI converter commands or through the File -> Import Matrix From menu in DV8 Explorer.
By utilizing these standard formats, you can define and create your own custom dependency files and analyze them within DV8. For instance, you can model and analyze runtime dependencies, developer dependencies, or component dependencies, provided they are output in JSON or XML format.