Configuration Settings for ctc2html
The tool ctc2html uses several configuration parameters
determining the appearance of the HTML report. They are defined in the form
--enable-XXX=value
, either as command-line option or in a configuration
file.
Configuration Parameters
- --enable-statement_coverage={0|1}
- Shows statement coverage information.
- --enable-stmtthreshold=value
- Sets statement threshold percent (0-100). If this set explicitly, the '-t PERCENT' option gets not inherited to statement coverage threshold.
- --enable-line_coverage={0|1}
- Uses line coverage background highlighting.
- --enable-mcdc_highlight={0|1}
- Enables highlighting of evaluation pairs when the mouse pointer is on MC/DC lines.
- --enable-zoom=value
- Zooms the font sizes. Value should be in range 0.5-10.
- --enable-light_untested={0|1}
- Shows only files at Untested Code page.
- --enable-files_reduction={0|1}
- Reduces Symbol/Data/(Un)chosen source files in Files Summary.
- --enable-alarmch=value
- Sets the character used as warning sign.
- --enable-syntax_highlight={0|1}
- Generates syntax highlighting of source code.
- --enable-limit_index=value
- Beyond this limit for files and functions, only files are shown at Index of Execution Profile.
- --enable-own_stylesheet=value
- Specifies an individual CSS stylesheet.
- --enable-own_javascript=value
- Specify an individual javascript file.
- --enable-relativepath={0|1}
- Converts absolute filenames relative to current working directory.
- --enable-visibility={0|1}
- Shows '#pragma CTC ANNOTATION/COUNT' parts.
- --enable-javascript={0|1}
- HTML generation uses javascript.
- --enable-sources={0|1}
- Uses source code in the HTML report.
- --enable-charset=value
- Set charset for HTML content e.g. --enable-charset= or --enable-charset=shift_JIS
- --enable-webfonts={0|1}
- This would pull "Droid" fonts from the web, don't enable per default.
Options that can be set to value 1 or 0 can also be written as --enable-XXX and --disable-XXX instead of --enable-XXX=1 and --enable-XXX=0.
Hierarchy of Determination
For each parameter, an internal initial value is used that can be overruled by:
- A setting in a configuration file named ctc2html.ini, by default located in the CTCHOME directory. Additionally, the same directories as for ctc.ini are checked. The latest setting overrules all previous ones.
- Setting this parameter directly in the command line call of ctc2html, overruling also settings in a configuration file.