trlcdoc.trace

Create the LOBSTER tracing report from the configured trace levels.

Attributes

LOG

TRACED_STATUS

Functions

build_trace_report(cfg, online) → int

Extract the trace data of all levels and create the tracing report.

Module Contents

trlcdoc.trace.LOG
trlcdoc.trace.TRACED_STATUS = ('OK', 'JUSTIFIED')
trlcdoc.trace.build_trace_report(cfg: trlcdoc.config.Config, online: bool) → int[source]

Extract the trace data of all levels and create the tracing report.

Parameters:
  • cfg (Config) – Project configuration with a trace section.

  • online (bool) – Link the report to the repository instead of local files.

Returns:

Number of items that are not traced as required.

Return type:

int

Raises:

TrlcdocError – If Graphviz is missing, which the LOBSTER reports need for the tracing policy diagram.