mh_metric
calculates MATLAB code metrics
TLDR
Calculate metrics
$ mh_metric [file.m]
Analyze directory$ mh_metric [src/]
Output JSON$ mh_metric --json [file.m]
Show all metrics$ mh_metric --all [file.m]
Set threshold$ mh_metric --limit-complexity [10] [file.m]
SYNOPSIS
mh_metric [options] files
DESCRIPTION
mh_metric calculates MATLAB code metrics. It measures complexity, lines, and other quality indicators.
The tool is part of MISS_HIT. It provides cyclomatic complexity and function metrics.
PARAMETERS
FILES
MATLAB files to analyze.--json
Output as JSON.--all
Show all metrics.--limit-complexity N
Complexity threshold.--help
Display help information.
CAVEATS
Part of MISS_HIT. MATLAB specific. Python-based.
HISTORY
mhmetric is part of **MISSHIT** for measuring MATLAB/Simulink code quality metrics.
