{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/opt\/php-tools\/vendor\/bin\/phpmetrics --report-json=\/tmp\/phpmetrics.json \/var\/www\/dev.campus.systemische-tools.de\/src 2>&1 | head -30",
"timeout": 120000,
"description": "Run PHPMetrics analysis on src"
}
}
{
"tool_response": {
"stdout": "................................................................................................................................................................................................................................................................................................................................................................Executing system analyzes...\n\r\n\u001b[2KExecuting composer analyzes, requesting https:\/\/packagist.org...\n\r\n\u001b[2KLOC\n Lines of code 20657\n Logical lines of code 16789\n Comment lines of code 3854\n Average volume 1090.22\n Average comment weight 25.01\n Average intelligent content 25.01\n Logical lines of code by class 85\n Logical lines of code by method 12\nObject oriented programming\n Classes 197\n Interface 47\n Methods 1433\n Methods by class 7.27\n Lack of cohesion of methods 2.18\n\nCoupling\n Average afferent coupling 1.62\n Average efferent coupling 3.02\n Average instability 0.57\n Depth of Inheritance Tree 1.02\n\nPackage\n Packages 38\n Average classes per package 6.42\n Average distance 0.29",
"stderr": "",
"interrupted": false,
"isImage": false
}
}