EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.dsexplore.analysis.cost]

COVERAGE SUMMARY FOR SOURCE FILE [CostAnalysisResult.java]

nameclass, %method, %block, %line, %
CostAnalysisResult.java0%   (0/1)0%   (0/3)0%   (0/12)0%   (0/5)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CostAnalysisResult0%   (0/1)0%   (0/3)0%   (0/12)0%   (0/5)
CostAnalysisResult (double, PCMInstance): void 0%   (0/1)0%   (0/6)0%   (0/3)
getTotalCost (): double 0%   (0/1)0%   (0/3)0%   (0/1)
getValueFor (Criterion): double 0%   (0/1)0%   (0/3)0%   (0/1)

1package de.uka.ipd.sdq.dsexplore.analysis.cost;
2 
3import org.opt4j.core.Criterion;
4 
5import de.uka.ipd.sdq.dsexplore.analysis.IAnalysisResult;
6import de.uka.ipd.sdq.pcmsolver.models.PCMInstance;
7 
8public class CostAnalysisResult implements IAnalysisResult {
9 
10        private double totalCost;
11 
12        public CostAnalysisResult(double totalCost, PCMInstance pcmInstance2) {
13                this.totalCost = totalCost;
14        }
15 
16        @Override
17        public double getValueFor(Criterion criterion)  {
18                return this.totalCost;
19        }
20 
21        public double getTotalCost() {
22                return totalCost;
23        }
24 
25 
26}

[all classes][de.uka.ipd.sdq.dsexplore.analysis.cost]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov