double function ( Metrics . ClassMetricKey arg0 , ASTClassOrInterfaceDeclaration arg1 , boolean arg2 ) { Double loc0 = memo . get ( arg0 ) ; if ( ! arg2 && loc0 != null ) { return loc0 ; } ClassMetric loc1 = arg0 . getCalculator ( ) ; double loc2 = loc1 . computeFor ( arg1 , Metrics . getTopLevelPackageStats ( ) ) ; memo . put ( arg0 , loc2 ) ; return loc2 ; }
computes the value of a metric for an operation . concode_field_sep Map<FieldSignature,Set<String>> fields concode_elem_sep Map<String,ClassStats> nestedClasses concode_elem_sep Map<ClassMetricKey,Double> memo concode_elem_sep Map<OperationSignature,Map<String,OperationStats>> operations concode_field_sep void addOperation concode_elem_sep void addField concode_elem_sep ClassStats getNestedClassStats concode_elem_sep boolean hasMatchingSig concode_elem_sep boolean hasMatchingSig