Gitignore and code metric optimization