Subroutine Coverage
| blib/lib/Tree.pm |
|
| Criterion |
Covered |
Total |
% |
| subroutine |
31 |
35 |
88.5
|
| pod |
21 |
21 |
100.0
|
| line |
count |
pod |
subroutine |
|
3
|
21 |
n/a |
BEGIN |
|
5
|
21 |
n/a |
BEGIN |
|
6
|
21 |
n/a |
BEGIN |
|
7
|
21 |
n/a |
BEGIN |
|
11
|
21 |
n/a |
BEGIN |
|
34
|
5 |
Yes |
QUIET |
|
35
|
3 |
Yes |
WARN |
|
36
|
4 |
Yes |
DIE |
|
42
|
239 |
n/a |
_init |
|
68
|
197 |
Yes |
add_child |
|
124
|
27 |
Yes |
remove_child |
|
180
|
2 |
Yes |
add_event_handler |
|
191
|
5196 |
Yes |
event |
|
206
|
335 |
Yes |
is_root |
|
211
|
41 |
Yes |
is_leaf |
|
216
|
14 |
Yes |
has_child |
|
229
|
24 |
Yes |
get_index_for |
|
241
|
1229 |
Yes |
root |
|
246
|
532 |
n/a |
_set_root |
|
263
|
21 |
n/a |
BEGIN |
|
266
|
21 |
n/a |
BEGIN |
|
267
|
11163 |
n/a |
__ANON__ |
|
273
|
75 |
Yes |
size |
|
280
|
6 |
Yes |
set_value |
|
293
|
41 |
Yes |
error_handler |
|
308
|
27 |
Yes |
error |
|
315
|
275 |
Yes |
last_error |
|
323
|
5214 |
n/a |
_fix_height |
|
339
|
5214 |
n/a |
_fix_width |
|
352
|
293 |
n/a |
_fix_depth |
|
367
|
224 |
n/a |
_strip_options |
|
382
|
0 |
Yes |
format_node |
|
394
|
0 |
Yes |
hashref2string |
|
405
|
0 |
Yes |
node2string |
|
429
|
0 |
Yes |
tree2string |