Sha256: 107705daf42509beead58df652c64d56856c947211982297d05f2da6406fedf7

Contents?: true

Size: 435 Bytes

Versions: 102

Compression:

Stored size: 435 Bytes

Contents

#!/bin/bash

set -e

function main {
  for rev in `revisions`; do
    echo "`number_of_lines ^lib` `number_of_lines ^test` `commit_description`"
  done
}

function revisions {
  git rev-list --reverse HEAD
}

function commit_description {
  git log --oneline -1 $rev
}

function number_of_lines () {
  git ls-tree -r $rev |
  awk '{print $4, $3}' |
  grep "$1" |
  grep "\.rb" |
  awk '{print $2}' |
  xargs git show |
  wc -l
}

main

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
vedeu-0.4.57 test/support/stats.sh
vedeu-0.4.56 test/support/stats.sh
vedeu-0.4.55 test/support/stats.sh
vedeu-0.4.54 test/support/stats.sh
vedeu-0.4.53 test/support/stats.sh
vedeu-0.4.52 test/support/stats.sh
vedeu-0.4.51 test/support/stats.sh
vedeu-0.4.50 test/support/stats.sh
vedeu-0.4.49 test/support/stats.sh
vedeu-0.4.48 test/support/stats.sh
vedeu-0.4.47 test/support/stats.sh
vedeu-0.4.46 test/support/stats.sh
vedeu-0.4.45 test/support/stats.sh
vedeu-0.4.44 test/support/stats.sh
vedeu-0.4.43 test/support/stats.sh
vedeu-0.4.42 test/support/stats.sh
vedeu-0.4.41 test/support/stats.sh
vedeu-0.4.40 test/support/stats.sh
vedeu-0.4.39 test/support/stats.sh
vedeu-0.4.38 test/support/stats.sh