EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.fzi.se.accuracy.issues]

COVERAGE SUMMARY FOR SOURCE FILE [VariableSourceCodeIssue.java]

nameclass, %method, %block, %line, %
VariableSourceCodeIssue.java0%   (0/1)0%   (0/2)0%   (0/53)0%   (0/10)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class VariableSourceCodeIssue0%   (0/1)0%   (0/2)0%   (0/53)0%   (0/10)
VariableSourceCodeIssue (SeverityEnum, String, Object, String, String, String... 0%   (0/1)0%   (0/14)0%   (0/4)
getDetails (): String 0%   (0/1)0%   (0/39)0%   (0/6)

1/**
2 *
3 */
4package de.fzi.se.accuracy.issues;
5 
6import de.uka.ipd.sdq.errorhandling.SeverityEnum;
7import de.uka.ipd.sdq.pcm.seff.AbstractAction;
8import de.uka.ipd.sdq.pcm.seff.ResourceDemandingSEFF;
9 
10/**Issue for {@link AbstractAction}s within an {@link ResourceDemandingSEFF}.
11 * @author groenda
12 *
13 */
14public class VariableSourceCodeIssue extends RDSEFFSourceCodeIssue {
15 
16        /** UUID of the {@link ResourceDemandingSEFF}. */
17        private String variableReference;
18        /** UUID of the {@link AbstractAction}. */
19        private String actionId;
20 
21        public VariableSourceCodeIssue(SeverityEnum error, String message,
22                        Object actualValue, String objectResourceName, String rdseffId, String actionId, String variableReference) {
23                super(error, message, actualValue, objectResourceName, rdseffId);
24                this.actionId = actionId;
25                this.variableReference = variableReference;
26        }
27 
28        @Override
29        public String getDetails() {
30                String details = super.getDetails();
31                if (actionId != null) {
32                        details += "UUID of action: " + actionId + "\n\n";
33                }
34                if (variableReference != null) {
35                        details += "Variable reference: " + variableReference + "\n\n";
36                }
37                return details;
38        }
39 
40}

[all classes][de.fzi.se.accuracy.issues]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov