-
Notifications
You must be signed in to change notification settings - Fork 13
Depends
Carlos Paradis edited this page May 14, 2023
·
3 revisions
https://github.com/multilang-depends/depends/blob/master/doc/dependency_types.md
{
"schemaVersion": "1.0",
"name": "sample-sdsm",
"variables": [
"A.java",
"B.java"
],
"cells": [
{
"src": 0,
"dest": 1,
"values": {
"Call": 1,
"Import": 2,
"Create": 3
}
}
]
}
Dependency could be see as a square matrix. The variables are the column/row variables, and cells are the matrix cell.
Variables are all files/methods or any variables under analysis.
Cells contains all the relations of variable pair. The number is the variable index (0-based).
For each cell (src->dest pair), the relations are outputted in values.
Each value contains the dependency type and weight.
Source: https://github.com/multilang-depends/depends/blob/master/doc/output_format.md