<<

NAME

run_klocs.pl -- count test suite KLOCS.

SYNOPSIS

  run_klocs.pl -p project_id -v version_id -n test_id -o out_dir [-D]

OPTIONS

-p project_id

Count KLOCs for this project id. See Project module for available project IDs.

-v version_id

Count KLOCs for this version id. Format: \d+[bf].

-n test_id

The id of the generated test suite (i.e., which run of the same configuration).

-o out_dir

The root output directory for the generated test suite. The test suite and logs are written to: out_dir/project_id/version_id.

-D

Debug: Enable verbose logging and do not delete the temporary check-out directory (optional).

DESCRIPTION

This script prepares a particular program version as if it was going to run Randoop on it. It then counts the program KLOCS to use later in calculating Randoop test coverage.

<<