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

COVERAGE SUMMARY FOR SOURCE FILE [AbstractWriteDataStrategy.java]

nameclass, %method, %block, %line, %
AbstractWriteDataStrategy.java0%   (0/1)0%   (0/2)0%   (0/24)0%   (0/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class AbstractWriteDataStrategy0%   (0/1)0%   (0/2)0%   (0/24)0%   (0/9)
AbstractWriteDataStrategy (IDAOFactory, Experiment, ExperimentRun): void 0%   (0/1)0%   (0/12)0%   (0/5)
initialise (MetaDataInit): void 0%   (0/1)0%   (0/12)0%   (0/4)

1package de.uka.ipd.sdq.pipesandfilters.framework.recorder.sensorframework.strategies;
2 
3import de.uka.ipd.sdq.pipesandfilters.framework.MetaDataInit;
4import de.uka.ipd.sdq.pipesandfilters.framework.recorder.sensorframework.SensorHelper;
5import de.uka.ipd.sdq.sensorframework.entities.Experiment;
6import de.uka.ipd.sdq.sensorframework.entities.ExperimentRun;
7import de.uka.ipd.sdq.sensorframework.entities.Sensor;
8import de.uka.ipd.sdq.sensorframework.entities.dao.IDAOFactory;
9 
10public abstract class AbstractWriteDataStrategy implements IWriteDataStrategy {
11 
12        protected IDAOFactory daoFactory;
13 
14        protected Experiment experiment;
15 
16        protected ExperimentRun run;
17 
18        protected Sensor sensor;
19 
20        public AbstractWriteDataStrategy(IDAOFactory daoFactory,
21                        Experiment experiment, ExperimentRun run) {
22                this.daoFactory = daoFactory;
23                this.experiment = experiment;
24                this.run = run;
25        }
26 
27        @Override
28        public void initialise(MetaDataInit metaData) {
29                String sensorId = metaData.getMeasurementName();
30                sensor = SensorHelper.createOrReuseTimeSensor(daoFactory, experiment,
31                                sensorId);
32        }
33 
34}

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