diff options
Diffstat (limited to 'plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/vcast/CoverageDataSubProgram.java')
-rw-r--r-- | plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/vcast/CoverageDataSubProgram.java | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/vcast/CoverageDataSubProgram.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/vcast/CoverageDataSubProgram.java index 0cd38883356..419c9af438c 100644 --- a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/vcast/CoverageDataSubProgram.java +++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/vcast/CoverageDataSubProgram.java @@ -8,61 +8,61 @@ * Contributors: * Boeing - initial API and implementation *******************************************************************************/ -package org.eclipse.osee.coverage.vcast;
-
+package org.eclipse.osee.coverage.vcast; + import java.util.ArrayList; import java.util.List; -
-/**
- * @author Donald G. Dunne
- */
-public class CoverageDataSubProgram {
-
- private final String name;
- private int complexity;
- private int covered;
- private int total;
- private final List<LineNumToBranches> lineNumToBranches = new ArrayList<LineNumToBranches>();
-
- public CoverageDataSubProgram(String name) {
- super();
- this.name = name;
- }
-
- public int getComplexity() {
- return complexity;
- }
-
- public void setComplexity(int complexity) {
- this.complexity = complexity;
- }
-
- public int getCovered() {
- return covered;
- }
-
- public void setCovered(int covered) {
- this.covered = covered;
- }
-
- public int getTotal() {
- return total;
- }
-
- public void setTotal(int total) {
- this.total = total;
- }
-
- public String getName() {
- return name;
- }
-
- public void addLineNumToBranches(int lineNum, int branches) {
- lineNumToBranches.add(new LineNumToBranches(lineNum, branches));
- }
-
- public List<LineNumToBranches> getLineNumToBranches() {
- return lineNumToBranches;
- }
-
-}
+ +/** + * @author Donald G. Dunne + */ +public class CoverageDataSubProgram { + + private final String name; + private int complexity; + private int covered; + private int total; + private final List<LineNumToBranches> lineNumToBranches = new ArrayList<LineNumToBranches>(); + + public CoverageDataSubProgram(String name) { + super(); + this.name = name; + } + + public int getComplexity() { + return complexity; + } + + public void setComplexity(int complexity) { + this.complexity = complexity; + } + + public int getCovered() { + return covered; + } + + public void setCovered(int covered) { + this.covered = covered; + } + + public int getTotal() { + return total; + } + + public void setTotal(int total) { + this.total = total; + } + + public String getName() { + return name; + } + + public void addLineNumToBranches(int lineNum, int branches) { + lineNumToBranches.add(new LineNumToBranches(lineNum, branches)); + } + + public List<LineNumToBranches> getLineNumToBranches() { + return lineNumToBranches; + } + +} |