help-coverage. ( coverage -- ) - Factor Documentation

help-coverage. ( coverage -- )


Vocabulary
help .lint .coverage

Inputs
coverage a word-help-coverage


Outputs
None

Generic word contract
Displays a coverage object.

Examples
USING: help.lint.coverage ; \ <word-help-coverage> <word-help-coverage> help-coverage.
[help.lint.coverage] <word-help-coverage>: full help coverage


See also
word-help-coverage

Definition
IN: help.lint.coverage

GENERIC: help-coverage. ( coverage -- )


Methods
USING: accessors formatting help.lint.coverage kernel math
sequences ;

M: sequence help-coverage.
[ [ help-coverage. ] each ] [
[ [ 100%-coverage?>> ] count ] [ length ] bi /f 100 *
"\n%3.1f%% of words have complete documentation\n"
printf
] bi ; recursive


USING: help.lint.coverage help.lint.coverage.private ;

M: word-help-coverage help-coverage. (present-coverage) ;

AltStyle によって変換されたページ (->オリジナル) /