Print the code of lines:
git ls-files | xargs cloc
It's highly recommended you to configure the git pre-commit hook. It will force to run unit tests before commit. Run the following command:
make install-precheck