reqmd Package: exporter

Package: exporter

approved 245Leaf

245 requirements · 27 nested · 1 items

X Reqmd.source File
X Reqmd.source Line
X Reqmd.symbol Kind

This file is auto-generated by reqmd-code. Do not edit by hand.

IMP-exporter-LinkState-3d8ba67 LinkState

#

missing coverage

LinkState is one trace link as the views present it. Title is the target'shuman-readable title; Pin/Direction describe the authored version pin andits health against the target's current Version.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
14
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-NodeState-d58911b NodeState

#

missing coverage

NodeState is the presentation state of one requirement, adapted from graphanalysis. Views render these states instead of inferring coverage orverification from link presence.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
31
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-Analysis-8356668 Analysis

#

Analysis is the semantic layer shared by every HTML view: coverage,verification, and trace link health adapted from the graph so the exportcannot disagree with reqmd check.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
47
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-SetHrefResolver-365bb87 SetHrefResolver

#

SetHrefResolver lets the analysis attach cross-document targets to linkswhose requirement lives on another page (the client cannot build them fornodes it never received).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
59
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-mirrorDownstream-813dfdb mirrorDownstream

#

mirrorDownstream copies every resolved outbound link into its target'sdownstream list, keeping the authored pin and its health, then sorts eachdownstream list for deterministic output.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
171
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-CoverageOf-79c00d7 CoverageOf

#

CoverageOf summarizes the given requirement states.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
216
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-VerdictsOf-41a2273 VerdictsOf

#

VerdictsOf summarizes the verification states of the given requirements.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
255
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-LinksOf-ec77cd8 LinksOf

#

LinksOf summarizes the declared outbound trace links of the givenrequirements.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
289
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-NewAnalysis-a7d8896 NewAnalysis

#

missing coverage

NewAnalysis adapts graph results into presentation state. titleMap supplieslink titles; missing entries fall back to the bare ID.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
65
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-realRequirementIDs-85a8a31 realRequirementIDs

#

missing coverage

realRequirementIDs returns the IDs of authored requirements. Synthetic nodes(RESULT: pseudo-requirements and synthesized test cases) are evidence, notrequirements: they have no page and must not appear as trace links.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
92
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-nodeState-abdcb3b nodeState

#

missing coverage

nodeState assembles one requirement's presentation state.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
109
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-evidenceItems-1adbdcd evidenceItems

#

missing coverage

evidenceItems converts graph evidence into the exporter's render type.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
130
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-CoverageSummary-b108d40 CoverageSummary

#

missing coverage

CoverageSummary counts the coverage states of the given requirements.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
205
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-VerdictSummary-3236c9d VerdictSummary

#

missing coverage

VerdictSummary counts verification states over the eligible measures of thegiven requirements. Unverified eligible measures are counted as NoVerdict,so percentages always divide by the eligible total.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
245
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-LinkSummary-6938ace LinkSummary

#

missing coverage

LinkSummary counts trace link health across the given requirements.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
280
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-isSyntheticID-c152164 isSyntheticID

#

missing coverage

isSyntheticID reports whether an ID belongs to a synthesized node (resultpseudo-requirement or test case) rather than an authored requirement.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
310
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-idsOf-ae4c59d idsOf

#

missing coverage

idsOf returns the given document's requirement IDs in document order.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/analysis.go
X Reqmd.source Line
315
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-DocBoundary-38d6d1a DocBoundary

#

missing coverage

DocBoundary describes a document directory's position in the V-model chain.IsRoot is true when the document has no upstream sources (or isdeclared external). IsLeaf is true when no other document referencesit as an upstream source.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/boundary.go
X Reqmd.source Line
15
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-ComputeDocBoundaries-625fcd1 ComputeDocBoundaries

#

missing coverage

ComputeDocBoundaries returns the boundary for each document directory path.A document is a root boundary when it has no upstream sources, or isdeclared external. A document is a leaf boundary when it is notreferenced as an upstream source by any other document.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/boundary.go
X Reqmd.source Line
24
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestComputeBoundaries_MixedTopology-c690610 TestComputeBoundaries_MixedTopology

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/boundary_test.go
X Reqmd.source Line
9
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestComputeBoundaries_ExternalOverridesSources-d8fb15c TestComputeBoundaries_ExternalOverridesSources

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/boundary_test.go
X Reqmd.source Line
55
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestComputeBoundaries_NilXReqmd-f1e8644 TestComputeBoundaries_NilXReqmd

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/boundary_test.go
X Reqmd.source Line
69
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestComputeBoundaries_EmptySources-eebf857 TestComputeBoundaries_EmptySources

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/boundary_test.go
X Reqmd.source Line
81
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-browserFixture-a979123 browserFixture

#

missing coverage

browserFixture builds a document whose analysis exercises every state:covered, missing coverage, a failing verdict, and a draft requirement thatthe default status filter hides.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
19
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-exportBrowserFixture-7f72731 exportBrowserFixture

#

missing coverage

exportBrowserFixture writes the fixture page and returns its path.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
62
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-browserHarness-8506996 browserHarness

#

missing coverage

browserHarness drives the exported page and reports results through thedocument title, which --dump-dom prints.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
83
X Reqmd.symbol Kind
const
Status
approved

IMP-exporter-deepLinkHarness-092fda4 deepLinkHarness

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
162
X Reqmd.symbol Kind
const
Status
approved

IMP-exporter-restoredStateHarness-8e71cdf restoredStateHarness

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
177
X Reqmd.symbol Kind
const
Status
approved

IMP-exporter-findChrome-ba3a8cb findChrome

#

missing coverage

findChrome returns the first usable headless-capable browser.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
196
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-runHeadless-9b7fc94 runHeadless

#

missing coverage

runHeadless loads one exported page through file:// with the given harnessappended and returns the decoded RESULT payload.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
209
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-stringSet-f736881 stringSet

#

missing coverage

stringSet converts a decoded JSON array of strings into a set.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
251
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-assertNoJSErrors-521bcf3 assertNoJSErrors

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
266
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportBrowserSmoke-39a9a50 TestHTMLExportBrowserSmoke

#

missing coverage

TestHTMLExportBrowserSmoke is the end-to-end guard for workflows that onlyexist in the client: offline load, filtering, sorting, the on-demand views,the bounded matrix, and keyboard operation.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
276
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportBrowserRestoresURLState-6a90c76 TestHTMLExportBrowserRestoresURLState

#

missing coverage

TestHTMLExportBrowserRestoresURLState verifies a shared URL reproduces theexact filtered view, including values with commas and colons.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
352
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportBrowserExplicitEmptyFilters-7a5ba17 TestHTMLExportBrowserExplicitEmptyFilters

#

missing coverage

TestHTMLExportBrowserExplicitEmptyFilters verifies ?f= keeps the documentdefault status filter cleared after reload.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
375
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportBrowserMobileOutline-e7e2291 TestHTMLExportBrowserMobileOutline

#

missing coverage

TestHTMLExportBrowserMobileOutline verifies the outline becomes a drawer atmobile width and the toolbar stops sticking when vertical space is tight.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
391
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportBrowserMatrixBound-dc99342 TestHTMLExportBrowserMatrixBound

#

missing coverage

TestHTMLExportBrowserMatrixBound verifies the full matrix refuses to drawbeyond its cell limit and points the reviewer at the trace neighbourhood.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
421
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportBrowserLinkSemantics-e6d4d20 TestHTMLExportBrowserLinkSemantics

#

missing coverage

TestHTMLExportBrowserLinkSemantics covers the navigation fixes: externaltrace nodes are links, requirement references inside analytical views openthe Document view, and the shortcuts dialog receives focus.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
496
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportBrowserContextJumps-61d6857 TestHTMLExportBrowserContextJumps

#

missing coverage

TestHTMLExportBrowserContextJumps verifies that jumping from a coveragequeue keeps the reviewer's filters and that the result count names thereason requirements are hidden.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/browser_test.go
X Reqmd.source Line
557
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-CSV-4877f3a CSV

#

CSV exports document content as comma-separated values. When verdictsare set via SetVerdicts, extra columns (Verdict, Verdict Source, VerdictCases) are appended per row.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/csv.go
X Reqmd.source Line
16
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-SetVerdicts-5a7abe8 SetVerdicts

#

SetVerdicts stores verification verdicts for CSV export. When non-nil,extra columns (Verdict, Verdict Source, Verdict Cases) are appended tothe output.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/csv.go
X Reqmd.source Line
23
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-Export-e9edde0 Export

#
Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/csv.go
X Reqmd.source Line
27
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-BuildTitleMap-9c92b3a BuildTitleMap

#

missing coverage

BuildTitleMap builds a reqID → title map across all documents, for use astrace-link labels. Requirements with an empty title are omitted.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
12
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-RenderContext-58b5069 RenderContext

#

RenderContext holds precomputed document chain and link resolution datafor cross-document HTML traceability. It is shared by the export and serve commands.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
26
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-BuildChainGraph-f460196 BuildChainGraph

#

BuildChainGraph constructs the tiered document trace graph for the given doc.

Upstream tiers (negative levels) are computed by BFS outward from the currentdoc following upstream.sources references. Docs at the same shortestdistance are grouped into a single horizontal tier so parallel branches atthe same level render side-by-side. External docs (x-reqmd.external: true)are flagged so the renderer can mark them.

Downstream tiers are computed symmetrically by BFS following invertedreferences (docs whose upstream.sources point at the current doc, or anyother already-reached downstream doc).

Self-references and visited nodes are tracked globally to terminate cycles.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
156
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-docLinkInfo-538ca38 docLinkInfo

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
36
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-absDocInfo-50f98bc absDocInfo

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
42
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-NewRenderContext-cf49397 NewRenderContext

#

missing coverage

NewRenderContext precomputes the cross-document link map and trace chain data.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
48
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-ChainCard-7c51781 ChainCard

#

missing coverage

ChainCard represents a single document in the chain graph visualization.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
115
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-ChainTier-41d8237 ChainTier

#

missing coverage

ChainTier is a horizontal row of docs at the same trace distance.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
124
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-DocChainGraph-229e95f DocChainGraph

#

DocChainGraph is the full tiered document graph for a single current doc.It is the source of truth for the Confluence-Flow visualization.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
132
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-HasContent-031093e HasContent

#

HasContent reports whether the graph has any tier that should be rendered.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
139
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-upstreamTierLabel-257c99f upstreamTierLabel

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
269
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-downstreamTierLabel-46dba48 downstreamTierLabel

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
273
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-tierLabel-1fa0b78 tierLabel

#

missing coverage

tierLabel formats a chain tier header: the bare noun at one level ofdistance, otherwise " · N levels ".

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
279
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-eachChainCard-9f44252 eachChainCard

#

missing coverage

eachChainCard calls fn for every card in the graph's upstream anddownstream tiers (never the current card). Shared by the three cardpath-rewriting functions below.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
289
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-ResolveChainOutputs-b4bf6ab ResolveChainOutputs

#

missing coverage

ResolveChainOutputs replaces every non-current card's Path — which therender context seeds with the flat output file name (e.g."01-stakeholder-requirements.html") — with the real output path for thatdocument, as reported by outPath(dirName). Callers know where each pageis actually written (flat into an output dir, or into each document's owndir), so they supply the mapping. Relative card paths are then producedby RelativizeChainGraph.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
309
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-RelativizeChainGraph-fd140dc RelativizeChainGraph

#

missing coverage

RelativizeChainGraph rewrites every non-current card's Path to berelative to baseDir. This is a free function (not a method) so callersin other packages can use it without exposing the unexported fieldsof DocChainGraph.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
325
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-BasenameChainGraph-c3014af BasenameChainGraph

#

missing coverage

BasenameChainGraph collapses every non-current card's Path to itsbasename. Useful when all HTML files are served at a single URL root(the dev server).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain.go
X Reqmd.source Line
339
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-makeDoc-967426e makeDoc

#

missing coverage

makeDoc constructs a minimal model.Document with the given path, title andoptional x-reqmd block. Requirements are empty (the chain graph doesn't needany) and schema is the bare map containing the title.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain_test.go
X Reqmd.source Line
12
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-makeXReqmd-f261749 makeXReqmd

#

missing coverage

makeXReqmd is a tiny constructor for XReqmd pointer values.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain_test.go
X Reqmd.source Line
21
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildChainGraphSimpleLinear-fdb374a TestBuildChainGraphSimpleLinear

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain_test.go
X Reqmd.source Line
29
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildChainGraphParallelBranches-fec9442 TestBuildChainGraphParallelBranches

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain_test.go
X Reqmd.source Line
64
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildChainGraphExternalFlag-b8a454c TestBuildChainGraphExternalFlag

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain_test.go
X Reqmd.source Line
93
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildChainGraphCycle-0f31159 TestBuildChainGraphCycle

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain_test.go
X Reqmd.source Line
112
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildChainGraphDeeperLevels-ca5d1c3 TestBuildChainGraphDeeperLevels

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain_test.go
X Reqmd.source Line
134
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildChainGraphNoUpstream-8342a2f TestBuildChainGraphNoUpstream

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain_test.go
X Reqmd.source Line
165
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestResolveAndRelativizeChainOutputs-012d207 TestResolveAndRelativizeChainOutputs

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/docchain_test.go
X Reqmd.source Line
181
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-schemaWithTitle-be55a35 schemaWithTitle

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/exporter_test.go
X Reqmd.source Line
11
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestCSVExport-2cda038 TestCSVExport

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/exporter_test.go
X Reqmd.source Line
25
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestCSVExportSpecialTypes-8b79af8 TestCSVExportSpecialTypes

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/exporter_test.go
X Reqmd.source Line
87
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportDocChain-b22f386 TestHTMLExportDocChain

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/exporter_test.go
X Reqmd.source Line
136
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportDocChainExternal-6ed6705 TestHTMLExportDocChainExternal

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/exporter_test.go
X Reqmd.source Line
249
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportDocChainDeep-aebe84c TestHTMLExportDocChainDeep

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/exporter_test.go
X Reqmd.source Line
302
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportDocChainCrowded-470a28a TestHTMLExportDocChainCrowded

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/exporter_test.go
X Reqmd.source Line
366
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestCSVExportItems-db45cdc TestCSVExportItems

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/exporter_test.go
X Reqmd.source Line
433
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestCSVExportVerdicts-e321c76 TestCSVExportVerdicts

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/exporter_test.go
X Reqmd.source Line
466
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-ExportGraph-394530c ExportGraph

#

missing coverage

ExportGraph writes all parsed requirements as a ladybugdb database at outDir.Each requirement becomes a node with id and file properties. Every tracelink becomes a TracesTo edge between Requirement nodes.

The resulting database is at /reqmd-graph.lbug/ and can be queriedwith the ladybug CLI or SQL ODBC driver.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/graph.go
X Reqmd.source Line
25
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-escapeCypherString-a245d4b escapeCypherString

#

missing coverage

escapeCypherString escapes single quotes by doubling them for safe inlineCypher string literals.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/graph.go
X Reqmd.source Line
122
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-staticFS-5a7bdab staticFS

#

missing coverage

go:embed static

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
26
X Reqmd.symbol Kind
var
Status
approved

IMP-exporter-mustReadStatic-35352d1 mustReadStatic

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
37
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-EvidenceItem-24b28ec EvidenceItem

#

missing coverage

EvidenceItem is one verification result contributing to a measure'srolled-up evidence set, ready for rendering in exports.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
47
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-VerdictInfo-3d839d7 VerdictInfo

#

missing coverage

VerdictInfo carries the rolled-up verification verdict for a singlemeasure: the outcome, a representative source file, the case keys thatcontributed (for CSV), and the full evidence list (for HTML).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
57
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-HTML-1ac7457 HTML

#

HTML exports requirements as standalone HTML: a server-rendered Documentview plus on-demand analytical views driven by one shared view model.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
66
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-SetAnalysis-5f0cad9 SetAnalysis

#

SetAnalysis supplies the graph-derived coverage, verification, and linkstate every view renders. A nil analysis renders requirements withoutsemantic status (still valid output, just less information).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
76
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-SetDocChainGraph-b72256c SetDocChainGraph

#

SetDocChainGraph configures the tiered document graph used by thedocument-chain navigation. Pass a zero-value graph to disable the chain.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
129
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-SetBoundary-be634e9 SetBoundary

#

SetBoundary configures the document-level boundary flags (root/leafposition in the V-model chain) used by the header badges.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
135
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-Export-9012d07 Export

#

Export writes requirements as a standalone HTML page. The Document view isserver-rendered and fully visible without JavaScript; Table, Trace, andCoverage render on demand from the embedded view model.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
145
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-schemaTitle-9cb6a59 schemaTitle

#

missing coverage

schemaTitle safely extracts the title field from a document's parsedschema. Returns "" when Schema is nil, not a map, or has no string title.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
88
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-docTitle-4498ba2 docTitle

#

missing coverage

docTitle returns the title used for rendering a document page or card:the parsed file h1 (document title), falling back to the schema title.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
99
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-bodyRenderer-d0402f5 bodyRenderer

#

missing coverage

bodyRenderer renders requirement body markdown to HTML.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
107
X Reqmd.symbol Kind
var
Status
approved

IMP-exporter-renderMarkdown-c4860fb renderMarkdown

#

missing coverage

renderMarkdown renders markdown content to safe HTML.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
119
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-pageBufferSize-7c8ec5e pageBufferSize

#

missing coverage

pageBufferSize is the buffered-writer size for one exported page.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
140
X Reqmd.symbol Kind
const
Status
approved

IMP-exporter-renderModelJSON-0b90809 renderModelJSON

#

missing coverage

renderModelJSON writes the shared view model the client renders from.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
185
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderScript-f1c838d renderScript

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
190
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-formatAttrLabel-8be58cc formatAttrLabel

#

missing coverage

formatAttrLabel converts a snake_case or kebab-case attribute name toa human-readable title-case label (e.g. "disposition-reason" → "Disposition Reason").

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
198
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-formatAttrHTML-1cde9fb formatAttrHTML

#

missing coverage

formatAttrHTML renders an attribute value as rich HTML for the card grid.Arrays become inline pill tags. Nested maps become a compact JSON block.All output is already HTML-escaped where needed by the caller.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
211
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderChainGraph-ec41759 renderChainGraph

#

missing coverage

renderChainGraph writes the Document Stack chain as HTML to b.The output is pure HTML/CSS — no JavaScript.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
266
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderChainZone-347b221 renderChainZone

#

missing coverage

renderChainZone writes one horizontal zone (upstream or downstream)with its header and stacked tiers.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
288
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderChainSeparator-dfd1416 renderChainSeparator

#

missing coverage

renderChainSeparator writes the chevron rule between chain zones.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
306
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderChainCard-92666bd renderChainCard

#

missing coverage

renderChainCard writes one (or for the current doc) card.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html.go
X Reqmd.source Line
315
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-analysisFor-931d377 analysisFor

#

missing coverage

analysisFor builds the presentation analysis from a document set.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
15
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-exportPage-753db53 exportPage

#

missing coverage

exportPage renders one document and returns the HTML.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
25
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-pageModelOf-5578d77 pageModelOf

#

missing coverage

pageModelOf extracts and decodes the embedded page model.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
35
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-basicDoc-20af48e basicDoc

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
49
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExport-ea186e5 TestHTMLExport

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
75
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportOfflineContent-8b4836d TestHTMLExportOfflineContent

#

missing coverage

TestHTMLExportOfflineContent is the Phase 0/1 regression guard: primarycontent is visible by default, and nothing loads from a CDN.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
144
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportHTMLEscaping-3a09054 TestHTMLExportHTMLEscaping

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
170
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportModelIsHTMLSafe-a5d99de TestHTMLExportModelIsHTMLSafe

#

missing coverage

TestHTMLExportModelIsHTMLSafe pins that author-controlled values in theembedded JSON cannot break out of the script element.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
201
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportModelOmitsBodies-42a84a0 TestHTMLExportModelOmitsBodies

#

missing coverage

TestHTMLExportModelOmitsBodies verifies the duplicate-data fix: the readingview is the only representation of requirement prose.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
227
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportTraceAttributeNotInGrid-76c925c TestHTMLExportTraceAttributeNotInGrid

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
244
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportArrayPillsAndNestedObjects-145c708 TestHTMLExportArrayPillsAndNestedObjects

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
257
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportItems-820ff8f TestHTMLExportItems

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
298
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExport_UndeclaredAttributeRendered-7cd4750 TestHTMLExport_UndeclaredAttributeRendered

#

missing coverage

TestHTMLExport_UndeclaredAttributeRendered verifies undeclared attributesstill render (flagged) and feed the filter menu.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
344
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportTraceLinkState-864d49b TestHTMLExportTraceLinkState

#

missing coverage

TestHTMLExportTraceLinkState checks pins, versions, and link health in theshared model and the server-rendered links.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
383
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportDownstreamLinkDirection-1c8effe TestHTMLExportDownstreamLinkDirection

#

missing coverage

TestHTMLExportDownstreamLinkDirection pins that a requirement's inboundlinks appear as Down (who traces to it), never as Up.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
442
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestMatrixTooltipDirection-ff8c0eb TestMatrixTooltipDirection

#

missing coverage

TestMatrixTooltipDirection pins the client's direction-specific matrixtooltip, the regression from the old downstream matrix.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
485
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportCoverageStates-20de61d TestHTMLExportCoverageStates

#

missing coverage

TestHTMLExportCoverageStates checks that coverage comes from graphsemantics, not link presence: a draft downstream does not cover.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
498
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportNoVerdictIsFirstClass-5de0635 TestHTMLExportNoVerdictIsFirstClass

#

missing coverage

TestHTMLExportNoVerdictIsFirstClass verifies unverified eligible measuresshow a no-verdict chip and are marked eligible in the model, so the clientdenominator includes them.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
535
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportEvidenceList-248536c TestHTMLExportEvidenceList

#

missing coverage

TestHTMLExportEvidenceList keeps the rolled-up evidence rendering.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
579
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestHTMLExportLargeDocumentBound-184d97b TestHTMLExportLargeDocumentBound

#

missing coverage

TestHTMLExportLargeDocumentBound guards against quadratic hidden markup:a large document's output grows linearly and emits no matrix/table DOM.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
612
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestProjectIndex-5f32171 TestProjectIndex

#

missing coverage

TestProjectIndex checks the project home page content and queues.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/html_test.go
X Reqmd.source Line
656
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-JSON-210eb34 JSON

#

JSON exports the parsed tree as NDJSON tables. Verdicts set viaSetVerdicts are emitted by ExportResults; the graph passed to theExport* methods is the single source of truth for trace edges,verdicts, and findings.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
25
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-SetVerdicts-7642e8a SetVerdicts

#

SetVerdicts stores verification verdicts for JSON export, mirroring CSV.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
30
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-ExportRequirements-0cdaae2 ExportRequirements

#

ExportRequirements writes one NDJSON row per content node (requirements,containers, and info items) across all authored documents. Syntheticdocuments (verification results and test cases) are skipped: therequirement table is authored truth.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
80
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-ExportTraces-87ecca4 ExportTraces

#

ExportTraces writes one NDJSON row per declared trace reference, readfrom the raw trace attribute values and resolved against the graph.Both are needed: the attribute carries the declared intent (includingdangling refs), the graph carries resolution.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
151
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-ExportResults-d7ba418 ExportResults

#

ExportResults writes one NDJSON row per measure with a non-emptyevidence set. Verdicts come from the graph's strict roll-up over ameasure's own results and its approved downstream test cases, so thevalue matches what HTML badges and CSV columns show.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
228
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-ExportFindings-1e3ee58 ExportFindings

#

ExportFindings writes one NDJSON row per graph check finding (the sameresults the text and JSON reporters print). Rows are ordered byrequirement, then code, then message so repeated exports are identical.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
273
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-promotedAttrs-6e2ebea promotedAttrs

#

missing coverage

promotedAttrs maps a built-in requirement attribute to the top-levelNDJSON key it is promoted to, so warehouse SQL can read it directlyinstead of digging into the attrs envelope.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
37
X Reqmd.symbol Kind
var
Status
approved

IMP-exporter-jsonRequirement-5e44e8f jsonRequirement

#

missing coverage

jsonRequirement is one row of requirements.ndjson. Built-in attributesare promoted to top-level keys; the remaining declared attributes stayin Attrs so nothing is lost.

Every fixed key is present in every row (null when unset) so warehouseschema inference — DuckDB, Spark, Snowflake's infer_schema — sees thefull column set regardless of which row it samples. Attrs is the oneintentional exception: it is the per-document attribute envelope and isnull on nodes that declare no extra attributes.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
56
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-jsonTrace-7a728a5 jsonTrace

#

missing coverage

jsonTrace is one row of traces.ndjson: one declared trace reference.To is the resolved bare requirement ID when resolved, otherwise the rawdeclared target. Ref always holds the raw form as written, and DocIDholds the doc-id qualifier when the ref uses one. Resolved is falsefor a dangling reference; such a ref also appears in findings.ndjson, soconsumers can count or filter it themselves.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
137
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-jsonCase-0ceebc8 jsonCase

#

missing coverage

jsonCase is one contributing verification result in a measure'sevidence set.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
208
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-jsonResult-21d5a0d jsonResult

#

missing coverage

jsonResult is one row of results.ndjson: one rolled-up measure verdict.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
216
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-jsonFinding-13fc831 jsonFinding

#

missing coverage

jsonFinding is one row of findings.ndjson, mirroring the reporter'sCheckResult fields. ERROR and WARNING both appear; consumers filter.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
260
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-walkJSONNodes-50d82be walkJSONNodes

#

missing coverage

walkJSONNodes visits every node in document order, depth-first.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
309
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-remainingAttrs-dbbe94e remainingAttrs

#

missing coverage

remainingAttrs returns a copy of attrs without the promoted built-inkeys, so a value never appears both top-level and in the envelope.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
318
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-measureVerify-89954a7 measureVerify

#

missing coverage

measureVerify returns the verify attribute of an authored measure, or"" when the ID is unknown or the attribute is absent.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json.go
X Reqmd.source Line
337
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-jsonDocs-2b7e0bb jsonDocs

#

missing coverage

jsonDocs builds a small two-document tree: one upstream with a version,one downstream that traces to it with a pin and a dangling ref. Enough toexercise every table.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json_test.go
X Reqmd.source Line
17
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-encodeRows-d3b8475 encodeRows

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json_test.go
X Reqmd.source Line
78
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestJSONExportRequirements-57bc282 TestJSONExportRequirements

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json_test.go
X Reqmd.source Line
103
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestJSONExportTraces-5ab6144 TestJSONExportTraces

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json_test.go
X Reqmd.source Line
169
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestJSONExportFindings-e5864f8 TestJSONExportFindings

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json_test.go
X Reqmd.source Line
217
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestJSONExportDeterministic-4e5c108 TestJSONExportDeterministic

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json_test.go
X Reqmd.source Line
260
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestJSONExportStableColumns-7e6119c TestJSONExportStableColumns

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json_test.go
X Reqmd.source Line
293
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestJSONExportResults-8dd3038 TestJSONExportResults

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json_test.go
X Reqmd.source Line
369
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestJSONExportResultsWithoutResults-dde095a TestJSONExportResultsWithoutResults

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/json_test.go
X Reqmd.source Line
397
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-filterSet-116d20c filterSet

#

missing coverage

filterSet is the per-attribute sorted unique values collected acrossall requirements, used to populate the search toolbar filter menus.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
13
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-pageNode-1d781d9 pageNode

#

missing coverage

pageNode is one content node in the shared view model. Body and rationaleare deliberately absent: the server-rendered Document view is their singlerepresentation and analytical views read them from the DOM.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
32
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-pageDocMeta-f12c074 pageDocMeta

#

missing coverage

pageDocMeta carries the document facts the client toolbar and views show.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
46
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-pageModel-86c2446 pageModel

#

missing coverage

pageModel is the single view model for one exported document page. Everyanalytical view, count, aggregate, and outline is derived from it, and thefilters are the only filtering input.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
56
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-renderData-77ae77e renderData

#

missing coverage

renderData is the single O(n) intermediate produced by buildRenderData: itpowers the server-rendered TOC, the filter menus, and the view model.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
68
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-buildRenderData-e6e8856 buildRenderData

#

missing coverage

buildRenderData runs a single O(n) pass over the document content tree toproduce the per-document data the rendering helpers need: the filter set,the per-status breakdown, and the stable DOM anchors.

Every node gets a stable anchor: requirements anchor on their ID,containers and info items on a generated "info-N" anchor (N = documentorder sequence). The same anchors are used by the TOC and by the renderedDOM so scroll-spy stays consistent.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
83
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-buildPageModel-c285b4e buildPageModel

#

missing coverage

buildPageModel turns the document tree and graph analysis into the sharedview model. resolveLink maps a requirement ID to a cross-document href; anil resolver yields same-page fragments. propOrder is the schema propertyorder used to order the table's attribute columns.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
121
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-pageMeta-17405bc pageMeta

#

missing coverage

pageMeta fills the document-level model fields.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
136
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-modelHref-9521b8a modelHref

#

missing coverage

modelHref resolves cross-document links for the model, falling back to anempty href (the client uses the same-page anchor).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
160
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-pageNodeFor-04547bc pageNodeFor

#

missing coverage

pageNodeFor converts one content node, attaching graph-derived state forrequirement nodes.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
171
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-attributeColumns-0320a2d attributeColumns

#

missing coverage

attributeColumns returns every attribute present on at least onerequirement, in schema property order followed by undeclared extras A→Z.trace and status are excluded: both have dedicated presentation(trace link columns and the status chip/column).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
197
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-attrsForModel-78c252a attrsForModel

#

missing coverage

attrsForModel copies a requirement's attributes for the client model,dropping trace (represented by the Up links).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
231
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-sortedKeys-081ec53 sortedKeys

#

missing coverage

sortedKeys returns the keys of a string-keyed map in sorted order.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/model.go
X Reqmd.source Line
277
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-ProjectDoc-975307f ProjectDoc

#

missing coverage

ProjectDoc is one document row on the project home page.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
17
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-ProjectIndex-cbf0bb1 ProjectIndex

#

ProjectIndex is the project-level home page: document discovery,project-wide health, actionable queues, and cross-document search.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
32
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-Export-8c71d4d Export

#

Export writes the project home page.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
70
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-renderTiles-72bbbbc renderTiles

#

renderTiles writes the project-wide summary tiles.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
106
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-renderSearch-057694b renderSearch

#

renderSearch writes the cross-document search input and result list.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
173
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-queue-bbc3f76 queue

#

queue builds one queue across every document, capped to keep the pagebounded. The full count is returned so the section can say what was cut.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
193
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-renderQueues-c87e993 renderQueues

#

renderQueues writes the actionable exception lists.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
230
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-renderQueue-081c8d2 renderQueue

#

renderQueue writes one queue section, capped so the page stays bounded.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
341
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-renderCatalog-ada131e renderCatalog

#

renderCatalog writes the document catalog table.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
365
X Reqmd.symbol Kind
method
Status
approved

IMP-exporter-NewProjectIndex-0ea572f NewProjectIndex

#

missing coverage

NewProjectIndex builds the project home model. hrefFor maps a documentdirectory path to the exported page href.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
40
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-queueItem-d6f06de queueItem

#

missing coverage

queueItem is one actionable finding on the project page.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
183
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-filepathBase-39a8116 filepathBase

#

missing coverage

filepathBase returns the last path element, tolerating URL separators.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
222
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-queueSpec-2b56656 queueSpec

#

missing coverage

queueSpec is one actionable queue: a title, an explanation, and the matcherthat decides which requirement states belong to it.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
242
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-projectQueueSpecs-bd0367a projectQueueSpecs

#

missing coverage

projectQueueSpecs is the fixed set of exception queues on the project home.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
252
X Reqmd.symbol Kind
var
Status
approved

IMP-exporter-missingCoverageNote-db9d580 missingCoverageNote

#

missing coverage

missingCoverageNote matches requirements whose coverage expectation is notmet by an approved downstream requirement.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
287
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-unresolvedCoverageNote-d270f27 unresolvedCoverageNote

#

missing coverage

unresolvedCoverageNote matches requirements expecting coverage from anunknown document-id or level.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
300
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-missingVerdictNote-8a68a5f missingVerdictNote

#

missing coverage

missingVerdictNote matches eligible measures with no result.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
308
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-failingVerdictNote-c6db047 failingVerdictNote

#

missing coverage

failingVerdictNote matches measures whose rolled-up verdict is fail.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
316
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-brokenTraceNote-bbf7d9c brokenTraceNote

#

missing coverage

brokenTraceNote matches requirements with unresolved, outdated, or predatedoutbound trace links.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
325
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-attentionClass-2201240 attentionClass

#

missing coverage

attentionClass returns a modifier class when a count should stand out.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
397
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-projectIndexCapacity-973368d projectIndexCapacity

#

missing coverage

projectIndexCapacity pre-sizes the cross-document search index.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
405
X Reqmd.symbol Kind
const
Status
approved

IMP-exporter-renderProjectJSON-4c8539d renderProjectJSON

#

missing coverage

renderProjectJSON writes the cross-document requirement index used by theproject search.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
409
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-entry-4a2c802 entry

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/project.go
X Reqmd.source Line
410
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-normalizeAttrValue-cf3603f normalizeAttrValue

#

missing coverage

The HTML export has one server-rendered reading view and three analyticalviews rendered on demand from the embedded page model:document — quiet card-per-requirement reading view (works without JS) table — dense sortable grid with a column chooser and row expansion trace — selected-requirement trace explorer with a bounded matrix coverage — actionable coverage, verification, and link-health lists

Every view, count, aggregate, and outline reads the same filteredrequirement set, so the toolbar means one thing.normalizeAttrValue collapses []any / []string / scalar attributevalues into a uniform []string, dropping nil entries and nested maps.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
28
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-buildFilters-67a8eed buildFilters

#

missing coverage

buildFilters collects per-attribute unique values across all requirementsinto a filterSet. Attributes with fewer than two distinct values are omitted(single-value filters are not useful).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
66
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-collectFilterValues-5487f74 collectFilterValues

#

missing coverage

collectFilterValues gathers the distinct values of every filterableattribute. The trace attribute never becomes a filter; status values areskipped when the document opts out of the status lifecycle.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
81
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-orderFilterValues-0a26312 orderFilterValues

#

missing coverage

orderFilterValues returns one attribute's values in display order: status iscanonical (draft, approved, declared additions, then A→Z); everything elseis sorted A→Z.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
106
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-sortedStatusValues-bd62ea3 sortedStatusValues

#

missing coverage

sortedStatusValues returns the given status values in canonical order:built-ins [draft, approved] first, then declared additions A→Z, then anyunrecognized values A→Z.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
121
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-orderStatusFilterValues-449bd14 orderStatusFilterValues

#

missing coverage

orderStatusFilterValues pulls the declared additions from doc.XReqmd(nil-safe) and returns the values in canonical order.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
153
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-statusBreakdownItem-a3f0268 statusBreakdownItem

#

missing coverage

statusBreakdownItem describes one status value and its count.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
162
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-countStatusBreakdown-fe5005e countStatusBreakdown

#

missing coverage

countStatusBreakdown tallies status values across all requirements in adocument, in display order: built-in (draft, approved) first, thenadditions A→Z. Values not declared are treated as StatusDefault.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
170
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-statusColor-1a3f7db statusColor

#

missing coverage

statusColor returns the CSS color expression for a status value. Built-insreturn a CSS variable so the active theme selects the right value.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
195
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-effectiveStatus-bbda605 effectiveStatus

#

missing coverage

effectiveStatus returns the requirement's status, defaulting to approved.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
223
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-countItems-fd559eb countItems

#

missing coverage

countItems tallies non-requirement nodes (containers + info items).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
231
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-maxHeadingLevel-cb1ef80 maxHeadingLevel

#

missing coverage

Content headings start at h2 (h1 is the document title) and stop at h6.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
243
X Reqmd.symbol Kind
const
Status
approved

IMP-exporter-minHeadingLevel-55c9a36 minHeadingLevel

#

missing coverage

Content headings start at h2 (h1 is the document title) and stop at h6.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
243
X Reqmd.symbol Kind
const
Status
approved

IMP-exporter-itemHeadingTag-bed1fcf itemHeadingTag

#

missing coverage

itemHeadingTag returns the HTML heading tag for an item's native markdownlevel. Top-level items start at h2 (h1 is the document title); nested itemskeep their native depth, floored one level below their parent.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
251
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-linkHref-8d73c6f linkHref

#

missing coverage

linkHref resolves a requirement ID to an href for this page: thecross-document resolver when available, else a same-page fragment.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
261
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderDocHead-c2c6172 renderDocHead

#

missing coverage

renderDocHead writes the + + block. Thestylesheet and client script are inlined: there is no runtime CDN request,so an exported page is fully offline. The theme is applied by a small headscript before first paint to avoid a light/dark flash.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
277
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderBodyOpen-5d442da renderBodyOpen

#

missing coverage

renderBodyOpen writes the , the app bar, the shell open, and theserver-rendered outline.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
293
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderTOC-5664c60 renderTOC

#

missing coverage

renderTOC writes the server-rendered outline. It works without JavaScript;the client hides items that fall outside the filtered requirement set.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
311
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderDocHeader-f617d05 renderDocHeader

#

missing coverage

renderDocHeader writes the document title, count line, status breakdown,boundary badges, and the frontmatter description. The trace chain lives atthe end of the Document view so it can never push a reader past the toolbar.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
350
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderDocChain-0bf4359 renderDocChain

#

missing coverage

renderDocChain writes the optional document chain navigation block.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
400
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderToolbar-c1616bd renderToolbar

#

missing coverage

renderToolbar writes the view switcher, search field, active-filter chipsplaceholder, and the per-attribute filter menus.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
434
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderDocumentView-5d5c146 renderDocumentView

#

missing coverage

renderDocumentView writes the server-rendered reading view: one card perrequirement, containers as collapsible sections, and info items as plainblocks. Contents are visible by default (no x-cloak), so the reading viewsurvives a JavaScript failure or an offline file:// open.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
497
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderEmptyState-6c308e4 renderEmptyState

#

missing coverage

renderEmptyState writes a consistent empty-state block.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
524
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderContainerBlock-11bd3ea renderContainerBlock

#

missing coverage

renderContainerBlock writes a collapsible section for a container node.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
530
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderInfoBlock-bedbc1b renderInfoBlock

#

missing coverage

renderInfoBlock writes a plain block for a leaf info item.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
548
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderCard-4292b6c renderCard

#

missing coverage

renderCard writes one requirement card. Semantic state is carried on dataattributes (used by CSS and the client) plus at most a few state chips, sothe reading view stays quiet.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
568
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderCardHeader-8577c39 renderCardHeader

#

missing coverage

renderCardHeader writes the ID/title heading and the anchor link.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
619
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderCardFlags-979ca3f renderCardFlags

#

missing coverage

renderCardFlags writes the state chips. Only exceptional or decision-relevant states are shown: draft/custom status, coverage problems, and anyverdict. A covered requirement with an approved status adds no chrome.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
639
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-statusChip-b95da2e statusChip

#

missing coverage

statusChip renders a chip only for non-approved statuses: an approvedrequirement adds no chrome.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
662
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-coverageChip-f82b232 coverageChip

#

missing coverage

coverageChip renders coverage problems only (missing or unresolved); acovered or not-required requirement adds no chrome.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
673
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-verdictChip-0cf63a9 verdictChip

#

missing coverage

verdictChip renders the rolled-up verdict, or an explicit no-verdict chipfor an eligible measure when results were loaded.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
700
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-attrRow-18a99f7 attrRow

#

missing coverage

attrRow is one rendered attribute cell in a requirement card.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
716
X Reqmd.symbol Kind
type
Status
approved

IMP-exporter-attrRows-e82db4c attrRows

#

missing coverage

attrRows returns the attribute cells to render, in display order: theschema property order first, then any remaining attributes actually presenton the requirement sorted A→Z. The trace attribute is skipped.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
725
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderAttrGrid-23c9b19 renderAttrGrid

#

missing coverage

renderAttrGrid writes the attribute definition list.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
754
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderRationale-e48ec03 renderRationale

#

missing coverage

renderRationale writes the rationale block when present.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
771
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderEvidenceList-38ef797 renderEvidenceList

#

missing coverage

renderEvidenceList writes the rolled-up verification evidence.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
779
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderTraceColumn-7b51849 renderTraceColumn

#

missing coverage

renderTraceColumn writes one direction column.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
816
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderPalette-8a06c99 renderPalette

#

missing coverage

renderPalette writes the command-palette overlay. Overlays are the onlycontent hidden until the client boots.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
858
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderShortcuts-c47e1b1 renderShortcuts

#

missing coverage

renderShortcuts writes the keyboard-shortcut dialog.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
874
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-renderBodyClose-a5a946e renderBodyClose

#

missing coverage

renderBodyClose writes the end of the shell and document.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render.go
X Reqmd.source Line
903
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-testDoc-f9ee094 testDoc

#

missing coverage

testDoc builds a document with a container, requirement children, and aninfo item so the render data covers every node kind.

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
14
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildRenderData-2b68936 TestBuildRenderData

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
50
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildRenderDataIgnoreStatus-d03e1fa TestBuildRenderDataIgnoreStatus

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
96
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildFiltersOmitsSingleValueAttrs-16c43f2 TestBuildFiltersOmitsSingleValueAttrs

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
108
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildFiltersStatusOrdering-cdfe9f7 TestBuildFiltersStatusOrdering

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
119
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestNormalizeAttrValue-232c71f TestNormalizeAttrValue

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
134
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestSortedStatusValues-363fa83 TestSortedStatusValues

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
159
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestItemHeadingTagNativeLevels-6d0fc83 TestItemHeadingTagNativeLevels

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
170
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestDocTitleFallback-43206a0 TestDocTitleFallback

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
195
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestAttributeColumns-7fd3a4d TestAttributeColumns

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
207
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestBuildPageModel-d7d6eae TestBuildPageModel

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
217
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-TestDocTitleFallsBackToPathInExport-fc54ff0 TestDocTitleFallsBackToPathInExport

#

missing coverage

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/render_test.go
X Reqmd.source Line
280
X Reqmd.symbol Kind
function
Status
approved

IMP-exporter-VerdictInfoFromGraph-4e7e699 VerdictInfoFromGraph

#

missing coverage

VerdictInfoFromGraph converts a graph-side rolled-up NodeVerdict into theexporter's render type, carrying the outcome, representative source file,the contributing case keys (for CSV), and the evidence items (for HTML).

Details
X Reqmd.imported
true
X Reqmd.source File
internal/exporter/verdict.go
X Reqmd.source Line
8
X Reqmd.symbol Kind
function
Status
approved