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

COVERAGE SUMMARY FOR SOURCE FILE [ScalabilityMeasurementImpl.java]

nameclass, %method, %block, %line, %
ScalabilityMeasurementImpl.java0%   (0/1)0%   (0/2)0%   (0/8)0%   (0/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ScalabilityMeasurementImpl0%   (0/1)0%   (0/2)0%   (0/8)0%   (0/4)
ScalabilityMeasurementImpl (IDAOFactory): void 0%   (0/1)0%   (0/4)0%   (0/2)
setParameters (Double []): void 0%   (0/1)0%   (0/4)0%   (0/2)

1package de.uka.ipd.sdq.sensorframework.entities.impl;
2 
3import de.uka.ipd.sdq.sensorframework.entities.dao.IDAOFactory;
4 
5@javax.persistence.Entity
6public class ScalabilityMeasurementImpl extends de.uka.ipd.sdq.sensorframework.entities.base.AbstractScalabilityMeasurement {
7 
8        /** Difference up to which two values are considered as equal.
9         */
10        public static final double EPSILON_ERROR = 1e-5;
11        
12        public ScalabilityMeasurementImpl(IDAOFactory myFactory) {
13                super(myFactory);
14        }
15        
16        /** {@inheritDoc}
17         */
18        public void setParameters(Double[] value) {
19                //if (value < -EPSILON_ERROR)
20                //        throw new RuntimeException("TimeSpan Measurements are not allowed to be smaller than 0.");
21                //if (value < 0)
22                //        value = 0;
23                
24                super.setParameters(value);
25        }
26}

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