EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.spa.basicsolver.visitor.perfhandler]

COVERAGE SUMMARY FOR SOURCE FILE [PerformanceHandlerFactory.java]

nameclass, %method, %block, %line, %
PerformanceHandlerFactory.java0%   (0/1)0%   (0/6)0%   (0/40)0%   (0/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PerformanceHandlerFactory0%   (0/1)0%   (0/6)0%   (0/40)0%   (0/9)
PerformanceHandlerFactory (int): void 0%   (0/1)0%   (0/11)0%   (0/4)
createAlternativeHandler (): PerformanceAlternativeHandler 0%   (0/1)0%   (0/6)0%   (0/1)
createLoopHandler (): PerformanceLoopHandler 0%   (0/1)0%   (0/6)0%   (0/1)
createSequenceHandler (): PerformanceSequenceHandler 0%   (0/1)0%   (0/6)0%   (0/1)
createSymbolHandler (): PerformanceSymbolHandler 0%   (0/1)0%   (0/8)0%   (0/1)
getPdfTable (): Hashtable 0%   (0/1)0%   (0/3)0%   (0/1)

1/**
2 * 
3 */
4package de.uka.ipd.sdq.spa.basicsolver.visitor.perfhandler;
5 
6import java.util.Hashtable;
7 
8import de.uka.ipd.sdq.probfunction.math.IProbabilityDensityFunction;
9import de.uka.ipd.sdq.spa.basicsolver.visitor.HandlerFactory;
10import de.uka.ipd.sdq.spa.expression.Expression;
11 
12/**
13 * @author Ihssane
14 * 
15 */
16public class PerformanceHandlerFactory implements HandlerFactory {
17 
18        private Hashtable<Expression, IProbabilityDensityFunction> pdfTable;
19        private int domainSize;
20 
21        public PerformanceHandlerFactory(int domainSize) {
22                super();
23                this.domainSize = domainSize;
24                this.pdfTable = new Hashtable<Expression, IProbabilityDensityFunction>();
25        }
26 
27        public PerformanceSymbolHandler createSymbolHandler() {
28                return new PerformanceSymbolHandler(pdfTable, domainSize);
29        }
30 
31        public PerformanceSequenceHandler createSequenceHandler() {
32                return new PerformanceSequenceHandler(pdfTable);
33        }
34 
35        public PerformanceAlternativeHandler createAlternativeHandler() {
36                return new PerformanceAlternativeHandler(pdfTable);
37        }
38 
39        public PerformanceLoopHandler createLoopHandler() {
40                return new PerformanceLoopHandler(pdfTable);
41        }
42        
43        public Hashtable<Expression, IProbabilityDensityFunction> getPdfTable(){
44                return pdfTable;
45        }
46}

[all classes][de.uka.ipd.sdq.spa.basicsolver.visitor.perfhandler]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov