adamtornhill / code-maat

A command line tool to mine and analyze data from version-control systems
http://www.adamtornhill.com/code/codemaat.htm
2.37k stars 218 forks source link

mining logical coupling not work for my git logfile #75

Open rainyu119 opened 3 years ago

rainyu119 commented 3 years ago

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

adamtornhill commented 3 years ago

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.

rainyu119 commented 3 years ago

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?