Implement an analysis step that returns different statics for each program in the dataset.
This statistics should also support the requirements for the next analysis steps.
The output should be in the next json format:
{
"program": "String",
"totalLinesCount": 0,
"commentLinesCount": 0,
"classesCount": 0,
"interfacesCount": 0,
"methodsCount": 0,
"classes": [
{
"name": "String",
"path": "String",
"methods": [
{
"name": "String",
"path": "String",
...
}
],
"properties": [
{
"name": "String",
"type": "String"
}
]
}
]
}
Implement an analysis step that returns different statics for each program in the dataset.
This statistics should also support the requirements for the next analysis steps.
The output should be in the next json format:
{ "program": "String", "totalLinesCount": 0, "commentLinesCount": 0, "classesCount": 0, "interfacesCount": 0, "methodsCount": 0, "classes": [ { "name": "String", "path": "String", "methods": [ { "name": "String", "path": "String", ... } ], "properties": [ { "name": "String", "type": "String" } ] } ] }