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

COVERAGE SUMMARY FOR SOURCE FILE [AnalysisQualityAttributes.java]

nameclass, %method, %block, %line, %
AnalysisQualityAttributes.java0%   (0/1)0%   (0/2)0%   (0/22)0%   (0/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class AnalysisQualityAttributes0%   (0/1)0%   (0/2)0%   (0/22)0%   (0/6)
AnalysisQualityAttributes (): void 0%   (0/1)0%   (0/3)0%   (0/1)
getAllQualityAttributes (): List 0%   (0/1)0%   (0/19)0%   (0/5)

1/**
2 * 
3 */
4package de.uka.ipd.sdq.dsexplore.analysis;
5 
6import java.util.ArrayList;
7import java.util.List;
8 
9import de.uka.ipd.sdq.dsexplore.launch.DSEConstantsContainer.QualityAttribute;
10 
11/**
12 * This class is supposed to know all possible {@code Dimension}s,i.e. quality attributes, that can be 
13 * considered in PerOpteryx.
14 * 
15 * @author noorshams
16 *
17 */
18public class AnalysisQualityAttributes {
19        
20        /**
21         * 
22         * @return a list of all considered {@code Dimension}s in PerOpteryx.
23         */
24        public List<QualityAttribute> getAllQualityAttributes(){
25//                List<Dimension> dimensions = new ArrayList<Dimension>();
26//                QMLDimensionReader reader = new QMLDimensionReader();
27//                //The definitions are in .contracttype files 
28//                for(String dimensionDefinition : QMLConstantsContainer.QUALITY_ATTRIBUTE_DIMENSION_DEFINITION_PATHS) {
29//                        dimensions.add(reader.getDimension(dimensionDefinition));
30//                }
31//                return dimensions;
32                List<QualityAttribute> attributes = new ArrayList<QualityAttribute>(3);
33                attributes.add(QualityAttribute.PERFORMANCE_QUALITY);
34                attributes.add(QualityAttribute.RELIABILITY_QUALITY);
35                attributes.add(QualityAttribute.COST_QUALITY);
36                
37                return attributes;
38                
39        }
40}

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