Calculates LOC, Tests, and ratios for files (designed for JS)