analyse_commit 421 B

1234567
  1. #!/bin/sh
  2. cd /root/repo
  3. git checkout $1
  4. git log --all --numstat --date=short --pretty=format:'--%h--%ad--%aN' --no-renames >> /tmp/$1_log.log
  5. mkdir /root/results/$1
  6. java -jar /usr/src/code-maat/app-standalone.jar -l /tmp/$1_log.log -o /root/results/$1/$1_coupling.log.res -c git2 -a coupling
  7. java -jar /usr/src/code-maat/app-standalone.jar -l /tmp/$1_log.log -o /root/results/$1/$1_revisions.log.res -c git2 -a revisions