Changes between Version 5 and Version 6 of MetricQuery


Ignore:
Timestamp:
Jan 11, 2013, 4:17:03 PM (12 years ago)
Author:
manualwiki
Comment:

min_depth_of_cases

Legend:

Unmodified
Added
Removed
Modified
  • MetricQuery

    v5 v6  
    5353    end 
    5454... 
     55}}} 
     56{{{ 
     57#!comment 
     58===  min_depth_of_cases ===  
     59The domain of the query is a module or a function. Gives the minimum of the maximums of case control structures embedded in {{{case}}} of a concrete function (how deeply are the case control structures embedded). In case of a module it measures the same regarding all the functions in the module. Measuring does not break in {{{case}}} of {{{case}}} expressions, namely when the {{{case}}} is not embedded into a {{{case}}} structure. However, the following embedding does not increase the sum. 
     60{{{ 
     61... 
     62A = case B of 
     63        1 -> 2; 
     64        2 -> ok 
     65    end 
     66... 
     67}}} 
    5568}}} 
    5669===  max_depth_of_structs ===