Subroutine Coverage

blib/lib/Perl/Critic/Policy.pm
Criterion Covered Total %
subroutine 63 69 91.3
pod 29 29 100.0


line count pod subroutine
3 40 n/a BEGIN
4 40 n/a BEGIN
5 40 n/a BEGIN
7 40 n/a BEGIN
8 40 n/a BEGIN
10 40 n/a BEGIN
11 40 n/a BEGIN
13 40 n/a BEGIN
25 40 n/a BEGIN
29 40 n/a BEGIN
30 40 n/a BEGIN
31 40 n/a BEGIN
32 40 n/a BEGIN
33 40 n/a BEGIN
35 40 n/a BEGIN
36 40 n/a BEGIN
37 40 n/a BEGIN
38 40 n/a BEGIN
40 40 n/a BEGIN
55 15476 Yes new
112 11019 Yes is_safe
118 8471 Yes initialize_if_enabled
124 6670 Yes prepare_to_scan_document
130 27916 n/a __get_parameter_name
138 27817 n/a __set_parameter_value
148 15122 n/a __set_base_parameters
183 15122 n/a _set_maximum_violations_per_document
230 40781 n/a __get_config
236 30598 n/a __set_config
246 0 Yes get_long_name
254 114068 Yes get_short_name
262 147 Yes is_enabled
270 10537 n/a __set_enabled
280 1 Yes applies_to
286 8 Yes set_maximum_violations_per_document
297 8574 Yes get_maximum_violations_per_document
308 8248 Yes default_maximum_violations_per_document
314 866 Yes set_severity
322 15819 Yes get_severity
329 3 Yes default_severity
335 146 Yes set_themes
343 13310 Yes get_themes
352 148 Yes add_themes
362 4 Yes default_themes
368 1303 Yes get_abstract
376 0 Yes get_raw_abstract
384 2892 Yes parameter_metadata_available
392 1587 Yes get_parameters
400 1 Yes violates
409 3206 Yes violation
419 8 Yes new_parameter_value_exception
434 8 Yes throw_parameter_value_exception
448 3 Yes set_format
449 97191 Yes get_format
454 97189 Yes to_string
458 0 n/a __ANON__
459 97189 n/a __ANON__
460 1303 n/a __ANON__
461 1303 n/a __ANON__
462 1303 n/a __ANON__
463 0 n/a __ANON__
464 1450 n/a __ANON__
465 0 n/a __ANON__
466 1450 n/a __ANON__
467 0 n/a __ANON__
468 1303 n/a __ANON__
474 1303 n/a _format_parameters
493 1303 n/a _format_lack_of_parameter_metadata
514 142 n/a _compare