Subroutine Coverage

blib/lib/DBIx/Tree/MaterializedPath/Node.pm
Criterion Covered Total %
subroutine 73 73 100.0
pod 25 25 100.0


line count pod subroutine
3 18 n/a BEGIN
4 18 n/a BEGIN
6 18 n/a BEGIN
7 18 n/a BEGIN
9 18 n/a BEGIN
13 18 n/a BEGIN
14 18 n/a BEGIN
26 18 n/a BEGIN
58 429 Yes new
81 473 n/a _init
97 15 Yes is_root
109 38 Yes get_root
124 25 Yes is_same_node_as
146 17 Yes is_ancestor_of
169 16 Yes is_descendant_of
190 17 Yes depth
200 60 n/a _map_path
210 1 n/a _unmap_path
220 26 n/a _load_from_db_using_id
232 39 n/a _load_from_db_using_path
244 238 n/a _load_id_from_db_using_path
256 303 n/a _load_from_db_using_sql
270 729 n/a _load_from_hashref
291 238 n/a _insert_into_db_from_hashref
323 5 n/a _id
336 467 n/a _path
370 1 Yes table_name
401 207 Yes data
455 3 Yes refresh_data
484 100 Yes add_children
497 94 n/a __ANON__
521 1 Yes add_child
551 10 Yes add_children_at_left
581 4 n/a __ANON__
616 108 n/a _validate_new_children_data
663 98 n/a _add_children
693 12 Yes get_parent
716 10 n/a _reparent
749 9 Yes get_children
793 7 Yes get_siblings
837 15 Yes get_siblings_to_the_right
863 5 Yes get_siblings_to_the_left
869 20 n/a _get_siblings_to_one_side
898 47 n/a _nodes_from_listrefs
945 34 Yes get_descendants
979 6 Yes delete_descendants
1007 6 Yes delete
1022 5 n/a __ANON__
1052 5 n/a _delete
1182 13 Yes find
1270 7 Yes swap_node
1282 1 n/a __ANON__
1340 9 Yes swap_subtree
1355 1 n/a __ANON__
1390 18 n/a BEGIN
1394 1 Yes clone
1409 94 n/a _last_child_path
1429 94 n/a _next_child_path
1452 186 n/a _cached_node_sql_info
1471 92 n/a _cached_node_sql_info_SELECT_PATH_FROM_TABLE_WHERE_PATH_FINDS_LAST_CHILD
1490 6 n/a _cached_node_sql_info_DELETE_FROM_TABLE_WHERE_PATH_FINDS_DESCENDANTS
1509 5 n/a _cached_node_sql_info_DELETE_FROM_TABLE_WHERE_PATH_FINDS_DESCENDANTS_AND_SELF
1528 11 n/a _cached_node_sql_info_SELECT_STAR_FROM_TABLE_WHERE_PATH_FINDS_PARENT
1546 2 n/a _cached_node_sql_info_SELECT_IDPATH_FROM_TABLE_WHERE_PATH_FINDS_CHILDREN
1565 6 n/a _cached_node_sql_info_SELECT_STAR_FROM_TABLE_WHERE_PATH_FINDS_CHILDREN
1583 2 n/a _cached_node_sql_info_SELECT_IDPATH_FROM_TABLE_WHERE_PATH_FINDS_SIBLINGS
1602 4 n/a _cached_node_sql_info_SELECT_STAR_FROM_TABLE_WHERE_PATH_FINDS_SIBLINGS
1620 2 n/a _cached_node_sql_info_SELECT_IDPATH_FROM_TABLE_WHERE_PATH_FINDS_SIBLINGS_TO_THE_RIGHT
1640 12 n/a _cached_node_sql_info_SELECT_STAR_FROM_TABLE_WHERE_PATH_FINDS_SIBLINGS_TO_THE_RIGHT
1659 1 n/a _cached_node_sql_info_SELECT_IDPATH_FROM_TABLE_WHERE_PATH_FINDS_SIBLINGS_TO_THE_LEFT
1679 4 n/a _cached_node_sql_info_SELECT_STAR_FROM_TABLE_WHERE_PATH_FINDS_SIBLINGS_TO_THE_LEFT
1698 1 n/a _cached_node_sql_info_SELECT_IDPATH_FROM_TABLE_WHERE_PATH_FINDS_DESCENDANTS
1718 31 n/a _cached_node_sql_info_SELECT_STAR_FROM_TABLE_WHERE_PATH_FINDS_DESCENDANTS