if (lastIssues != null) {
hasLastScan = true;
mapLastIssues(newIssues, lastIssues, result);
}
if (result.matched().size() != newIssues.size()) {
<BUG>if (sourceHashHolder.hasBothReferenceAndCurrentSource() && hasLastScan) {
mapNewissues(sourceHashHolder, newIssues, result);</BUG>
}
mapIssuesOnSameRule(newIssues, result);
}

if (lastIssues != null) {
hasLastScan = true;
mapLastIssues(newIssues, lastIssues, result);
}
if (result.matched().size() != newIssues.size()) {
if (sourceHashHolder != null && sourceHashHolder.getHashedReference() != null && hasLastScan) {
mapNewissues(sourceHashHolder, newIssues, result);
}
mapIssuesOnSameRule(newIssues, result);
