Changes between Initial Version and Version 1 of WebInterface/DependencyExaminations


Ignore:
Timestamp:
Apr 9, 2012, 5:19:31 PM (13 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebInterface/DependencyExaminations

    v1 v1  
     1= Dependency Examinations = 
     2 
     3[[Image(web_interface_depanal)]] 
     4 
     5To learn more about dependency analysises see the [wiki:Dependency Dependency Analysis page]. 
     6 
     7An application called Graphviz, is needed to generate results in .svg format. 
     8 
     9All images generated during examinations are placed in the directory which has been set during startup by the 'images_dir' switch. If this parameter has not been set, all images are placed in the current working the directory. 
     10 
     11== Analyse in function or in module level == 
     12Dependency examinations can be performed on a module or function level, using the whole graph or the cyclic sub-graph. A self-defined module or function can also be set as the starting node of an examination. This service is available in the ”Dependency graph” menu under the ”Function or Module level” tab. 
     13 
     14Possible configurations for an examination are: 
     15 
     16* Configuring the level of the examination: setting {{{module}}} or {{{function}}} from the ”Level” drop-down. 
     17 
     18* Configuring the type of the examination: 
     19 * {{{None}}}: In this case, the type of examination is not given, this mode is used when the user wants to set the starting node of the examination. 
     20 * {{{Whole graph}}}: Dependency examinations are performed on the whole graph. 
     21 * {{{Cyclic sub-graph}}}: Dependency examinations are performed only on the set of cyclic sub-graphs. 
     22 
     23* Configuring the starting node of the examination: 
     24 * {{{module}}}: can be set in the text-field located under ”Starting node (module)”. The interface offers possible endings while typing a module name, based on modules that are loaded into the database. An offered module name can be chosen from a drop-down list. 
     25 * {{{function}}}: can be set in the text-field located under ”Starting node (function)”. The function should be given in the following form: {{{module name:function name/arity}}}. The interface offers possible endings here as well. 
     26 
     27Modules or functions which you don't want to see in the graph, should be added to the Excluded list with the provided button, or directly in the text area separated by newlines. 
     28Modules or functions which leaves you don't want to see in the graph, should be added to the No leaves list the same way. 
     29You can also exclude all OTP modules/functions by checking the Exclude OTP checkbox. 
     30 
     31After configurating an examination, click the ”Generate graph” button to start it. The result is available in two different graphic formats. By clicking ”Generated graph in .dot” the result is sent to the browser in .dot format. By clicking ”See generated graph in .svg” the result is displayed in a new window in the browser. 
     32 
     33== Analyse in functionblock level == 
     34Dependency analysis can also be done in functionblock level. This service is available in the ”Dependency graphs” menu under the ’Functionblock’ tab. 
     35 
     36Predefined functionblocks are the loaded directories, but a functionblock can also be defined by the user, by typing the needed Perl-like regular expression into the textfield, and pressing the ’Add’ button. 
     37 
     38The available functionblocks are placed in the ’Functionblock’ list. From there the subjects of the analysis can be drag and dropped into the ’Subjects’ list. After this you can generate a graph as usual.