Package net.sourceforge.cobertura.coveragedata

Examples of net.sourceforge.cobertura.coveragedata.ClassData.addLine()


                    prevHits = sld.getHits();
                    prevConditions = sld.getConditionSize();
                }
            }
            int diffHits = (int) (afterHits - prevHits);
            result.addLine(lld.getLineNumber(), lld.getMethodName(),
                    lld.getMethodDescriptor());
            if (diffHits > 0) {
                result.touch(lld.getLineNumber(), diffHits);
            }
            if (diffHits < 0) {
View Full Code Here


              if ( isExcluded( file ) ) {
                getLogger().debug("ignoring " + file);
              } else {
                  ClassData classData = coverageProjectData.getOrCreateClassData( ApparatUtil.toClassname( file ) );
                  classData.setSourceFileName( getSourceFilePath( file ) );
                  classData.addLine( line, null, null );
              }
            }
        };
    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.