code-maat icon indicating copy to clipboard operation
code-maat copied to clipboard

mining logical coupling not work for my git logfile

Open rainyu119 opened this issue 4 years ago • 2 comments
trafficstars

hi there, i run code maat coupling analysis with command '-a coupling' and get empty report i wander if there any limitation for the logfile? i had commited two files 4 times together, the expect result should be these two files 100% coupled, but the report is empty looking forward your reply

rainyu119 avatar Apr 21 '21 11:04 rainyu119

Hi @rainyu119

code maat has thresholds that help you avoid false positives in larger systems. In case of change coupling, the relevant thresholds are --min-revs and --min-shared-revs. They are documented here: https://github.com/adamtornhill/code-maat#running-code-maat

Let me know if this helps.

adamtornhill avatar Apr 21 '21 15:04 adamtornhill

thanks for the quick reply, i tried this two commands, it works when i set them to a low level and if i could know what's the default value for these two thresholds?

rainyu119 avatar Apr 21 '21 17:04 rainyu119