EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.measurement.strategies.activeresource.cpu]

COVERAGE SUMMARY FOR SOURCE FILE [VoidDemand.java]

nameclass, %method, %block, %line, %
VoidDemand.java0%   (0/1)0%   (0/7)0%   (0/16)0%   (0/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class VoidDemand0%   (0/1)0%   (0/7)0%   (0/16)0%   (0/8)
VoidDemand (): void 0%   (0/1)0%   (0/8)0%   (0/2)
cleanup (): void 0%   (0/1)0%   (0/1)0%   (0/1)
consume (double, double): void 0%   (0/1)0%   (0/1)0%   (0/1)
getName (): String 0%   (0/1)0%   (0/2)0%   (0/1)
getStrategysResource (): ResourceTypeEnum 0%   (0/1)0%   (0/2)0%   (0/1)
initialiseStrategy (int): void 0%   (0/1)0%   (0/1)0%   (0/1)
run (long): void 0%   (0/1)0%   (0/1)0%   (0/1)

1package de.uka.ipd.sdq.measurement.strategies.activeresource.cpu;
2 
3import de.uka.ipd.sdq.measurement.strategies.activeresource.AbstractDemandStrategy;
4import de.uka.ipd.sdq.measurement.strategies.activeresource.ResourceTypeEnum;
5 
6public class VoidDemand extends AbstractDemandStrategy {
7 
8        public VoidDemand() {
9                super(0,0,0,0,0);
10        }
11 
12        @Override
13        public void run(long initial) {
14 
15        }
16 
17        public void initialiseStrategy(int degreeOfAccuracy) {
18        }
19 
20        public void consume(double demand, double processingRate) {
21        }
22 
23        @Override
24        public ResourceTypeEnum getStrategysResource() {
25                return ResourceTypeEnum.CPU;
26        }
27 
28        @Override
29        public String getName() {
30                return "None";
31        }
32        
33        @Override
34        public void cleanup() {
35                // Do nothing.
36        }
37 
38}

[all classes][de.uka.ipd.sdq.measurement.strategies.activeresource.cpu]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov