moved LOC to analysis::m3::metrics because it is language independent. also fixed wrt new m3 model