EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pipesandfilters.framework.recorder.sensorframework]

COVERAGE SUMMARY FOR SOURCE FILE [ExecutionResultMetaDataInit.java]

nameclass, %method, %block, %line, %
ExecutionResultMetaDataInit.java0%   (0/1)0%   (0/2)0%   (0/11)0%   (0/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ExecutionResultMetaDataInit0%   (0/1)0%   (0/2)0%   (0/11)0%   (0/4)
ExecutionResultMetaDataInit (Vector, SensorFrameworkConfig, Map): void 0%   (0/1)0%   (0/8)0%   (0/3)
getExecutionResultTypes (): Map 0%   (0/1)0%   (0/3)0%   (0/1)

1package de.uka.ipd.sdq.pipesandfilters.framework.recorder.sensorframework;
2 
3import java.util.Map;
4import java.util.Vector;
5 
6import de.uka.ipd.sdq.pipesandfilters.framework.MeasurementMetric;
7import de.uka.ipd.sdq.pipesandfilters.framework.recorder.sensorframework.launch.SensorFrameworkConfig;
8 
9/**
10 * Represents the meta data for initialization of an
11 * ExecutionResultWriteDataStrategy.
12 * 
13 * In addition to the super class, this class contains a mapping from numerical
14 * values to strings representing the different possible execution results. This
15 * is necessary so that during the simulation, only the numerical values need to
16 * be piped to the target sensor.
17 * 
18 * @author brosch
19 * 
20 */
21public class ExecutionResultMetaDataInit extends SensorFrameworkMetaDataInit {
22 
23        /**
24         * The mapping of numerical values to strings representing the possible
25         * execution results.
26         */
27        private Map<Integer, String> executionResultTypes;
28 
29        /**
30         * The constructor.
31         * 
32         * @param measuredMetrics
33         *            a vector of all measured metrics of a calculator
34         * @param recorderConfiguration
35         *            the recorder configuration
36         * @param executionResultTypes
37         *            the mapping of numerical values to strings representing the
38         *            possible execution results
39         */
40        public ExecutionResultMetaDataInit(
41                        final Vector<MeasurementMetric> measuredMetrics,
42                        final SensorFrameworkConfig recorderConfiguration,
43                        final Map<Integer, String> executionResultTypes) {
44                super(measuredMetrics, recorderConfiguration);
45                this.executionResultTypes = executionResultTypes;
46        }
47 
48        /**
49         * Retrieves the collection of execution result types.
50         * 
51         * @return the execution result types
52         */
53        public Map<Integer, String> getExecutionResultTypes() {
54                return executionResultTypes;
55        }
56}

[all classes][de.uka.ipd.sdq.pipesandfilters.framework.recorder.sensorframework]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov