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

COVERAGE SUMMARY FOR SOURCE FILE [CalculatorRegistry.java]

nameclass, %method, %block, %line, %
CalculatorRegistry.java0%   (0/1)0%   (0/4)0%   (0/22)0%   (0/7)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CalculatorRegistry0%   (0/1)0%   (0/4)0%   (0/22)0%   (0/7)
CalculatorRegistry (): void 0%   (0/1)0%   (0/8)0%   (0/3)
getCalculatorForId (String): Calculator 0%   (0/1)0%   (0/6)0%   (0/1)
registerCalculator (String, Calculator): void 0%   (0/1)0%   (0/7)0%   (0/2)
unregisterCalculator (String): void 0%   (0/1)0%   (0/1)0%   (0/1)

1package de.uka.ipd.sdq.probespec.framework.calculator;
2 
3import java.util.HashMap;
4 
5 
6/**
7 * 
8 * @author Philipp Merkle
9 *
10 */
11public class CalculatorRegistry {
12 
13        private HashMap<String, Calculator> calculators;
14 
15        /**
16         * Default constructor.
17         */
18        public CalculatorRegistry() {
19                calculators = new HashMap<String, Calculator>();
20        }
21 
22        public void registerCalculator(String calculatorId, Calculator calculator) {
23                calculators.put(calculatorId, calculator);
24        }
25        
26        public void unregisterCalculator(String calculatorId) {
27                // TODO Implementation
28        }
29 
30        public Calculator getCalculatorForId(String calculatorId) {
31                return calculators.get(calculatorId);
32        }
33 
34}

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