add intermediate result for duplication metrics, e.g. including the method location