tool/metric: calc average for ccn and param
tool/metrics: measure cyclomatic complexity, num params, num functions, num gotos