code metrics tool

pretty trivial but a start