metric
Metric
getReport
ConstraintMetrics
getConstraintCount
getExpressionCount
getAvgExpressionCount
getAvgExpressionDepth
getMinExpressionCount
getMinExpressionDepth
getMaxExpressionCount
getMaxExpressionDepth
getMeanExpressionCount
getMeanExpressionDepth
constraintMetrics
constraints
numberOfConstraintsByKind
ConstraintMetric
expressionCount
expressionDepth
calledOperations
calledProperties
referredConstraint
numberOfIfExpressions
numberOfLetExpressions
usedIterators
usedLiterals
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="metric" nsURI="http://www.dresden-ocl.org/metrics/" nsPrefix="metric">
  <eClassifiers xsi:type="ecore:EClass" name="Metric">
    <eOperations name="getReport" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ConstraintMetrics" eSuperTypes="#//ConstraintMetric">
    <eOperations name="getConstraintCount" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="body" value="&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;return this.getConstraintMetrics().size();&#xD;&#xA;"/>
        <details key="documentation" value=""/>
      </eAnnotations>
    </eOperations>
    <eOperations name="getExpressionCount" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="body" value="&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;int result = 0;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;for ( org.dresdenocl.metrics.metric.ConstraintMetric metric : this.getConstraintMetrics())&#xD;&#xA;&#x9;&#x9;&#x9;result += metric.getExpressionCount();&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;// end for.&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;return result;&#xD;&#xA;"/>
        <details key="documentation" value=""/>
      </eAnnotations>
    </eOperations>
    <eOperations name="getAvgExpressionCount" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="body" value="&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;return this.getExpressionCount() / this.getConstraintCount();&#xD;&#xA;"/>
        <details key="documentation" value=""/>
      </eAnnotations>
    </eOperations>
    <eOperations name="getAvgExpressionDepth" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="body" value="&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;int totalDepth = 0;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;for ( org.dresdenocl.metrics.metric.ConstraintMetric metric : this.getConstraintMetrics())&#xD;&#xA;&#x9;&#x9;&#x9;totalDepth += metric.getExpressionDepth();&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;// end for.&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;return totalDepth / this.getConstraintCount();&#xD;&#xA;"/>
        <details key="documentation" value=""/>
      </eAnnotations>
    </eOperations>
    <eOperations name="getMinExpressionCount" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eOperations name="getMinExpressionDepth" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eOperations name="getMaxExpressionCount" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eOperations name="getMaxExpressionDepth" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eOperations name="getMeanExpressionCount" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eOperations name="getMeanExpressionDepth" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="constraintMetrics" upperBound="-1"
        eType="#//ConstraintMetric" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="constraints" upperBound="-1"
        eType="ecore:EClass ../../tudresden.ocl20.pivot.pivotmodel/model/pivotmodel.ecore#//Constraint"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfConstraintsByKind"
        transient="true">
      <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap">
        <eTypeArguments eClassifier="ecore:EEnum ../../tudresden.ocl20.pivot.pivotmodel/model/pivotmodel.ecore#//ConstraintKind"/>
        <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/>
      </eGenericType>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ConstraintMetric" eSuperTypes="#//Metric">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="expressionCount" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="expressionDepth" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="calledOperations" transient="true">
      <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap">
        <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
        <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/>
      </eGenericType>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="calledProperties" transient="true">
      <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap">
        <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
        <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/>
      </eGenericType>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="referredConstraint" eType="ecore:EClass ../../tudresden.ocl20.pivot.pivotmodel/model/pivotmodel.ecore#//Constraint"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfIfExpressions"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfLetExpressions"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="usedIterators" transient="true">
      <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap">
        <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
        <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/>
      </eGenericType>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="usedLiterals" transient="true">
      <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap">
        <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
        <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"/>
      </eGenericType>
    </eStructuralFeatures>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"metric","nsURI":"http://www.dresden-ocl.org/metrics/","name":"metric","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Metric","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ConstraintMetrics","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ConstraintMetric","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"ordered":true,"upperBound":1,"unique":true,"name":"getReport","lowerBound":0,"id":4,"many":false,"required":false,"eClass":"EOperation"},{"id":5,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"getConstraintCount","lowerBound":1,"id":6,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"getExpressionCount","lowerBound":1,"id":7,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"getAvgExpressionCount","lowerBound":1,"id":8,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"getAvgExpressionDepth","lowerBound":1,"id":9,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"getMinExpressionCount","lowerBound":1,"id":10,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"getMinExpressionDepth","lowerBound":1,"id":11,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"getMaxExpressionCount","lowerBound":1,"id":12,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"getMaxExpressionDepth","lowerBound":1,"id":13,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"getMeanExpressionCount","lowerBound":1,"id":14,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"getMeanExpressionDepth","lowerBound":1,"id":15,"many":false,"required":true,"eClass":"EOperation"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"constraintMetrics","changeable":true,"resolveProxies":true,"lowerBound":0,"id":16,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"constraints","changeable":true,"resolveProxies":true,"lowerBound":0,"id":17,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":true,"unique":true,"name":"numberOfConstraintsByKind","changeable":true,"lowerBound":0,"iD":false,"id":18,"derived":false},{"id":19,"eClass":"EGenericType"},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"id":28,"eClass":"EGenericType"},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"id":34,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"expressionCount","changeable":true,"lowerBound":0,"iD":false,"id":35,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"expressionDepth","changeable":true,"lowerBound":0,"iD":false,"id":36,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":true,"unique":true,"name":"calledOperations","changeable":true,"lowerBound":0,"iD":false,"id":37,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":true,"unique":true,"name":"calledProperties","changeable":true,"lowerBound":0,"iD":false,"id":38,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"referredConstraint","changeable":true,"resolveProxies":true,"lowerBound":0,"id":39,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"numberOfIfExpressions","changeable":true,"lowerBound":0,"iD":false,"id":40,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"numberOfLetExpressions","changeable":true,"lowerBound":0,"iD":false,"id":41,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":true,"unique":true,"name":"usedIterators","changeable":true,"lowerBound":0,"iD":false,"id":42,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":true,"unique":true,"name":"usedLiterals","changeable":true,"lowerBound":0,"iD":false,"id":43,"derived":false},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"},{"id":48,"eClass":"EGenericType"},{"id":49,"eClass":"EGenericType"},{"id":50,"eClass":"EGenericType"},{"id":51,"eClass":"EGenericType"},{"id":52,"eClass":"EGenericType"},{"id":53,"eClass":"EGenericType"},{"id":54,"eClass":"EGenericType"},{"id":55,"eClass":"EGenericType"},{"id":56,"eClass":"EGenericType"},{"id":57,"eClass":"EGenericType"},{"id":58,"eClass":"EGenericType"},{"id":59,"eClass":"EGenericType"},{"id":60,"eClass":"EGenericType"},{"id":61,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":1,"target":0},{"source":1,"target":4},{"source":4,"target":5},{"source":4,"target":1},{"source":2,"target":0},{"source":2,"target":3},{"source":2,"target":6},{"source":2,"target":7},{"source":2,"target":8},{"source":2,"target":9},{"source":2,"target":10},{"source":2,"target":11},{"source":2,"target":12},{"source":2,"target":13},{"source":2,"target":14},{"source":2,"target":15},{"source":2,"target":16},{"source":2,"target":17},{"source":2,"target":18},{"source":2,"target":19},{"source":6,"target":20},{"source":6,"target":2},{"source":7,"target":21},{"source":7,"target":2},{"source":8,"target":22},{"source":8,"target":2},{"source":9,"target":23},{"source":9,"target":2},{"source":10,"target":24},{"source":10,"target":2},{"source":11,"target":25},{"source":11,"target":2},{"source":12,"target":26},{"source":12,"target":2},{"source":13,"target":27},{"source":13,"target":2},{"source":14,"target":28},{"source":14,"target":2},{"source":15,"target":29},{"source":15,"target":2},{"source":16,"target":3},{"source":16,"target":30},{"source":16,"target":2},{"source":30,"target":3},{"source":17,"target":31},{"source":17,"target":2},{"source":18,"target":32},{"source":18,"target":2},{"source":32,"target":33},{"source":32,"target":34},{"source":19,"target":3},{"source":3,"target":0},{"source":3,"target":1},{"source":3,"target":35},{"source":3,"target":36},{"source":3,"target":37},{"source":3,"target":38},{"source":3,"target":39},{"source":3,"target":40},{"source":3,"target":41},{"source":3,"target":42},{"source":3,"target":43},{"source":3,"target":44},{"source":35,"target":45},{"source":35,"target":3},{"source":36,"target":46},{"source":36,"target":3},{"source":37,"target":47},{"source":37,"target":3},{"source":47,"target":48},{"source":47,"target":49},{"source":38,"target":50},{"source":38,"target":3},{"source":50,"target":51},{"source":50,"target":52},{"source":39,"target":53},{"source":39,"target":3},{"source":40,"target":54},{"source":40,"target":3},{"source":41,"target":55},{"source":41,"target":3},{"source":42,"target":56},{"source":42,"target":3},{"source":56,"target":57},{"source":56,"target":58},{"source":43,"target":59},{"source":43,"target":3},{"source":59,"target":60},{"source":59,"target":61},{"source":44,"target":1}],"multigraph":true}