test sloc and file sizes
some more refactoring