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

COVERAGE SUMMARY FOR SOURCE FILE [ForkActionHandler.java]

nameclass, %method, %block, %line, %
ForkActionHandler.java0%   (0/1)0%   (0/2)0%   (0/46)0%   (0/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ForkActionHandler0%   (0/1)0%   (0/2)0%   (0/46)0%   (0/13)
ForkActionHandler (SeffVisitor): void 0%   (0/1)0%   (0/6)0%   (0/3)
handle (ForkAction): void 0%   (0/1)0%   (0/40)0%   (0/10)

1package de.uka.ipd.sdq.pcmsolver.handler;
2 
3import de.uka.ipd.sdq.pcm.seff.ForkAction;
4import de.uka.ipd.sdq.pcm.seff.ForkedBehaviour;
5import de.uka.ipd.sdq.pcm.seff.SynchronisationPoint;
6import de.uka.ipd.sdq.pcmsolver.visitors.SeffVisitor;
7 
8public class ForkActionHandler {
9        private SeffVisitor visitor;
10 
11        public ForkActionHandler(SeffVisitor seffVisitor) {
12                visitor = seffVisitor;
13        }
14 
15        public void handle(ForkAction fork) {
16                for (ForkedBehaviour behaviour : fork
17                                .getAsynchronousForkedBehaviours_ForkAction()) {
18                        visitor.doSwitch(behaviour);
19                }
20                SynchronisationPoint synch = fork
21                                .getSynchronisingBehaviours_ForkAction();
22                if (synch != null) {
23                        for (ForkedBehaviour behaviour : synch
24                                        .getSynchronousForkedBehaviours_SynchronisationPoint()) {
25                                visitor.doSwitch(behaviour);
26                        }
27                }
28        }
29}

[all classes][de.uka.ipd.sdq.pcmsolver.handler]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov