1 21 22 package net.sourceforge.cobertura.check; 23 24 public class PackageCoverage 25 { 26 27 private double branchCount; 28 private double lineCount; 29 private double branchCoverage; 30 private double lineCoverage; 31 32 public double getBranchCount() 33 { 34 return branchCount; 35 } 36 37 public void addBranchCount(double branchCount) 38 { 39 this.branchCount += branchCount; 40 } 41 42 public double getLineCount() 43 { 44 return lineCount; 45 } 46 47 public void addLineCount(double lineCount) 48 { 49 this.lineCount += lineCount; 50 } 51 52 public double getBranchCoverage() 53 { 54 return branchCoverage; 55 } 56 57 public void addBranchCoverage(double branchCoverage) 58 { 59 this.branchCoverage += branchCoverage; 60 } 61 62 public double getLineCoverage() 63 { 64 return lineCoverage; 65 } 66 67 public void addLineCoverage(double lineCoverage) 68 { 69 this.lineCoverage += lineCoverage; 70 } 71 72 } 73 | Popular Tags |