trlcdoc.trace ============= .. py:module:: trlcdoc.trace .. autoapi-nested-parse:: Create the LOBSTER tracing report from the configured trace levels. Attributes ---------- .. autoapisummary:: trlcdoc.trace.LOG trlcdoc.trace.TRACED_STATUS Functions --------- .. autoapisummary:: trlcdoc.trace.build_trace_report Module Contents --------------- .. py:data:: LOG .. py:data:: TRACED_STATUS :value: ('OK', 'JUSTIFIED') .. py:function:: build_trace_report(cfg: trlcdoc.config.Config, online: bool) -> int Extract the trace data of all levels and create the tracing report. :param cfg: Project configuration with a trace section. :type cfg: Config :param online: Link the report to the repository instead of local files. :type online: bool :returns: Number of items that are not traced as required. :rtype: int :raises TrlcdocError: If Graphviz is missing, which the LOBSTER reports need for the tracing policy diagram.