adamtornhill/code-maat

mining logical coupling not work for my git logfile

rainyu119 opened this issue · 2 comments

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

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.

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?