9. The report of bcdd check
The report is the exact content of standard output, defined in this section down to the character.
9.1 Structure
bcdd check FILENAME (with the options: bcdd check --strict --dir ARG FILENAME, see 9.2)
lines: T (recognised R, comments C, blank V, unrecognised U)
blocks: B
line N: CSC Nome VERSION v, BLOCKSTATUS
line N: IMPORT PROFILE P in PATH at line M: VERSION v, BLOCKSTATUS, OUTCOME (profiles found, 9.6)
line N: REFINEMENT VIEW Nome
line N: ENTITY Nome VERSION v, BLOCKSTATUS
line N: OFFERS X in PATH at line M: VERSION v, BLOCKSTATUS, OUTCOME (citations found, 9.4)
line N: BINDING Nome VERSION v AS nome, BLOCKSTATUS
line N: CSC Nome in PATH at line M: VERSION v, BLOCKSTATUS, OUTCOME (bound CSC, 9.6)
line N: VERIFICATION Nome VERSION v
line N: PROFILE Nome VERSION v, BLOCKSTATUS
1. ERRORS: E
line N: [Exx] message
2. DEGREE OF THE CONTRACTUAL LINES
verbal: a
formal: f
declared extension: x
unrecognised: b
line N: GUARANTEE id degree
3. UNDECIDED: c
line N: NAME
4. PENDING APPROVAL, NOT CONTRACT: d
line N: GUARANTEE id
line N: BIND element
line N: EXTENSION Nome
5. UNRECOGNISED LINES: e
line N: text of the line
line N: text of the line (profile P VERSION v not found)
6. UNDECLARED TYPES: f
Nome: line N (or: lines N, M, …)
7. CSCs NAMED BUT NOT CHECKED: g
line N: Nome
line N: Nome (REASON)
line N: PROFILE Nome (REASON)
8. USES WITHIN ENTITIES: n (only if the file has at least one ENTITY block, 9.4)
line N: P uses X: it is provided by Q (line M)
9. COMPOSITIONS: c (only if an entity has more than one composition or E23, 9.5)
line N: ENTITY Nome: k
name of a composition
10. DECLARED ABSENCES: a (together with section 9, 9.5)
line N: without P: message
12. MISSING CONCRETE FORMS: k (only if the file has at least one BINDING, 9.6)
line N: BINDING Luce VERSION 0.1: STATE modo, EVENT IN pressione
13. VERIFICATION PLAN COVERAGE: k (only if the file has at least one VERIFICATION, 9.6)
line N: VERIFICATION Luce VERSION 0.1
telecamera (line M): g1, g3
not executed: g2
14. TO BE JUDGED: k (only if there is at least one entry, 9.7)
line N: GUARANTEE g1a DETAILS g1: consistency between the line and the line that details it, one of the two in words
15. CHECKS NOT EXECUTED: k (only if there is at least one entry, 9.7)
scenarios: lines N, M
outcome: no errors (or: 1 error, or: E errors; with unrecognised lines and with --strict see 9.2)
The parenthesised notes in the block are annotations of this document, not output. Placeholders: FILENAME the name
of the checked file; Nome, NAME a name; BLOCKSTATUS the status of the block (9.2); OUTCOME the outcome of the cited file
(9.4); PATH the path of the file found; REASON the reason.
Sections 1 to 5 are, in order: errors, degree, undecided numbers (UNDECIDED), lines pending approval
(HYPOTHESIS, NOT CONTRACT), unrecognised lines. Sections 6, 7, 8, 9, 10, 12, 13, 14 and 15 come after. The
number 11 is not used: it was the section of unread blocks, which no longer exist. A file without entities has no lines
of entity citations and no section 8.
9.2 Format rules
| What | Rule |
|---|---|
| First line | bcdd check, then --strict if present, then --dir ARG for each folder in the order in which it is written (ARG as written), then FILENAME; always in this order, wherever the options were written. Example: bcdd check --strict --dir comuni Uso.csc |
| File name | the name only, without folders, as it is written on disk |
| Indentation | two spaces for each entry under a title; four for a citation under its block (9.4, 9.6) and for the entries of a block in section 13 |
| Blank lines | one blank line after the blocks section and after each section from 1 to 7, and after sections 8, 9, 10, 12, 13, 14 and 15 when they are present |
| Trailing spaces | no line of the report ends with a space |
| End | the report ends with an LF after the outcome line |
| Empty sections | the title is always present, with the count 0 and no entries |
| Order of entries | by line number; errors on the same line by column of the token that causes them, then by code; error E11 (without a line) comes before all others and is written file: [E11] …. The column is counted from the beginning of the line, from 0. Some errors do not have a single token and have column 0: E06 (unclosed string), E07 (unclosed block), E10 for missing PURPOSE, E23, E33 for a missing field and E40; they therefore come before the other errors on the same line, and among themselves by code. E10 for repeated PURPOSE has the column of that PURPOSE. Example: an indented, wrongly written header, without PURPOSE and without END, gives E07, E10, E09 in that order |
| Status of the block | STATUS HYPOTHESIS, STATUS RATIFIED BY D-nnn, without STATUS, or invalid STATUS (error E04 in the header); for a CSC, an ENTITY, a BINDING and a PROFILE. A VERIFICATION has no status: its line ends after the version |
| Invalid header | CSC (invalid header), BLOCKSTATUS; REFINEMENT VIEW (invalid header); ENTITY (invalid header), BLOCKSTATUS; BINDING (invalid header), BLOCKSTATUS; VERIFICATION (invalid header); PROFILE (invalid header), BLOCKSTATUS. BLOCKSTATUS is the written STATUS, including STATUS RATIFIED BY D-nnn: no line of the block is approved (section 7.1, point 0), but the block line reports the written STATUS. For ENTITY the STATUS RATIFIED is not recognised and BLOCKSTATUS is without STATUS (section 5) |
| Section 2 | the four counts (verbal, formal, declared extension, unrecognised) are separate and are not summed: there is no total line. Then one entry for each GUARANTEE and ASSUME of a CSC block and for each GUARANTEE of an entity, in line order among all the lines of the file, with degree verbal, formal, declared extension or unrecognised (section 6). If the line header is not recognised, the short name is ? and the degree is unrecognised, counted in the fourth count: this happens when the line header does not respect G16, in the CSC as in the entity (for example GUARANTEE r3 STATUS PIPPO: … gives GUARANTEE ? unrecognised). An entity guarantee with STATUS RATIFIED BY D-nnn or STATUS RATIFIED without a decision (E04) has its short name and degree verbal, as in the CSC: for example line 6: GUARANTEE r2 verbal (section 7.1). An ASSUME in an entity has no entry (section 5) |
| Section 3 | every recognised DEFINE with the value UNDECIDED |
| Section 4 | every contractual line with a recognised line header and effective status “pending approval” (section 7); every contractual line of a block, CSC or entity, with an invalid header (E09), whatever STATUS the line and the header have (section 7.1, point 0). In addition, in file order: the details of DEFINE (line N: DEFINE NAME) and of scenarios (line N: SCENARIO id) pending approval; the BIND lines pending approval (line N: BIND element, with the element as written); the extensions of a profile pending approval (line N: EXTENSION Nome) |
| Section 5 | every line classified as unrecognised, with its text without leading and trailing spaces. A blank line inside a string is written line N:. If the declaration is unrecognised because of a profile not found or of an extension with errors (section 4.14), its first line ends with (profile P VERSION v not found) or (EXTENSION X of PROFILE P with errors) |
| Section 6 | the undeclared types of the recognised declarations, in order of first appearance; for each, the lines, without repetitions. A type described in words (G30) or a list of values (G37) in the same block is not an undeclared type |
| Section 7 | in line order, the citations not found, with the reason if there is one (9.4): the citations of the entities, the bound CSC of a BINDING or of a VERIFICATION (line N: Nome), the BINDINGs named with USING (line N: BINDING Nome AS b), the imported profiles (line N: PROFILE Nome, with the reason only VERSION w found in PATH if there is only another version). A withdrawn block has no citations (4.8). The title says “CSC” also for the cited entities, blocks and profiles |
| Section 8 | only if the file has at least one ENTITY block (9.4); a file with entities and no entries has 8. USES WITHIN ENTITIES: 0. For an entity with several compositions, entries per composition with the suffix (in: …) (9.5) |
| Sections 9 and 10 | only if at least one entity of the file has more than one composition or E23; section 10 also with 0 entries (9.5) |
| Counts of the second line | R + C + V + U = T: every line is in exactly one place |
| Sections 12, 13, 14 and 15 | section 12 only if the file has at least one BINDING, section 13 only if it has at least one VERIFICATION, also with 0 entries; sections 14 and 15 only if they have at least one entry. The number is the name of the section: it remains the same even when earlier sections are missing. The rules are in 9.6 and 9.7. The outcome line does not change: the entries of these sections are not errors |
outcome line |
counts the errors, E14 included. If U is at least 1, even without --strict, ; unrecognised lines: U (see section 5) is added, with U the number of the second line and section 5 the one of unrecognised lines: outcome: no errors; unrecognised lines: 1 (see section 5), outcome: 2 errors; unrecognised lines: 3 (see section 5). The exit code without --strict does not change: the line reports the unrecognised lines, it does not count them as errors. If U is 0 the added part is absent. Citations change nothing else: U is always that of the checked file, never that of the cited files |
outcome line with --strict |
if U is 0, it is identical to the one without the option. If U is at least 1, the line with the option carries (--strict) in place of (see section 5): outcome: no errors; unrecognised lines: 16 (--strict), outcome: 1 error; unrecognised lines: 1 (--strict). The label remains lines even for U = 1 |
Rest of the report with --strict |
identical, byte for byte, to the report without the option: the option changes only the first line, the outcome line (for the (--strict) in place of (see section 5)) and the exit code |
9.3 A complete report
For a file 05_ratified_senza_decisione.csc with a CSC whose header has STATUS RATIFIED without a decision:
bcdd check 05_ratified_senza_decisione.csc
lines: 13 (recognised 9, comments 2, blank 2, unrecognised 0)
blocks: 1
line 4: CSC Ratifiche VERSION 0.1, invalid STATUS
1. ERRORS: 3
line 5: [E04] STATUS RATIFIED without a decision: BY D-number is needed
line 9: [E04] STATUS RATIFIED without a decision: BY D-number is needed
line 10: [E04] STATUS RATIFIED without a decision: BY D-number is needed
2. DEGREE OF THE CONTRACTUAL LINES
verbal: 4
formal: 0
declared extension: 0
unrecognised: 0
line 8: GUARANTEE g1 verbal
line 9: GUARANTEE g2 verbal
line 10: GUARANTEE g3 verbal
line 12: GUARANTEE g4 verbal
3. UNDECIDED: 0
4. PENDING APPROVAL, NOT CONTRACT: 3
line 8: GUARANTEE g1
line 9: GUARANTEE g2
line 10: GUARANTEE g3
5. UNRECOGNISED LINES: 0
6. UNDECLARED TYPES: 0
7. CSCs NAMED BUT NOT CHECKED: 0
outcome: 3 errors
g1 has no STATUS, and the STATUS of the header is not valid (E04): g1 is pending approval (section 7.1, point
4). g4 has a valid approval (D-7) and is approved.
9.4 Entities and citations
The citations of an entity are its recognised lines G32 (OFFERS), G33 (USES) and G34 (the parts, including with
E19). check always searches for them, for every entity of the file, including one with an invalid header, except
those with E01. A withdrawn block has no citations (section 4.8).
A single depth. Of an entity cited as a part only its OFFERS and USES lines are read (and the
VARIANT lines, with the segment of each line: 9.5): not its parts, nor the CSCs it cites. Of a cited CSC only
header, version, status and outcome are used; only if the entity of the checked file has at least one qualified name
in a scenario or in a formula (sections 4.6 and 4.9), also the recognised declarations CAPABILITY, EVENT (with
the parameters) and STATE (with the type) of the block found. Of the CSC bound to a BINDING or to a VERIFICATION
the following are also used: the recognised STATE, EVENT, CAPABILITY and DEFINE declarations, the short names of the scenarios, the
degree and the names of its guarantees and assumptions (for coverage, 9.6) and its IMPORT PROFILE lines
(for E38). Of a profile found, the extensions and their errors are used (section 4.14). The depth remains one:
the citations of the cited CSC are not searched for. “Checked” means
that bcdd has read the cited block and reports its version, status and outcome; not that the guarantees are consistent with
one another, which remains a judgement.
The search
For a citation with the name N the search looks for the block CSC N with a valid G1 header (for OFFERS and USES, and for
the CSC bound to a BINDING or to a VERIFICATION, which counts as a USES N VERSION v), or ENTITY N with a
valid G31 header (for a part), PROFILE N with a valid G49 header (for IMPORT PROFILE), or the block
BINDING N VERSION v AS b (for USING b). The rules below apply to all; for a profile the version must
be the written one, and a fallback is not found (section 4.2). In order:
- Same file: the first block of the type searched for with that name. If there is one, the search ends here, except for the version case below. This step never gives a reason.
- Same folder: the file
N.cscin the folder of the path written by the person (the part of the argument before the last/, or the current folder if there is no/), even if the argument is a symbolic link.Nis used byte for byte. --dirfolders: the fileN.cscin each, in the order in which they are written.
A candidate may be the checked file itself: it is read like the others.
The candidate N.csc |
The search |
|---|---|
| does not exist: the name is not there, a part of the path is not a folder, or it is a link to a file that does not exist | moves on to the next |
| exists, can be read, is valid UTF-8, but does not contain the block searched for | moves on to the next |
| exists, can be read, is valid UTF-8 and contains the block searched for | found |
| is a folder or is not a regular file | stops, reason not a file: PATH |
| cannot be read (permissions, read error, any other reason) | stops, reason not readable: PATH |
| it is not known whether it exists: the query to the system fails for a reason other than “not there” and “a part of the path is not a folder” (for example a folder of the path without traverse permission) | stops, reason not readable: PATH |
| is not valid UTF-8 | stops, reason not UTF-8: PATH |
A different version does not stop the search. For a citation with VERSION w, a candidate (including the same file,
step 1) that contains the block searched for with another version is not found immediately: it is remembered as a fallback, only
the first one, and the search moves on to the next. If a later candidate has version w, the citation is found there, without
expected. If none has it, the citation is found in the first fallback, with , expected VERSION w. A candidate that
stops the search (not a file, not readable, not UTF-8) stops it even when there is a fallback: the citation
is found in the fallback. Without VERSION in the citation the first candidate with the block is found. The rule exists
because a file N.csc contains a single version (two blocks with the same name are E01): two versions can both be found
only in different files, for example in two --dir folders.
If it is not found, the reason is, in order: that of the candidate that stopped the search; otherwise
PATH does not contain CSC N (PATH does not contain CSC N; or … does not contain ENTITY N) for the first candidate that did not contain the
block; otherwise no reason.
PATH (PATH). For the same folder only N.csc, without folders. For a --dir, the argument as
written, followed by / if it does not already end with /, and by N.csc.
What is used of the file found. It is read with the rules of check (BOM, CR LF, UTF-8) and examined in
full, without searching for its citations (so E14 is never counted in it). The following are used: the
header line of the block found, its version and its status (rule “Status of the block” of 9.2);
the number of errors of the whole file and the number U of its unrecognised lines; for an entity, its
recognised OFFERS and USES lines, in order, except those with E01 in that file.
Versions between a citation and the block found. They are compared as text (0.1 and 0.10 are
different). A citation without a version matches any version of the block found, which always has
a version (G1 and G31 require it). A different version is not an error: the report signals it.
Determinism. bcdd may keep in memory a file already read; the report is the one that would be obtained by reading each
candidate only once, in the order above.
The lines of the citations found
The count blocks: B also counts the entities. Under the line of an entity, indented by four
spaces, there is one line for each citation found, in line order:
line N: OFFERS X in this file at line M
line N: USES X in PATH at line M: VERSION v, BLOCKSTATUS, OUTCOME
line N: p : X in PATH at line M: VERSION v, BLOCKSTATUS, OUTCOME
Nis the line of the citation in the checked file;Mthe line of the header found.- The citation is written without its version and without the multiplicity:
OFFERS X,USES X,p : X(name of the part, space, colon, space, name of the entity). BLOCKSTATUS: rule “Status of the block” of 9.2.OUTCOME:no errors,1 errororE errors, followed by, unrecognised lines: UifU> 0, with or without--strict.- In the same file only
in this file at line Mis written: version, status and errors of that block are already in the report. - If the citation declares
VERSION wand the block found has a differentVERSION v, the line ends with, expected VERSION w. In the same file:line N: OFFERS X in this file at line M: VERSION v, expected VERSION w.
Every citation is in exactly one place: under its entity, if found, or in section 7, line N: X or
line N: X (REASON), with X the cited name without version. A citation with E01 is in neither of the
two: its error is there.
Section 8 and error E14
Section 8 is present only if the file contains at least one ENTITY block, after section 7 and before the
outcome line, followed by a blank line.
8. USES WITHIN ENTITIES: n
line N: P uses X: it is provided by Q (line M)
line N: P uses X: it is provided by Q (line M), R (line K)
line N: P uses X: E uses it from outside (line M)
line N: P uses X: nobody provides it
line N: P uses X: no part found provides it (parts not checked: k)
The entries. For each entity E of the file, in line order; for each of its parts P that is found, in line order
(N is the line of P in the checked file); for each USES line of the block found for P,
in the order in which P writes them. X is written as in the USES line of P, with VERSION w if present; the
parts are written with their name in the entity (lampada, not Lampada). n is the number of entries.
The match (it is not symmetric). The USES X [VERSION w] line of P is a demand. It matches an
OFFERS Y [VERSION v] line of another part found, or a USES Y [VERSION v] line of E itself, if X and Y
are equal byte for byte and:
The USES line of P |
The other line | Match |
|---|---|---|
USES X (without version) |
OFFERS X or OFFERS X VERSION v, any v |
yes |
USES X VERSION w |
OFFERS X VERSION w (same text) |
yes |
USES X VERSION w |
OFFERS X VERSION v with v different from w |
no |
USES X VERSION w |
OFFERS X (without version) |
no: a provider that does not declare a version does not guarantee w |
The same applies with USES X [VERSION v] of E in place of OFFERS. Lines with E01 never count.
| Case, in order | Entry | Error |
|---|---|---|
one or more other parts found of E have an OFFERS line that matches |
it is provided by Q (line M), or it is provided by Q (line M), R (line K) in line order, separated by , ; M, K are the lines of the parts in the checked file |
no |
none, but E has a USES line that matches |
E uses it from outside (line M), with M the line of that USES |
no |
neither of the two, and all parts of E are found |
nobody provides it |
E14 on line N |
neither of the two, and at least one part of E is not found |
no part found provides it (parts not checked: k), with k the number of parts of E in section 7 |
no: E14 is suspended |
- “Other part” means another part line, even if it names the same entity (two parts
a : Nodoandb : Nodosatisfy each other). TheOFFERS XofPdoes not satisfy its ownUSES X, even ifPhas a multiplicity withm>= 2 (section 4.9). - Several versions (section 5): every
OFFERSorUSESline counts on its own, with the match rule above. If a partQhas two lines that match the sameUSESline (USES Pulsantiwithout version and the two linesOFFERS Pulsanti VERSION 0.1and0.2),Qappears once in the entry. E16 and E17 are counted line by line: anOFFERS X VERSION 0.1of a part that nobody uses any longer gives its own E17. - A part found with errors or with unrecognised lines gives the entries of its recognised
USESlines and provides through its recognisedOFFERSlines. - A part that names the very entity that contains it is treated like the others: the depth is one.
- It is not checked that the CSCs that
Eprovides are provided by some part (section 14).
The complete report on the staircase light
bcdd check LuceScale.csc on the file of section 4.9, with the cited CSCs and entities in the same folder, gives
exactly this, code 0:
bcdd check LuceScale.csc
lines: 10 (recognised 10, comments 0, blank 0, unrecognised 0)
blocks: 1
line 1: ENTITY LuceScale VERSION 0.2, without STATUS
line 3: OFFERS Pressione in Pressione.csc at line 1: VERSION 0.1, without STATUS, no errors
line 4: OFFERS Luce in Luce.csc at line 1: VERSION 0.1, without STATUS, no errors
line 6: pulsante : Pulsante in Pulsante.csc at line 1: VERSION 0.1, without STATUS, no errors
line 7: lampada : Lampada in Lampada.csc at line 1: VERSION 0.1, without STATUS, no errors
1. ERRORS: 0
2. DEGREE OF THE CONTRACTUAL LINES
verbal: 1
formal: 0
declared extension: 0
unrecognised: 0
line 8: GUARANTEE g1 verbal
3. UNDECIDED: 0
4. PENDING APPROVAL, NOT CONTRACT: 1
line 8: GUARANTEE g1
5. UNRECOGNISED LINES: 0
6. UNDECLARED TYPES: 0
7. CSCs NAMED BUT NOT CHECKED: 0
8. USES WITHIN ENTITIES: 1
line 7: lampada uses Comando: it is provided by pulsante (line 6)
outcome: no errors
pulsante has no USES lines, so it gives no entries; Pulsante provides Comando in its file, and the entry cites
the line of the part pulsante in the checked file (6). Without the button (an entity SenzaPulsante with the single
part lampada at line 5) the entry becomes line 5: lampada uses Comando: nobody provides it, with line 5: [E14] the part lampada uses connector Comando: no other part of SenzaPulsante provides it, nor does SenzaPulsante use it from outside and code 1. If instead the lamp writes USES Comando VERSION 0.2 and the button writes only OFFERS Comando,
the entry is nobody provides it and E14: the button has not guaranteed 0.2.
9.5 Compositions and declared absences
The rules of compositions are in section 4.10; this section describes how they are written in the report.
The suffix (in: …). Given a universe of compositions (for an error and for an entry of section 8: all
those of the entity; for an entry of section 10: those without the named part) and the set S of the
compositions where the fact occurs:
Sis the whole universe: no suffix;- otherwise, the first value
aof a factor (factors and values in the order of section 4.10) such thatSis exactly the set of the compositions of the universe that havea:(in: a); - otherwise
(in: N1; N2; …), with the names of the compositions ofSin their order, separated by;.
The suffix is written after the message of an error (section 1), after an entry of section 8 and after an entry of section 10. The message remains the one defined in section 8 of this document, with the name of the entity of the file.
Section 1. The same error found in several compositions (equal code, line, column and message) is written once, with the suffix. The order of the entries does not change (9.2).
Section 8. For an entity with more than one composition, the entries are computed in each composition; entries with the
same text are written once, with the suffix. Order: line of the part, order of the USES lines of the part,
first composition in which the entry appears. n counts the entries written. Example, for a measurement kit with a choice group
sensore and an optional part di:
line 18: cattura uses SegnaleLivello: it is provided by di (line 46) (in: with di)
line 18: cattura uses SegnaleLivello: nobody provides it (in: without di)
line 18: cattura uses SegnaleLivello: it is provided by microfono (line 88) (in: sensore = microfono)
Section 9. 9. COMPOSITIONS: c. One entry for each entity with more than one composition or with E23, in line
order: line N: ENTITY Nome: k, with, below it, indented by four spaces, the names of the k compositions in their
order; for an entity with E23 only the line line N: ENTITY Nome: more than 64, not checked. c is the sum of the
k (an entity with E23 counts 0). An entity with E21 on a VARIANT line has no entry.
Section 10. 10. DECLARED ABSENCES: a. One entry for each declared absence (section 4.10), grouped like
the errors: line N: without P: message, with the suffix on the universe of the compositions without P. Order: line,
column, code (as in section 1), then first composition. Absences do not count in the outcome line and do not change
the exit code. Example, for the same kit (code 0):
9. COMPOSITIONS: 3
line 5: ENTITY Kit1b: 3
sensore = di, with di
sensore = di, without di
sensore = microfono
10. DECLARED ABSENCES: 2
line 18: without di: the part cattura uses connector SegnaleLivello: no other part of Kit1b provides it, nor does Kit1b use it from outside
line 43: without di: the public connector Morsetti of Kit1b (used) is not assigned to any part
The parts with variants (9.4, “A single depth”). Of an entity cited as a part, its recognised
VARIANT lines are also read, and for every OFFERS and USES line the segment where it is; not its parts.
9.6 Concrete forms, verification plan and profiles in the report
The block lines. In the blocks section a BINDING is written line N: BINDING Nome VERSION v, BLOCKSTATUS,
with AS b after the version if present; a VERIFICATION line N: VERIFICATION Nome VERSION v; a profile line N: PROFILE Nome VERSION v, BLOCKSTATUS. Under the line of a block, indented by four spaces and in line order, are its
citations found, in the form of 9.4: the bound CSC (line N: CSC Nome in PATH at line M: …, where
N is the line of the header of the block), the imported profiles (line N: IMPORT PROFILE P in PATH at line M: VERSION v, BLOCKSTATUS, OUTCOME, also under a CSC or an entity), the BINDINGs named with USING (line N: USING b in PATH at line M). In the same file: in this file at line M.
Section 12, missing concrete forms. 12. MISSING CONCRETE FORMS: k. One entry for each BINDING of the file whose
bound CSC is found with the written version, in line order: line N: BINDING Nome VERSION v[ AS b]: followed
by the elements of the CSC that no BIND line of the block names, in the order of the CSC block, each with its
keyword (STATE modo, EVENT IN pressione, EVENT OUT accendi, CAPABILITY Pulizie), separated by , ;
or none if every element has a form. A BINDING whose CSC is not found has the entry line N: BINDING Nome VERSION v: CSC not found, elements not checked. k is the number of elements listed. No entry is an
error.
Section 13, verification plan coverage. 13. VERIFICATION PLAN COVERAGE: k. For each VERIFICATION of the file,
in line order, the line of the block and below it, indented by four spaces:
- one line for each instrument,
NAME (line M): id, id, …, with the guarantees and assumptions of the bound CSC of degree formal or declared extension observed by that instrument, in the order of the CSC, ornone. A contractual line is observed by an instrument if every state, event and request it names is among theOBSERVESelements of the instrument. Coverage considers the elements, not their parameters: an instrument that observese.pcounts as an instrument that observes the evente; - one line
not executed: id, id, …with the formal or declared-extension lines that no instrument observes, ornot executed: none.
Verbal lines have no entry: they are verified by judgement or by inspection. If the bound CSC is not found, under the
line of the block there is only CSC not found: coverage not computed. k is the number of short names listed
in the not executed lines of all blocks (not executed: l2, l3 counts 2; none counts 0). Example, for a plan of the staircase light with an instrument that observes only accesa:
13. VERIFICATION PLAN COVERAGE: 1
line 20: VERIFICATION Luce VERSION 0.1
telecamera (line 21): l1
not executed: l2
9.7 To be judged and checks not executed
Section 14, to be judged. 14. TO BE JUDGED: k. One entry for each rule of the language that only a person
can apply, in line order and, on the same line, in the order of the table:
| Entry | When | Text |
|---|---|---|
| a detail with a line in words | a line with DETAILS (contractual or scenario) of which the line itself or the one it details is in words |
line N: KEYWORD id DETAILS p: consistency between the line and the line that details it, one of the two in words |
| the meaning of an extension | every extension without E33 errors | line N: EXTENSION X: the MEANING neither describes the implementation nor gives authority or precedence between parts |
| an extension without reduction | every extension without a recognised REDUCES TO |
line N: EXTENSION X: does not repeat a form that the language already has |
| meaning and reduction | every extension with a recognised REDUCES TO |
line N: EXTENSION X: MEANING and REDUCES TO say the same thing |
N is the line of the declaration with DETAILS or of the EXTENSION line; KEYWORD is GUARANTEE, ASSUME or
SCENARIO.
When a line is “in words”. A guarantee or an assumption is in words if its degree is verbal. A DEFINE
is never in words: its value is an expression or UNDECIDED. A scenario is in words if at least one of its steps has a
VERBAL element. A detail of a DEFINE details another DEFINE (E02 otherwise): it therefore always goes in the entry consistency of the details of section 15; a
detail of a scenario goes in section 14 if the scenario or the one it details is in words, otherwise in section 15.
An unrecognised line is neither in words nor formal: a detail in which one of the two lines is unrecognised goes
in section 14 only if the other is in words, and never in section 15. The entries of section 14 are not errors, are not outcomes and do not change the exit code: they state what
remains to be judged.
Section 15, checks not executed. 15. CHECKS NOT EXECUTED: k. check does not evaluate formulas: it does not check
whether the scenarios have the outcome they declare, whether every trigger occurs in a scenario, whether the guarantees and the assumptions
can hold together, nor whether a formal detail is consistent with the line it details. The section lists, for
each of these checks, the lines to which it would apply, in this order:
| Entry | Lines listed |
|---|---|
scenarios |
the scenarios (SCENARIO) of CSC and entity blocks that have at least one guarantee or assumption of formal degree, or of declared-extension degree with C3 in the VERIFY V1 of the extension |
coverage of the triggers |
the guarantees of formal degree that have a trigger (WHENEVER p THEN q; ALWAYS (p IMPLIES q); a scope, including a use of an extension of KIND SCOPE with REDUCES TO; a BASE form with a trigger in its expanded form), and those of declared-extension degree with C4 |
consistency of assumptions and guarantees |
the guarantees and assumptions of formal degree, and those of declared-extension degree with C2 |
consistency of the details |
the lines with DETAILS of which neither the line nor the one it details is in words or unrecognised |
A line of declared-extension degree enters an entry when at least one of the extensions it uses (including
inside the argument of another use, section 4.14) has the check in its VERIFY V1: C3 for scenarios, C4 for
coverage of the triggers, C2 for consistency of assumptions and guarantees. Listing one check too many does not make
any line appear checked; omitting one does.
Each entry is written NAME: lines N, M, … (or NAME: line N with a single line), with the lines in ascending
order; an entry without lines is not written. k is the number of entries written. Example:
15. CHECKS NOT EXECUTED: 3
scenarios: lines 30, 35
coverage of the triggers: lines 12, 14
consistency of assumptions and guarantees: lines 12, 14, 20
The lines of section 15 are neither satisfied nor violated: a check not executed says nothing about them.

