IMP-reporter-colorBold-1d71556 colorBold
#
missing coverage
Details
- X Reqmd.imported
- true
- X Reqmd.source File
- internal/reporter/diff.go
- X Reqmd.source Line
- 12
- X Reqmd.symbol Kind
- const
- Status
- approved
66 requirements · 8 nested · 2 items
This file is auto-generated by reqmd-code. Do not edit by hand.
IMP-reporter-colorBold-1d71556 colorBoldmissing coverage
IMP-reporter-colorCyan-ce187da colorCyanmissing coverage
IMP-reporter-colorGreen-2c55b9c colorGreenmissing coverage
IMP-reporter-colorRed-a0f63fc colorRedmissing coverage
IMP-reporter-colorReset-7cd7b40 colorResetmissing coverage
IMP-reporter-colorYellow-55a4909 colorYellowmissing coverage
IMP-reporter-FormatDiff-2a9528e FormatDiffmissing coverage
FormatDiff produces a human-readable colored text diff.
IMP-reporter-shortHash-b263d54 shortHashmissing coverage
shortHash returns the first 7 characters of a SHA, or the full SHA if shorter.
IMP-reporter-formatSubmoduleChange-bdeb209 formatSubmoduleChangemissing coverage
formatSubmoduleChange returns the formatted line and color for a submodule change.
IMP-reporter-renderSubmoduleSection-dcf35fb renderSubmoduleSectionmissing coverage
renderSubmoduleSection renders the submodule changes section.Returns an empty string if there are no submodule changes.
IMP-reporter-FormatDiffJSON-ba26c18 FormatDiffJSONmissing coverage
FormatDiffJSON produces JSON output.
IMP-reporter-formatValue-a56317e formatValuemissing coverage
formatValue renders an attribute value for display.
IMP-reporter-TestFormatDiff_Submodules-7ebb990 TestFormatDiff_Submodulesmissing coverage
IMP-reporter-TestFormatDiff_NoSubmodules-321d12f TestFormatDiff_NoSubmodulesmissing coverage
IMP-reporter-TestShortHash-38bc934 TestShortHashmissing coverage
IMP-reporter-ValidationError-7751545 ValidationErrormissing coverage
ValidationError describes a single requirement that failed validation.
IMP-reporter-ParseError-d4d4381 ParseErrormissing coverage
ParseError describes a structural problem (file unreadable, bad YAML, etc.).
IMP-reporter-ExitCodeError-1585eb7 ExitCodeErrorExitCodeError wraps a desired process exit code so that main.gocan set exit code via cobra error handling instead of os.Exit in command handlers.
IMP-reporter-Error-d7589b1 ErrorIMP-reporter-ExitCode-0014db4 ExitCodeExitCode returns the process exit code this error carries.
IMP-reporter-DocHeader-4245769 DocHeadermissing coverage
DocHeader holds per-document metadata for the validate output header.
IMP-reporter-Report-2c840c8 ReportReport holds all results from a validation run.
IMP-reporter-NewIndex-266d9a6 NewIndexNewIndex populates the pre-indexed maps from the flat slices.Bucketing by reqID makes the per-reqID lookups in Format()/FormatJSON() O(1)instead of scanning all errors/checks per requirement.
IMP-reporter-ExitCode-22aced1 ExitCodeExitCode returns the appropriate exit code per the spec:0 = all valid 1 = validation errors 2 = parse errors
IMP-reporter-counts-5083288 countscounts tallies WARNING and ERROR-level graph checks in a single pass.Shared by ExitCode, Format, and FormatJSON so the summary numbers arecomputed the same way everywhere.
IMP-reporter-resultFindings-da40197 resultFindingsresultFindings returns graph checks that belong to the verificationresults layer rather than to an authored requirement: findings attributedto synthesized nodes (RESULT:/TC: IDs) and loader warnings attachedwithout a ReqID (e.g. unbound-result). These are rendered in a dedicatedresults section, never as requirement-attributed findings.
IMP-reporter-Format-dde0447 FormatFormat produces the per-file, per-requirement validation reportas specified in the spec tree under spec/.
IMP-reporter-FormatJSON-7d0f915 FormatJSONFormatJSON serializes the full check report as JSON.
IMP-reporter-FormatList-a6f5d1d FormatListmissing coverage
FormatList produces a text table for reqmd list. Every node appearsin document order with a leading Type column: requirements carry theirID (+ title) and attributes, containers and info items show theirheading text with empty attribute cells.
IMP-reporter-FormatStats-2b22ce0 FormatStatsmissing coverage
FormatStats produces a stats breakdown. The per-document header showsrequirement and item counts; a type breakdown section precedes theattribute-value breakdowns.
IMP-reporter-DocumentSummary-360b609 DocumentSummarymissing coverage
DocumentSummary is the data needed for list/stats display.
IMP-reporter-NodeRow-a2eea22 NodeRowmissing coverage
NodeRow is a single row in list/stats output: a requirement or aninformation item (container/info), in document order.
IMP-reporter-attributeCounts-eb7d80a attributeCountsmissing coverage
attributeCounts tallies string attribute values per declared propertyacross a document's rows. Properties with no string values are omitted.Shared by the text and JSON stats formatters so both report identicalbreakdowns.
IMP-reporter-sortedKeys-a407aab sortedKeysmissing coverage
IMP-reporter-jsonReport-d472f7e jsonReportmissing coverage
IMP-reporter-jsonSummary-86ada34 jsonSummarymissing coverage
IMP-reporter-jsonDocSection-6795f5d jsonDocSectionmissing coverage
IMP-reporter-jsonReqResult-b005c6d jsonReqResultmissing coverage
IMP-reporter-jsonChk-655adcc jsonChkmissing coverage
IMP-reporter-jsonParseErr-341f8fe jsonParseErrmissing coverage
IMP-reporter-jsonListReport-0de3b56 jsonListReportmissing coverage
IMP-reporter-jsonListDoc-8485cea jsonListDocmissing coverage
IMP-reporter-jsonListRow-72c7e70 jsonListRowmissing coverage
IMP-reporter-jsonStatsDoc-6293ad3 jsonStatsDocmissing coverage
IMP-reporter-FormatListJSON-be34f2b FormatListJSONmissing coverage
FormatListJSON serializes list output as JSON. All nodes appear indocument order in the rows array with a type discriminator.
IMP-reporter-FormatStatsJSON-e3ea6f2 FormatStatsJSONmissing coverage
FormatStatsJSON serializes stats output as JSON.
IMP-reporter-jsonStatsOut-e998dd9 jsonStatsOutmissing coverage
IMP-reporter-mustUnmarshal-cbdc45e mustUnmarshalmissing coverage
mustUnmarshal decodes JSON string into a map for assertion checks.
IMP-reporter-TestExitCode-67062c7 TestExitCodemissing coverage
--- ExitCode ---
IMP-reporter-TestFormat_Empty-4b3c13f TestFormat_Emptymissing coverage
--- Format (empty) ---
IMP-reporter-TestFormat_WithValidationErrors-0fb0226 TestFormat_WithValidationErrorsmissing coverage
--- Format (validation errors) ---
IMP-reporter-TestFormat_WithNewFormat-2c91a63 TestFormat_WithNewFormatmissing coverage
--- Format (new format with DocHeaders) ---
IMP-reporter-TestFormat_EmptyWithDocHeaders-654afa3 TestFormat_EmptyWithDocHeadersmissing coverage
--- Format (empty with DocHeaders) ---
IMP-reporter-TestExitCode_GraphErrorChangesExitCode-b8da1e6 TestExitCode_GraphErrorChangesExitCodemissing coverage
--- ExitCode with graph errors ---
IMP-reporter-TestFormat_WithParseErrors-219535a TestFormat_WithParseErrorsmissing coverage
--- Format (parse errors) ---
IMP-reporter-TestFormatList-7bfaedd TestFormatListmissing coverage
--- FormatList ---
IMP-reporter-TestFormatList_WithTitle-3a5f904 TestFormatList_WithTitlemissing coverage
IMP-reporter-TestFormatListJSON_WithTitle-ce5e1e2 TestFormatListJSON_WithTitlemissing coverage
IMP-reporter-TestFormatStats-fe92ba0 TestFormatStatsmissing coverage
--- FormatStats ---
IMP-reporter-TestFormatJSON_Simple-25c543a TestFormatJSON_Simplemissing coverage
--- JSON output ---
IMP-reporter-TestFormatJSON_Empty-cedf301 TestFormatJSON_Emptymissing coverage
IMP-reporter-TestFormatJSON_ParseErrors-9e07194 TestFormatJSON_ParseErrorsmissing coverage
IMP-reporter-TestFormatJSON_GraphErrors-936fba3 TestFormatJSON_GraphErrorsmissing coverage
IMP-reporter-TestFormatListJSON-6daeeeb TestFormatListJSONmissing coverage
IMP-reporter-TestFormatStatsJSON-8a521b2 TestFormatStatsJSONmissing coverage
IMP-reporter-TestFormat_ResultsSection-45a5597 TestFormat_ResultsSectionmissing coverage