Subroutine Coverage

blib/lib/OBO/Core/Ontology.pm
Criterion Covered Total %
subroutine 138 147 93.8
pod 94 95 98.9


line count pod subroutine
12 7 n/a BEGIN
13 7 n/a BEGIN
14 7 n/a BEGIN
15 7 n/a BEGIN
16 7 n/a BEGIN
17 7 n/a BEGIN
18 7 n/a BEGIN
20 7 n/a BEGIN
21 7 n/a BEGIN
22 7 n/a BEGIN
24 7 n/a BEGIN
29 37 No new
74 40 Yes id
89 0 Yes name
104 29 Yes imports
124 62 Yes treat_xrefs_as_equivalent
144 62 Yes treat_xrefs_as_is_a
164 32 Yes date
180 48 Yes default_relationship_id_prefix
195 58 Yes default_namespace
210 86 Yes idspaces
229 21 Yes data_version
244 35 Yes saved_by
259 57 Yes remarks
278 154 Yes subset_def_map
293 61 Yes synonym_type_def_set
313 2294 Yes add_term
338 18 Yes add_instance
363 1 Yes add_term_as_string
392 1 Yes add_instance_as_string
421 142 Yes add_relationship_type
443 27 Yes add_relationship_type_as_string
476 5 Yes delete_term
506 2 Yes delete_instance
531 56 Yes delete_relationship
561 6822 Yes has_term
576 21 Yes has_instance
592 251 Yes has_term_id
608 9 Yes has_instance_id
624 276 Yes has_relationship_type
638 3673 Yes has_relationship_type_id
652 1441 Yes has_relationship_id
666 0 Yes equals
685 94 Yes get_terms
688 30 n/a __ANON__
696 5785 n/a __ANON__
711 46 Yes get_instances
721 114 n/a __ANON__
736 19 Yes get_terms_sorted_by_id
737 3997 n/a __ANON__
751 15 Yes get_instances_sorted_by_id
752 16 n/a __ANON__
766 2 Yes get_terms_by_subnamespace
789 2 Yes get_instances_by_subnamespace
812 2 Yes get_terms_by_subset
814 6 n/a __ANON__
832 2 Yes get_instances_by_subset
852 10 Yes get_relationships
867 27 Yes get_relationship_types
882 4005 Yes get_relationship_types_sorted_by_id
883 92863 n/a __ANON__
898 1 Yes get_term_local_neighbourhood
912 9 Yes get_relationships_by_source_term
944 99 Yes get_relationships_by_target_term
977 17750 Yes get_term_by_id
991 29 Yes get_instance_by_id
1005 3 Yes set_term_id
1056 2 Yes set_instance_id
1085 4663 Yes get_relationship_type_by_id
1100 12 Yes get_term_by_name
1121 4 Yes get_instance_by_name
1143 8 Yes get_term_by_name_or_synonym
1177 8 Yes get_instance_by_name_or_synonym
1209 16 Yes get_terms_by_name
1236 5 Yes get_instances_by_name
1263 8 Yes get_relationship_types_by_name
1290 12 Yes get_relationship_type_by_name
1312 3451 Yes add_relationship
1373 217 Yes get_relationship_by_id
1387 222 Yes create_rel
1425 221 Yes get_child_terms
1450 22912 Yes get_parent_terms
1475 93718 Yes get_head_by_relationship_type
1502 10 Yes get_tail_by_relationship_type
1528 4 Yes get_root_terms
1532 54 n/a __ANON__
1566 34 Yes get_number_of_terms
1580 10 Yes get_number_of_instances
1594 43 Yes get_number_of_relationships
1608 8 Yes get_number_of_relationship_types
1620 8 Yes export2obo
1790 536 n/a __ANON__
1801 647 n/a __ANON__
1851 446 n/a __ANON__
1989 0 n/a __ANON__
2055 0 n/a __ANON__
2187 41 n/a __ANON__
2366 2 Yes export2rdf
2511 620 n/a __ANON__
2528 1512 n/a __ANON__
2577 514 n/a __ANON__
2751 32 n/a __ANON__
2931 2 Yes export2owl
3157 560 n/a __ANON__
3244 370 n/a __ANON__
3381 28 n/a __ANON__
3459 2 Yes export2xml
3657 522 n/a __ANON__
3668 564 n/a __ANON__
3712 372 n/a __ANON__
3872 32 n/a __ANON__
4029 2 Yes export2dot
4051 560 n/a __ANON__
4071 370 n/a __ANON__
4099 0 Yes export2gml
4150 0 n/a __ANON__
4204 16 Yes export
4282 1 Yes subontology_by_terms
4330 3 Yes get_subontology_from
4388 11 Yes get_terms_idspace
4395 1322 n/a __ANON__
4415 2 Yes get_instances_idspace
4441 12 Yes get_descendent_terms
4470 5 Yes get_ancestor_terms
4495 4 Yes get_descendent_terms_by_subnamespace
4521 4 Yes get_ancestor_terms_by_subnamespace
4547 4 Yes get_descendent_terms_by_relationship_type
4573 4 Yes get_ancestor_terms_by_relationship_type
4599 3 Yes get_term_by_xref
4622 3 Yes get_instance_by_xref
4644 626 Yes get_paths_term1_term2
4646 1797 n/a __ANON__
4669 9500 n/a __ANON__
4670 28390 n/a __ANON__
4677 10490 n/a __ANON__
4767 102 Yes get_paths_term_terms
4892 141 Yes get_paths_term_terms_same_rel
5023 3473 Yes obo_id2owl_id
5037 0 Yes owl_id2obo_id
5042 12 n/a __date
5048 0 n/a __dfs
5134 13667 n/a __get_name_without_whitespaces
5140 0 n/a __idspace_as_string
5168 2848 n/a __sort_by
5177 129368 n/a __sort_by_id
5186 1996 n/a __print_hasDbXref_for_owl
5223 6775 n/a __char_hex_http