codecheck

NAME

codecheck — support for CodeCheck

Synopsis

configure --with-tool=codecheck

Description

Integration with CodeCheck: adds rules to collect metrics and to validate the code against the style guide.

Languages

C++

Build Process Changes

Adds new rules to collect metrics and to validate against style rules. Does not change normal compilation at all.

Variables

CODECHECK_ROOT (G)

CodeCheck utlities home

CODECHECK_BINDIR (G)

cck-metrics directory

CODECHECK_LIBDIR (G)

Style rules directory

CODECHECK (G)

cck

CODECHECKM (G)

cck-metrics path

CODECHECK_LANG (G)

C++ language dialect selection

CCRULES (G)

Exported; defaults to $(CODECHECK_BINDIR)

Targets

target.cck

Timestamp of the last style rule validation on the target.

target.cckm

Metrics for the target.

file.cck

Timestamp of the last style rule validation on the source file.

file.cckm

Metrics for the source file.

codecheck

Validate the code against the style rules: update all .cck files.

codecheck-metrics

Collect metrics recursively and merge them into a single .cckm file: first by target, then by directory, then from subdirectories, then from subpackages.