Changes between Version 3 and Version 4 of MetricQuery


Ignore:
Timestamp:
Feb 22, 2012, 1:50:22 PM (13 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MetricQuery

    v3 v4  
    11= Metric Queries = 
    2 A metric query language was designed to query some metric information about Erlang programs. 
     2A metric query language was designed to query some metric information about Erlang programs. Metrics also can be used as properties in our [SemanticQuery semantic query language]. 
    33 
    44== Defined metrics == 
     
    133133 
    134134== Examples == 
    135  ===   Simple query  ===   
     135===   Simple query  ===   
    136136With the following query we count the number of functions of the 
    137137modules given in the list. 
     
    146146* {{{('a','b')}}}: contains the names of modules in which we calculate the metrics. In case the type of the node was defined as function the list must contain the following elements: The name of the module, in which the function was defined, the name of the function and its arity. In this case the list can have more than one element. The next list {{{{'test','f',1}}}} defines a function which is defined in the {{{test}}} module. Its name is {{{f}}}, and its arity is {{{1}}}. 
    147147 
    148  ===   Advanced query  ===   
     148===   Advanced query  ===   
    149149In the next example we would like to define the number of recursive calls of two functions defined in the {{{a}}} module, the number of branches on which the particular function calls itself, and we sum up the two results with the help of the {{{sum}}} aggregating function. 
    150150 
     
    155155At the end of queries we can place filters which filter the results that are received at the output, or which are aggregating functions which change the result of the query. 
    156156 
    157  
    158157== Using metric queries from different interfaces == 
    159158