qpcpp/doxygen/metrics.bat

18 lines
489 B
Batchfile
Raw Normal View History

2020-07-18 17:58:58 -04:00
@setlocal
2020-03-17 21:33:58 -04:00
2020-07-18 17:58:58 -04:00
:: Simple complexity metrics tool (adjust to your system) ...................
@set LIZARD=lizard
:: Generate metrics.dox file...
2020-03-17 21:33:58 -04:00
@set METRICS_INP=..\include ..\src -x ..\src\qs\*
@set METRICS_OUT=metrics.dox
@echo /** @page metrics Code Metrics > %METRICS_OUT%
@echo.>> %METRICS_OUT%
@echo @code{cpp} >> %METRICS_OUT%
@echo Code Metrics for QP/C++ >> %METRICS_OUT%
%LIZARD% -m -L500 -a10 -C20 -V %METRICS_INP% >> %METRICS_OUT%
2020-07-18 17:58:58 -04:00
@endlocal