NodeList lines = parser.executeXPathNodeList( elt, "methods/method/lines/line" );
for (int i = 0; i < lines.getLength(); i++) {
Element line = (Element) lines.item( i );
double hits = Double.parseDouble( line.getAttribute( "hits" ) );
if ( hits > 0 ) {
measure.addParameter( "line-hit", Double.parseDouble( line.getAttribute( "number" ) ), hits );
}
}
return measure;
}