﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19955	Confusing result from sonarcube coverage analyser	GerdP	team	"With r17222 I added a unit test which executes most of the routines in method `fixError().` This routines wasn't covered by any unit test.
I waited until Jenkins job Sonar-JOSM finished and looked at the new (?) coverage data.
https://josm.openstreetmap.de/sonar/code?id=josm&selected=josm%3Asrc%2Forg%2Fopenstreetmap%2Fjosm%2Fdata%2Fvalidation%2Ftests%2FDuplicateWay.java

I see that some lines are covered now but not those for relations. When I execute the test in the debugger I see that those lines are executed.

When I look at the output for the jenkins job https://josm.openstreetmap.de/jenkins/job/Sonar-JOSM/4888/console I see that there are several ERROR messages, e.g.
{{{
ERROR: Unable to run check class org.sonar.java.filters.PostAnalysisIssueFilter -  on file 'test/unit/org/openstreetmap/josm/data/validation/OsmValidatorTest.java', To help improve the SonarSource Java Analyzer, please report this problem to SonarSource: see https://community.sonarsource.com/
}}}
Could this be the reason?
"	defect	closed	normal		Unit tests		invalid		
