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

COVERAGE SUMMARY FOR SOURCE FILE [LQSimAnalysis.java]

nameclass, %method, %block, %line, %
LQSimAnalysis.java0%   (0/1)0%   (0/6)0%   (0/24)0%   (0/7)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class LQSimAnalysis0%   (0/1)0%   (0/6)0%   (0/24)0%   (0/7)
LQSimAnalysis (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getSolverMessageString (): String 0%   (0/1)0%   (0/2)0%   (0/1)
handleException (RuntimeException, PCMInstance): IAnalysisResult 0%   (0/1)0%   (0/2)0%   (0/1)
hasObjectivePerUsageScenario (): boolean 0%   (0/1)0%   (0/2)0%   (0/1)
hasStatisticResults (): boolean 0%   (0/1)0%   (0/2)0%   (0/1)
retrieveResult (PCMInstance, LqnModelType, Criterion): LQNResult 0%   (0/1)0%   (0/13)0%   (0/2)

1package de.uka.ipd.sdq.dsexplore.analysis.lqn;
2 
3import org.eclipse.core.runtime.CoreException;
4import org.opt4j.core.Criterion;
5 
6import LqnCore.LqnModelType;
7import de.uka.ipd.sdq.dsexplore.analysis.AnalysisFailedException;
8import de.uka.ipd.sdq.dsexplore.analysis.IAnalysisResult;
9import de.uka.ipd.sdq.pcmsolver.models.PCMInstance;
10import de.uka.ipd.sdq.pcmsolver.runconfig.MessageStrings;
11 
12/**
13 * Starts a LQN simulation analysis for the design space exploration.
14 * 
15 * @author pmerkle, martens
16 *
17 */
18public class LQSimAnalysis extends AbstractLQNAnalysis {
19 
20        
21        @Override
22        protected String getSolverMessageString() {
23                return MessageStrings.LQSIM_SOLVER;
24        }
25        
26        @Override
27        protected LQNResult retrieveResult(PCMInstance pcm,
28                        LqnModelType model, Criterion criterion) throws AnalysisFailedException {
29                LQSimAnalysisResult result = new LQSimAnalysisResult(model, pcm, criterion, this.criterionToAspect, this.lQNQualityAttribute);
30                return result;
31        }                
32 
33 
34        @Override
35        public boolean hasStatisticResults() throws CoreException {
36                return false;
37        }
38 
39        @Override
40        protected IAnalysisResult handleException(RuntimeException e, PCMInstance pcm) {
41                throw e;
42        }
43 
44        @Override
45        public boolean hasObjectivePerUsageScenario() throws CoreException {
46                return true;
47        }
48 
49}

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