SONAR-3893 Code display refactoring