The file contains CSC … END and ENTITY … END blocks. A REFINEMENT VIEW … END block, a withdrawn
form, is error E15 and its lines are not recognised (section 4.8).
A CSC describes a boundary; an entity states which CSCs it provides (OFFERS), which it uses (USES) and of which other
entities it is made, including how many copies, and never states where it is located (section 4.9). An entity has scenarios, which
name the elements of its CSCs with the qualified names Csc.name (section 4.6). An entity can contain
VARIANT group = choice segments and optional parts [0 .. n]: it then holds for each of its
compositions, and check checks all of them (section 4.10).
The file can also contain the concrete forms of a boundary (BINDING … END), the verification plan
(VERIFICATION … END) and the profiles (PROFILE … END), which contain the extensions (EXTENSION … END). bcdd
reads them and checks their names against those of the CSC to which they are bound (section 4.11).
Inside a block every declaration begins at the start of a line with a keyword in
English, written in upper case: PURPOSE, CAPABILITY, EVENT, STATE, DEFINE, GUARANTEE,
ASSUME, SCENARIO, … A declaration left open, for example with an unclosed parenthesis or with an
AND at the end, continues on the next line (section 3).
bcdd reads the guarantees written in words (VERBAL) and those written as formulas (WHENEVER … THEN …, ALWAYS …, the shorthands and the extensions of imported profiles). Of a formula it checks the form, the names
and the types (sections 4.12-4.14); it does not evaluate it on the scenarios. The degree of every guarantee (verbal, formal,
declared extension) is read from its form (section 6).
Every line of the file ends up in one and only one place: recognised, comment, blank or unrecognised. No line
is lost, and no unrecognised line is passed over in silence.
An unrecognised line is not an error. There are forty errors (E01 … E40), listed in section 8.
What only a person can decide (for example whether a detail in words is consistent with the guarantee that it
details) is listed in the TO BE JUDGED section of the report, and the checks that bcdd does not execute on
formulas are declared CHECKS NOT EXECUTED (section 9.7). Neither the former nor the latter are errors.
check looks for the CSCs and the entities that the entities of the file cite, the imported profiles and the CSC to which
a BINDING or a VERIFICATION is bound (in the same file, in its folder, in the --dir folders) and states where it
found them; a missing citation, or a cited file with errors, does not change the outcome. Inside an entity made of parts, a CSC that a part uses, that no other part provides and that
the entity does not use from outside is error E14 (section 9.4).
A guarantee or an assumption must state how it is verified: VERBAL "…" without VERIFY is error E13.
With the option --strict (section 10) a file that has even a single unrecognised line makes
bcdd check exit with code 3. Without the option, an unrecognised line does not change the code; the
outcome line counts it in any case (section 9.2).
Every GUARANTEE and ASSUME, every detail of DEFINE or of SCENARIO, every BIND line and every profile is
approved or pending approval (section 7.1). Only bcdd ratify approves, and only in a file that check --strict accepts (section 12). A verification plan is never approved.
check accepts DETAILS at any depth; it is refine that stops at the second level (section 7.3).