class type sloc_visitor =object
..end
Syntactic metrics
=================
The goal is to collect various (syntactic) information about the source code
(slocs, assignments, loops, ...).
From those one can compute McCabe's cyclomatic complexity.
method fundecl_calls : int Metrics_base.VInfoMap.t
method fundef_calls : int Metrics_base.VInfoMap.t
method extern_global_vars : Metrics_base.VInfoSet.t
method get_global_metrics : Metrics_base.BasicMetrics.t
method pp_file_metrics : Format.formatter -> Datatype.Filepath.t -> unit
method pp_detailed_text_metrics : Format.formatter -> unit
Print results of all file and functions to the given formatter as text
method print_stats : Format.formatter -> unit
Print computed metrics to a formatter
method get_metrics_map : Metrics_base.BasicMetrics.t Metrics_base.OptionKf.Map.t
Datatype.Filepath.Map.t
Compute and return per-function metrics