Download WP manual - Frama-C

Transcript
2.5.
@FUNCTION
PROOF OBLIGATION REPORTS
<per function section contents...>
For each function analyzed by WP, a specic section is produced under the chapter
about functions.
@SECTION
<default section contents...>
@PROPERTY
<per property contents...>
For each property of a section, a specic textual contents can be specied.
Textual contents use special formatters that will be replaced by actual statistics values when
the report is generated.
There are several categories of formatters (PO stands for Proof
Obligations ):
Formatters
Description
&<col>:
&&
%%
%<stat>
%prop
%prop:total
%prop:valid
%prop:failed
%<prover>
%<prover>:<stat>
insert spaces up to column col
prints a
prints a
"&"
"%"
statistics for section
percentage of nally proved properties in section
number of covered properties
number of nally proved properties
number of remaining unproved properties
discharged PO by prover
statistics for prover in section
Provers
(<prover>)
A prover name (see
Statistics
-wp-prover)
(<prover>)
total
valid
failed
time
steps
success
number of generated PO
number of discharged PO
number of non-discharged PO
maximal time used by prover for one PO
maximal steps used by prover for one PO
percentage of discharged PO
Remarks: &ergo is a shortcut for &alt-ergo.
Formatters can be written
"%.."
or
"%{..}".
Textual contents can use naming formatters that will be replaced by current names:
29