Does anyone have any idea about some tools that make "tcl covergae"?
I know one that is integrated in the debugger of ActiveState developing kit
but it is GUI only.
I want a batch one .
The bltdebug command is a simple tracing facility for Tcl commands.
Each command line is printed before it is executed on standard error.
The output consists of the command line both before and after substitu-
tions have occurred. Level indicates at what level to stop tracing
commands. If level is 0, no tracing is performed. This is the default.
If no level argument is given, the current level is printed.
cmdtrace level | on ?noeval? ?notruncate? ?procs? ?fileid? ?command
Print a trace statement for all commands executed at depth of
level or below (1 is the top level). If on is specified, all
commands at any level are traced. The following options are
You can find it at:
(Note: it is not quite complete - it does not cover switch statements,
IIRC, for instance)
Nagelfar has some support for coverage.