@sigloch/contracts 12.17.0 → 12.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/se/call-rules.d.ts +18 -0
- package/dist/se/call-rules.js +57 -35
- package/dist/se/chain-roles.d.ts +6 -0
- package/dist/se/chain-roles.js +20 -1
- package/dist/se/grammar-snapshot.d.ts +1 -1
- package/dist/se/grammar-snapshot.js +1 -0
- package/dist/se/index.d.ts +1 -1
- package/dist/se/index.js +3 -3
- package/package.json +1 -1
package/dist/se/call-rules.d.ts
CHANGED
|
@@ -28,4 +28,22 @@ export interface CallCoverage {
|
|
|
28
28
|
}
|
|
29
29
|
export declare function callCoverage(graph: OntologyGraph, facts: CodeFacts): CallCoverage;
|
|
30
30
|
export declare function syncFlowNeedsCall(graph: OntologyGraph, facts: CodeFacts): RuleViolation[];
|
|
31
|
+
/** Ein Aufruf im Code von der FUNC `from` zur FUNC `to`; `path` sind die Aufrufstellen (`file#symbol`), erste bis letzte. */
|
|
32
|
+
export interface FuncCall {
|
|
33
|
+
from: string;
|
|
34
|
+
to: string;
|
|
35
|
+
path: string[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Wer ruft im Code wen: je geordnetem Paar verankerter FUNCs (`from` ruft `to`) der kuerzeste Aufrufweg ueber
|
|
39
|
+
* hoechstens CALL_PATH_MAX_EDGES Kanten. Rufen sich zwei FUNCs gegenseitig, stehen beide Richtungen drin; ruft
|
|
40
|
+
* keine, steht keine drin. Nur FUNCs mit `realRef.symbol` in einer Datei aus `callScope`; ohne `callEdges` leer.
|
|
41
|
+
*
|
|
42
|
+
* Die Bedeutung ist die von RC-13 (CR-SM-415): ein Aufrufort gehoert dem INNERSTEN Anker — ohne das zaehlte
|
|
43
|
+
* `GraphStore.open` fuer die Klasse und fuer die Methode (Spike CR-GC-849: 36 statt 34 Paare) — und ein Weg endet
|
|
44
|
+
* an der ersten anderen verankerten FUNC: ein Weg durch eine dritte sind zwei Aufrufe, nicht einer. Aufrufstellen,
|
|
45
|
+
* die schon zur ausgehenden FUNC gehoeren (auch die einer inneren), sind kein Aufruf. Reihenfolge: `from` aufsteigend,
|
|
46
|
+
* je `from` in der Reihenfolge der Breitensuche — das Ergebnis haengt nicht an der Reihenfolge im Graphen.
|
|
47
|
+
*/
|
|
48
|
+
export declare function funcCalls(graph: OntologyGraph, facts: CodeFacts): FuncCall[];
|
|
31
49
|
export declare function callNeedsFlow(graph: OntologyGraph, facts: CodeFacts): RuleViolation[];
|
package/dist/se/call-rules.js
CHANGED
|
@@ -193,13 +193,18 @@ export function syncFlowNeedsCall(graph, facts) {
|
|
|
193
193
|
}
|
|
194
194
|
return violations;
|
|
195
195
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
196
|
+
/**
|
|
197
|
+
* Wer ruft im Code wen: je geordnetem Paar verankerter FUNCs (`from` ruft `to`) der kuerzeste Aufrufweg ueber
|
|
198
|
+
* hoechstens CALL_PATH_MAX_EDGES Kanten. Rufen sich zwei FUNCs gegenseitig, stehen beide Richtungen drin; ruft
|
|
199
|
+
* keine, steht keine drin. Nur FUNCs mit `realRef.symbol` in einer Datei aus `callScope`; ohne `callEdges` leer.
|
|
200
|
+
*
|
|
201
|
+
* Die Bedeutung ist die von RC-13 (CR-SM-415): ein Aufrufort gehoert dem INNERSTEN Anker — ohne das zaehlte
|
|
202
|
+
* `GraphStore.open` fuer die Klasse und fuer die Methode (Spike CR-GC-849: 36 statt 34 Paare) — und ein Weg endet
|
|
203
|
+
* an der ersten anderen verankerten FUNC: ein Weg durch eine dritte sind zwei Aufrufe, nicht einer. Aufrufstellen,
|
|
204
|
+
* die schon zur ausgehenden FUNC gehoeren (auch die einer inneren), sind kein Aufruf. Reihenfolge: `from` aufsteigend,
|
|
205
|
+
* je `from` in der Reihenfolge der Breitensuche — das Ergebnis haengt nicht an der Reihenfolge im Graphen.
|
|
206
|
+
*/
|
|
207
|
+
export function funcCalls(graph, facts) {
|
|
203
208
|
if (facts.callEdges === undefined)
|
|
204
209
|
return [];
|
|
205
210
|
const scope = scopeOf(facts);
|
|
@@ -218,19 +223,8 @@ export function callNeedsFlow(graph, facts) {
|
|
|
218
223
|
if (best)
|
|
219
224
|
owner.set(k, best.id);
|
|
220
225
|
}
|
|
221
|
-
const
|
|
222
|
-
const
|
|
223
|
-
const io = graph.traces.filter((t) => t.type === 'io');
|
|
224
|
-
for (const flow of graph.elements.filter((e) => e.type === 'FLOW')) {
|
|
225
|
-
const ins = io.filter((t) => t.target === flow.id && typeOf.get(t.source) === 'FUNC').map((t) => t.source);
|
|
226
|
-
const outs = io.filter((t) => t.source === flow.id && typeOf.get(t.target) === 'FUNC').map((t) => t.target);
|
|
227
|
-
for (const x of ins)
|
|
228
|
-
for (const y of outs)
|
|
229
|
-
flowPairKeys.add([x, y].sort().join('|'));
|
|
230
|
-
}
|
|
231
|
-
const nameOf = new Map(graph.elements.map((e) => [e.id, e.name]));
|
|
232
|
-
const reported = new Set();
|
|
233
|
-
const violations = [];
|
|
226
|
+
const calls = [];
|
|
227
|
+
const found = new Set();
|
|
234
228
|
for (const a of anchors) {
|
|
235
229
|
const seen = coveredBy(a, nodes);
|
|
236
230
|
let frontier = [...seen].filter((k) => owner.get(k) === a.id).sort().map((k) => [k]);
|
|
@@ -247,26 +241,54 @@ export function callNeedsFlow(graph, facts) {
|
|
|
247
241
|
following.push([...path, k]);
|
|
248
242
|
continue;
|
|
249
243
|
}
|
|
250
|
-
|
|
251
|
-
if (reported.has(pair) || flowPairKeys.has(pair))
|
|
244
|
+
if (found.has(`${a.id}|${other}`))
|
|
252
245
|
continue;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
rule_id: 'RC-13',
|
|
256
|
-
severity: 'warning',
|
|
257
|
-
element_id: a.id,
|
|
258
|
-
message: `${a.id} calls ${other} without a flow — path: ${[...path, k].join(' → ')}`,
|
|
259
|
-
fix_hint: `Model the call as a FLOW between ${a.id} and ${other} (FUNC -io-> FLOW -io-> FUNC, with its SCHEMA and sync) — construction, start and stop count too`,
|
|
260
|
-
context: {
|
|
261
|
-
element_type: 'FUNC',
|
|
262
|
-
element_name: nameOf.get(a.id),
|
|
263
|
-
candidate_targets: [{ id: other, type: 'FUNC', name: nameOf.get(other) ?? other }],
|
|
264
|
-
},
|
|
265
|
-
});
|
|
246
|
+
found.add(`${a.id}|${other}`);
|
|
247
|
+
calls.push({ from: a.id, to: other, path: [...path, k] });
|
|
266
248
|
}
|
|
267
249
|
}
|
|
268
250
|
frontier = following;
|
|
269
251
|
}
|
|
270
252
|
}
|
|
253
|
+
return calls;
|
|
254
|
+
}
|
|
255
|
+
// RC-13: ein Aufruf zwischen zwei verankerten FUNCs ohne FLOW (sync oder async, eine der beiden Richtungen).
|
|
256
|
+
// Die Aufrufe liefert `funcCalls`. Je ungeordnetem Paar ein Befund, am Aufrufer; rufen beide einander, an dem mit
|
|
257
|
+
// der kleineren uid (`funcCalls` laeuft nach `from` sortiert).
|
|
258
|
+
export function callNeedsFlow(graph, facts) {
|
|
259
|
+
const calls = funcCalls(graph, facts);
|
|
260
|
+
if (calls.length === 0)
|
|
261
|
+
return [];
|
|
262
|
+
const flowPairKeys = new Set();
|
|
263
|
+
const typeOf = new Map(graph.elements.map((e) => [e.id, e.type]));
|
|
264
|
+
const io = graph.traces.filter((t) => t.type === 'io');
|
|
265
|
+
for (const flow of graph.elements.filter((e) => e.type === 'FLOW')) {
|
|
266
|
+
const ins = io.filter((t) => t.target === flow.id && typeOf.get(t.source) === 'FUNC').map((t) => t.source);
|
|
267
|
+
const outs = io.filter((t) => t.source === flow.id && typeOf.get(t.target) === 'FUNC').map((t) => t.target);
|
|
268
|
+
for (const x of ins)
|
|
269
|
+
for (const y of outs)
|
|
270
|
+
flowPairKeys.add([x, y].sort().join('|'));
|
|
271
|
+
}
|
|
272
|
+
const nameOf = new Map(graph.elements.map((e) => [e.id, e.name]));
|
|
273
|
+
const reported = new Set();
|
|
274
|
+
const violations = [];
|
|
275
|
+
for (const c of calls) {
|
|
276
|
+
const pair = [c.from, c.to].sort().join('|');
|
|
277
|
+
if (reported.has(pair) || flowPairKeys.has(pair))
|
|
278
|
+
continue;
|
|
279
|
+
reported.add(pair);
|
|
280
|
+
violations.push({
|
|
281
|
+
rule_id: 'RC-13',
|
|
282
|
+
severity: 'warning',
|
|
283
|
+
element_id: c.from,
|
|
284
|
+
message: `${c.from} calls ${c.to} without a flow — path: ${c.path.join(' → ')}`,
|
|
285
|
+
fix_hint: `Model the call as a FLOW between ${c.from} and ${c.to} (FUNC -io-> FLOW -io-> FUNC, with its SCHEMA and sync) — construction, start and stop count too`,
|
|
286
|
+
context: {
|
|
287
|
+
element_type: 'FUNC',
|
|
288
|
+
element_name: nameOf.get(c.from),
|
|
289
|
+
candidate_targets: [{ id: c.to, type: 'FUNC', name: nameOf.get(c.to) ?? c.to }],
|
|
290
|
+
},
|
|
291
|
+
});
|
|
292
|
+
}
|
|
271
293
|
return violations;
|
|
272
294
|
}
|
package/dist/se/chain-roles.d.ts
CHANGED
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
* - Abschnitte: die Kette zerfaellt an jedem Glied, an dem ein Akteur in der Mitte eintritt; das Glied
|
|
24
24
|
* gehoert zu beiden Seiten.
|
|
25
25
|
*
|
|
26
|
+
* - Abstand (`depth`, CR-SM-459): je Glied die Zahl der Kanten des Aktivierungsnetzes bis zum naechsten Ausloeser
|
|
27
|
+
* (Breitensuche ab den Gliedern mit Rolle `trigger`). Wer naeher am Ausloeser liegt, ruft; wer weiter weg liegt,
|
|
28
|
+
* wird gerufen. Ein Ausloeser erreicht per Definition alle Glieder; ohne Ausloeser ist die Tabelle leer.
|
|
29
|
+
*
|
|
26
30
|
* Mehrere Ausloeser sind zulaessig, wenn alle am selben Glied mit demselben Vertrag (SCHEMA) andocken —
|
|
27
31
|
* dann ist „wer startet" ein Feld im Vertrag (Freigabe des Autors 2026-10-28, im CR zitiert). FC-06
|
|
28
32
|
* meldet die uebrigen Faelle und liest dafuer den Vertrag selbst: `chainRoles` liest kein SCHEMA (CR-SM-438),
|
|
@@ -53,6 +57,8 @@ export interface ChainRoles {
|
|
|
53
57
|
sinks: ChainSink[];
|
|
54
58
|
/** Erster Abschnitt zuerst; ohne Akteur in der Mitte genau einer (alle Glieder). */
|
|
55
59
|
segments: string[][];
|
|
60
|
+
/** Abstand je Glied vom naechsten Ausloeser im Aktivierungsnetz (Ausloeser-Glied 0). Ohne Ausloeser leer. */
|
|
61
|
+
depth: Record<string, number>;
|
|
56
62
|
/** Glieder, die kein Eingang erreicht. */
|
|
57
63
|
unreached: string[];
|
|
58
64
|
/** Fluesse an einem Glied ohne lesbares `sync` — die Ableitung raet dort. */
|
package/dist/se/chain-roles.js
CHANGED
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
* - Abschnitte: die Kette zerfaellt an jedem Glied, an dem ein Akteur in der Mitte eintritt; das Glied
|
|
24
24
|
* gehoert zu beiden Seiten.
|
|
25
25
|
*
|
|
26
|
+
* - Abstand (`depth`, CR-SM-459): je Glied die Zahl der Kanten des Aktivierungsnetzes bis zum naechsten Ausloeser
|
|
27
|
+
* (Breitensuche ab den Gliedern mit Rolle `trigger`). Wer naeher am Ausloeser liegt, ruft; wer weiter weg liegt,
|
|
28
|
+
* wird gerufen. Ein Ausloeser erreicht per Definition alle Glieder; ohne Ausloeser ist die Tabelle leer.
|
|
29
|
+
*
|
|
26
30
|
* Mehrere Ausloeser sind zulaessig, wenn alle am selben Glied mit demselben Vertrag (SCHEMA) andocken —
|
|
27
31
|
* dann ist „wer startet" ein Feld im Vertrag (Freigabe des Autors 2026-10-28, im CR zitiert). FC-06
|
|
28
32
|
* meldet die uebrigen Faelle und liest dafuer den Vertrag selbst: `chainRoles` liest kein SCHEMA (CR-SM-438),
|
|
@@ -117,12 +121,26 @@ export function chainRoles(graph) {
|
|
|
117
121
|
return asked.length > 0 && !asked.some((s) => isSync(s.flow)) && asked.some((s) => coverOf(s.member).has(e.member));
|
|
118
122
|
};
|
|
119
123
|
const full = (e) => !answer(e) && members.every((m) => coverOf(e.member).has(m));
|
|
120
|
-
return { fc, members, inChain, raw, sinks, unsynced: [...unsynced].sort(), coverOf, full, answer };
|
|
124
|
+
return { fc, members, inChain, raw, sinks, unsynced: [...unsynced].sort(), adj, coverOf, full, answer };
|
|
121
125
|
});
|
|
122
126
|
// Ausloeser je Kette zuerst — `neighbor` fragt nach den Ausloesern der ANDEREN Ketten.
|
|
123
127
|
const triggerFlows = new Map(chains.map((c) => [c.fc.id, new Set(c.raw.filter(c.full).map((e) => `${e.flow} ${e.member}`))]));
|
|
124
128
|
return chains.map((c) => {
|
|
125
129
|
const triggers = c.raw.filter(c.full);
|
|
130
|
+
const depth = {};
|
|
131
|
+
let ring = [...new Set(triggers.map((e) => e.member))];
|
|
132
|
+
for (const m of ring)
|
|
133
|
+
depth[m] = 0;
|
|
134
|
+
for (let d = 1; ring.length > 0; d++) {
|
|
135
|
+
const following = [];
|
|
136
|
+
for (const u of ring)
|
|
137
|
+
for (const v of [...c.adj.get(u)].sort())
|
|
138
|
+
if (depth[v] === undefined) {
|
|
139
|
+
depth[v] = d;
|
|
140
|
+
following.push(v);
|
|
141
|
+
}
|
|
142
|
+
ring = following;
|
|
143
|
+
}
|
|
126
144
|
const reachedByTrigger = new Set(triggers.flatMap((e) => [...c.coverOf(e.member)]));
|
|
127
145
|
const scope = triggers.length > 0 ? reachedByTrigger : new Set(c.members);
|
|
128
146
|
const fromChain = (actor) => c.sinks.filter((s) => s.actor === actor && scope.has(s.member)).map((s) => s.flow);
|
|
@@ -161,6 +179,7 @@ export function chainRoles(graph) {
|
|
|
161
179
|
entries,
|
|
162
180
|
sinks: c.sinks,
|
|
163
181
|
segments,
|
|
182
|
+
depth,
|
|
164
183
|
unreached: c.members.filter((m) => !reached.has(m)),
|
|
165
184
|
unsynced: c.unsynced,
|
|
166
185
|
};
|
|
@@ -25,5 +25,5 @@ export declare const GRAMMAR_SNAPSHOT: {
|
|
|
25
25
|
readonly conformanceRules: readonly ["RC-01 (warning)", "RC-02 (warning)", "RC-03 (warning)", "RC-04 (warning)", "RC-05 (warning)", "RC-06 (warning)", "RC-07 (warning)", "RC-08 (warning)", "RC-09 (warning)", "RC-10 (warning)", "RC-11 (warning)", "RC-12 (warning)", "RC-13 (warning)"];
|
|
26
26
|
readonly policy: readonly ["apTable = null", "boundaryWidth = {warning:5}", "criticality = {infrastructure:3}", "crossingFlows = {warning:3}", "decompositionBreadth = {min:3,warning:9}", "instability = null", "lcom4 = {info:4,warning:6}", "needNameTerms = [\"KI\",\"MCP\",\"Gate\",\"Lauf\",\"Ziel\"]", "riskRpn = 100"];
|
|
27
27
|
readonly ruleHelp: readonly ["AF-01", "AF-02", "AF-03", "AF-04", "AF-05", "BQ-01", "BQ-02", "BQ-03", "BQ-04", "BQ-07", "BW-02", "CR-01", "CR-R01", "CR-R03", "FC-03", "FC-04", "FC-05", "FC-06", "FM-01", "FM-02", "FM-03", "IO-01", "IO-02", "MS-01", "MS-02", "MS-03", "MT-01", "MT-02", "MT-04", "ND-01", "ND-02", "NFR-01", "R-01", "R-02", "R-04", "R-05", "R-08", "R-10", "R-12", "R-15", "R-16", "R-17", "R-18", "R-19", "R-20", "R-21", "R-22", "R-23", "R-26", "R-29", "R-30", "R-31", "R-32", "R-33", "R-35", "RC-01", "RC-02", "RC-03", "RC-04", "RC-05", "RC-06", "RC-07", "RC-08", "RC-09", "RC-10", "RC-11", "RC-12", "RC-13", "RD-01", "RD-02", "RD-04", "RD-05", "RD-06", "RD-07", "SC-02", "UC-01", "UC-02", "UC-03", "UC-04", "UC-07", "VR-01"];
|
|
28
|
-
readonly exports: readonly ["ACCEPTED_FINDINGS_ATTRIBUTE", "AF_RULES", "ALL_RULE_DEFS", "AO_RULES", "AcceptedFindingSchema", "ActionPriority", "AnalysisArtifactId", "AnalysisFreshnessStampSchema", "ApTableSchema", "BOUNDED_PATTERNS", "BQ_RULES", "CLOSED_STATUS", "CODE_CONFORMANCE_RULES", "CR_RULES", "CallEdgeSchema", "CallSiteSchema", "ChainMetrics", "CodeFactsSchema", "ConstraintCarriers", "DEFAULT_METRIC_POLICY", "ELEMENT_ATTRIBUTES", "ELEMENT_DEFINITIONS", "ElementType", "ElementUid", "FC_RULES", "FM_RULES", "FileFactsSchema", "FlowSync", "FunctionCriticality", "GRAPH_ANCHOR", "ImportEdgeSchema", "MARK_STAGE", "MAX_SLUG_LENGTH", "META_MODEL_VERSION", "MODELING_ELEMENT_TYPES", "MT_RULES", "Mark", "MetricPolicySchema", "ModuleMetrics", "ND_RULES", "ONTOLOGY_VERSION", "OntologyElement", "OntologyGraph", "PHASE_READINESS_NAME", "REQUIRED_PATTERNS", "RULES_VERSION", "RULE_HELP", "RULE_TASKS", "RealRefSchema", "RepoRelativePathSchema", "ReqKind", "ReqRole", "RequirementScope", "RiskCarriers", "RuleSeverity", "RuleViolation", "SC_RULES", "STAGE_SETS", "SteerSpace", "SteerTerm", "TASK_ENTRY", "TASK_OWNED_RULES", "TRACE_DEFINITIONS", "TRACE_PATTERNS", "TestRefSchema", "TestRefsSchema", "TestResult", "Trace", "TraceType", "UC_RULES", "V3_RULES", "VIEW_RULES", "VerificationMethod", "ViolationCandidate", "ViolationContext", "acceptedRuleIds", "actionPriority", "admittingAlternatives", "allocationCohesion", "apMethod", "attributeTypeOf", "boxContracts", "bq01Unambiguous", "bq02Verifiable", "bq03Singular", "bq04Necessary", "bq07Complete", "bw02WhiteboxWidth", "callCoverage", "chainMetrics", "chainRoles", "chainsByFunc", "constraintCarriers", "contractsOfFlow", "cr01CrossingFlowCount", "crossingContractCount", "decomposedFuncs", "evaluateAFRules", "evaluateAORules", "evaluateAllRules", "evaluateBQRules", "evaluateCRRules", "evaluateConformanceRules", "evaluateFCRules", "evaluateFMRules", "evaluateMTRules", "evaluateNDRules", "evaluateRules", "evaluateSCRules", "evaluateUCRules", "evaluateViewRules", "extractFormatE", "fc03FchainFlat", "fc04ActorBounded", "fc05ChainConnected", "fc06OneTrigger", "flowProducers", "fm01MissingFmeaAttributes", "fm02MissingMitigation", "fm03HighRiskUnverified", "funcSimilarity", "funcSubtree", "functionCriticality", "getRuleDefsForProfile", "hydrateAttrValue", "importCoverage", "indexOf", "io01CrossModuleCompleteness", "isDue", "isElementUid", "isValidTrace", "jaccard", "markOfStage", "maxOccurs", "minOccurs", "moduleCrossings", "moduleMetrics", "mt01Instability", "mt02Lcom4", "mt04WhiteboxLcom4", "nd01FuncNearDuplicate", "nd02SchemaNearDuplicate", "nfr01BudgetOvershoot", "normalizeReqKinds", "pairsAbove", "parseElementUid", "readAnalysisStamp", "readFlowSync", "readRealRef", "readReqRole", "readTestRefs", "requirementScope", "riskCarriers", "sc02IsReferenced", "schemaSimilarity", "setBQ04SimilarityMatrix", "subtreeFuncs", "taskOf", "toElementUid", "toEvaluableGraph", "tokens", "traceRejection", "tryParseElementUid", "uc01HasRequirements", "uc02HasActor", "uc03HasScenario", "uc04GoalDefined", "uc07NameStatesNeed", "unbuiltElementIds", "unwiredFuncs", "vr01TestNoResult", "whiteboxContractCount"];
|
|
28
|
+
readonly exports: readonly ["ACCEPTED_FINDINGS_ATTRIBUTE", "AF_RULES", "ALL_RULE_DEFS", "AO_RULES", "AcceptedFindingSchema", "ActionPriority", "AnalysisArtifactId", "AnalysisFreshnessStampSchema", "ApTableSchema", "BOUNDED_PATTERNS", "BQ_RULES", "CLOSED_STATUS", "CODE_CONFORMANCE_RULES", "CR_RULES", "CallEdgeSchema", "CallSiteSchema", "ChainMetrics", "CodeFactsSchema", "ConstraintCarriers", "DEFAULT_METRIC_POLICY", "ELEMENT_ATTRIBUTES", "ELEMENT_DEFINITIONS", "ElementType", "ElementUid", "FC_RULES", "FM_RULES", "FileFactsSchema", "FlowSync", "FunctionCriticality", "GRAPH_ANCHOR", "ImportEdgeSchema", "MARK_STAGE", "MAX_SLUG_LENGTH", "META_MODEL_VERSION", "MODELING_ELEMENT_TYPES", "MT_RULES", "Mark", "MetricPolicySchema", "ModuleMetrics", "ND_RULES", "ONTOLOGY_VERSION", "OntologyElement", "OntologyGraph", "PHASE_READINESS_NAME", "REQUIRED_PATTERNS", "RULES_VERSION", "RULE_HELP", "RULE_TASKS", "RealRefSchema", "RepoRelativePathSchema", "ReqKind", "ReqRole", "RequirementScope", "RiskCarriers", "RuleSeverity", "RuleViolation", "SC_RULES", "STAGE_SETS", "SteerSpace", "SteerTerm", "TASK_ENTRY", "TASK_OWNED_RULES", "TRACE_DEFINITIONS", "TRACE_PATTERNS", "TestRefSchema", "TestRefsSchema", "TestResult", "Trace", "TraceType", "UC_RULES", "V3_RULES", "VIEW_RULES", "VerificationMethod", "ViolationCandidate", "ViolationContext", "acceptedRuleIds", "actionPriority", "admittingAlternatives", "allocationCohesion", "apMethod", "attributeTypeOf", "boxContracts", "bq01Unambiguous", "bq02Verifiable", "bq03Singular", "bq04Necessary", "bq07Complete", "bw02WhiteboxWidth", "callCoverage", "chainMetrics", "chainRoles", "chainsByFunc", "constraintCarriers", "contractsOfFlow", "cr01CrossingFlowCount", "crossingContractCount", "decomposedFuncs", "evaluateAFRules", "evaluateAORules", "evaluateAllRules", "evaluateBQRules", "evaluateCRRules", "evaluateConformanceRules", "evaluateFCRules", "evaluateFMRules", "evaluateMTRules", "evaluateNDRules", "evaluateRules", "evaluateSCRules", "evaluateUCRules", "evaluateViewRules", "extractFormatE", "fc03FchainFlat", "fc04ActorBounded", "fc05ChainConnected", "fc06OneTrigger", "flowProducers", "fm01MissingFmeaAttributes", "fm02MissingMitigation", "fm03HighRiskUnverified", "funcCalls", "funcSimilarity", "funcSubtree", "functionCriticality", "getRuleDefsForProfile", "hydrateAttrValue", "importCoverage", "indexOf", "io01CrossModuleCompleteness", "isDue", "isElementUid", "isValidTrace", "jaccard", "markOfStage", "maxOccurs", "minOccurs", "moduleCrossings", "moduleMetrics", "mt01Instability", "mt02Lcom4", "mt04WhiteboxLcom4", "nd01FuncNearDuplicate", "nd02SchemaNearDuplicate", "nfr01BudgetOvershoot", "normalizeReqKinds", "pairsAbove", "parseElementUid", "readAnalysisStamp", "readFlowSync", "readRealRef", "readReqRole", "readTestRefs", "requirementScope", "riskCarriers", "sc02IsReferenced", "schemaSimilarity", "setBQ04SimilarityMatrix", "subtreeFuncs", "taskOf", "toElementUid", "toEvaluableGraph", "tokens", "traceRejection", "tryParseElementUid", "uc01HasRequirements", "uc02HasActor", "uc03HasScenario", "uc04GoalDefined", "uc07NameStatesNeed", "unbuiltElementIds", "unwiredFuncs", "vr01TestNoResult", "whiteboxContractCount"];
|
|
29
29
|
};
|
package/dist/se/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export * from './ontology.js';
|
|
|
12
12
|
export * from './definitions.js';
|
|
13
13
|
export * from './rules.js';
|
|
14
14
|
export * from './conformance-rules.js';
|
|
15
|
-
export { callCoverage, type CallCoverage } from './call-rules.js';
|
|
15
|
+
export { callCoverage, funcCalls, type CallCoverage, type FuncCall } from './call-rules.js';
|
|
16
16
|
export * from './schema-quality-rules.js';
|
|
17
17
|
export * from './uc-quality-rules.js';
|
|
18
18
|
export * from './fchain-quality-rules.js';
|
package/dist/se/index.js
CHANGED
|
@@ -12,9 +12,9 @@ export * from './ontology.js';
|
|
|
12
12
|
export * from './definitions.js';
|
|
13
13
|
export * from './rules.js';
|
|
14
14
|
export * from './conformance-rules.js';
|
|
15
|
-
// CR-SM-415: RC-12/RC-13 liegen in call-rules.ts;
|
|
16
|
-
//
|
|
17
|
-
export { callCoverage } from './call-rules.js';
|
|
15
|
+
// CR-SM-415: RC-12/RC-13 liegen in call-rules.ts; die Regeln laufen ueber CODE_CONFORMANCE_RULES. Nach aussen gehen
|
|
16
|
+
// die Messung und die Aufrufrichtung `funcCalls` (CR-SM-459).
|
|
17
|
+
export { callCoverage, funcCalls } from './call-rules.js';
|
|
18
18
|
export * from './schema-quality-rules.js';
|
|
19
19
|
export * from './uc-quality-rules.js';
|
|
20
20
|
export * from './fchain-quality-rules.js';
|