LOCs are computed by summing up the LOCs of each project analyzed. Lines of test code are never included in this number. The LOCs used for a project are the ones found during the most recent analysis of this project. If you start using the branch analysis, then the LOCs of a project will be computed from the project’s largest branch.