Class DiagnosticReport
java.lang.Object
ca.mcscert.jpipe.compiler.model.Transformation<DiagnosticSnapshot, String>
ca.mcscert.jpipe.compiler.steps.transformations.DiagnosticRenderer
ca.mcscert.jpipe.compiler.steps.transformations.DiagnosticReport
Renders a
DiagnosticSnapshot as the human-readable report printed by
the diagnostic CLI command.
The report has five sections, in this order:
- Diagnostics — errors from compilation.
- Action Statistics — command counts and deferral count.
- Model Summary — per model: type, parent, element counts.
- Symbol Table — full location registry.
- Executed Actions — the model-construction command trace.
Sections whose underlying data is absent (no statistics recorded, no actions executed) are omitted entirely rather than printed empty.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Transformation
Transformation.Step<I,O> -
Field Summary
Fields inherited from class Transformation
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrender(DiagnosticSnapshot input) Renders a snapshot into the report text.Methods inherited from class DiagnosticRenderer
run
-
Constructor Details
-
DiagnosticReport
public DiagnosticReport()
-
-
Method Details
-
render
Description copied from class:DiagnosticRendererRenders a snapshot into the report text.- Specified by:
renderin classDiagnosticRenderer- Parameters:
input- what the compilation produced and reported.- Returns:
- the rendered report.
-