dice-group / owlapy

OWLAPY is a Python Framework for creating and manipulating OWL Ontologies.
MIT License
21 stars 2 forks source link

Report: Test/Code coverage #48

Closed alkidbaci closed 3 months ago

alkidbaci commented 5 months ago

Develop branch - PR #47

================== 103 passed, 1 warning in 64.87s (0:01:04) ===================
Name                                                 Stmts   Miss  Cover   Missing
----------------------------------------------------------------------------------
owlapy/__init__.py                                       4      0   100%
owlapy/class_expression/__init__.py                      8      0   100%
owlapy/class_expression/class_expression.py             49      6    88%   25, 32, 41, 50, 58, 62
owlapy/class_expression/nary_boolean_expression.py      26      1    96%   25
owlapy/class_expression/owl_class.py                    33      1    97%   44
owlapy/class_expression/restriction.py                 356     40    89%   33, 41, 49, 68, 71, 89, 94, 162, 170, 245-246, 297, 302, 305, 335, 340, 343, 346, 386, 426, 437, 451, 491, 499, 502, 579-580, 611, 616, 654, 659, 662, 695, 700, 703, 751, 754, 794, 823, 829
owlapy/converter.py                                    399    191    52%   52-68, 75-76, 79, 82, 148, 152, 157, 169, 176, 184, 214, 246-257, 264-282, 294, 304-307, 313-359, 366-387, 394-401, 417-420, 431, 451, 460-481, 489-491, 498-511, 515-521, 525-548, 552-555, 559-560, 564-576, 580-587, 591-592, 620, 624-628
owlapy/iri.py                                           84      8    90%   54, 69, 82, 97, 128, 133, 150, 159
owlapy/meta_classes.py                                  28      5    82%   22, 32, 51, 71, 85
owlapy/namespaces.py                                    29      4    86%   33, 36, 40, 43
owlapy/owl_annotation.py                                18      4    78%   17, 25, 43, 51
owlapy/owl_axiom.py                                    601    181    70%   36, 39, 42, 45, 59, 111-113, 116, 119, 136-138, 141, 144, 147-150, 153, 156, 182-184, 187, 190, 193, 196-200, 203, 206, 221, 253-256, 259-261, 264, 267, 288, 291, 294, 332-335, 338-340, 343, 346, 398-401, 404-406, 409, 412, 468, 533-536, 539, 542, 561-563, 566, 569, 572, 575, 578-581, 584, 587, 620-623, 626, 629, 645-648, 652, 656, 674-675, 683, 692, 695-697, 700, 703, 711, 733-737, 745, 753, 761, 764-766, 769, 772, 786-788, 791, 794, 797-800, 803, 806, 822-824, 827, 830, 833-836, 839, 842, 858-860, 863, 866, 869-872, 875, 878, 905-908, 911, 914, 982-985, 988, 991, 1018, 1044, 1068, 1071-1073, 1076, 1079, 1091, 1103, 1116, 1129, 1142, 1157, 1172, 1182, 1185-1187, 1190, 1193, 1208, 1227-1230, 1233, 1236, 1254-1257, 1260, 1263
owlapy/owl_data_ranges.py                               44      3    93%   41, 46, 102
owlapy/owl_datatype.py                                  20      2    90%   33-34
owlapy/owl_individual.py                                21      1    95%   37
owlapy/owl_literal.py                                  306     83    73%   49, 65, 77, 86, 90, 99, 103, 112, 116, 125, 129, 138, 142, 151, 155, 164, 169, 173, 185, 203, 208, 214, 217, 221, 244, 247-249, 252, 255, 258, 262, 288, 293, 299, 302, 306, 311, 323, 329, 332-334, 337, 340, 343, 346, 350, 355, 373, 376-378, 381, 384, 387, 391, 415, 418-420, 423, 426, 429, 433, 454, 459, 462-464, 467, 470, 473, 477, 489-491, 494, 497-499, 502, 505
owlapy/owl_object.py                                    49     10    80%   12, 16, 20, 24, 36, 48, 63, 79-81
owlapy/owl_ontology.py                                 447     67    85%   86, 97-100, 103, 106, 109-111, 134, 143, 152, 161, 173, 183, 195, 207, 219, 231, 236, 245, 249, 292-295, 312, 329-330, 341, 345-346, 358-359, 371-372, 379-381, 384, 387, 419, 423, 433, 441, 445, 449-450, 462, 473-474, 553-554, 559, 595, 599, 603, 613, 617, 629, 658, 680, 701, 706, 736, 742, 750
owlapy/owl_ontology_manager.py                         593    172    71%   40, 48, 66, 80, 94, 104, 114, 125, 140, 151, 155, 168-169, 177, 182, 200, 208-211, 312-318, 341-350, 355-376, 396, 466, 469, 474-496, 501-511, 516, 539, 542-543, 583, 588-593, 603, 608, 625, 634-645, 650-665, 676, 681, 691, 703, 707, 743, 749, 760, 766, 771-795, 800-807, 825-831, 850, 853, 859-866, 883, 888
owlapy/owl_property.py                                  77     14    82%   17, 24, 32, 40, 54, 63, 67, 76, 126, 158, 162, 169, 174, 193
owlapy/owl_reasoner.py                                 974    207    79%   63, 81, 100, 117, 132, 145, 158, 173, 188, 205, 222, 228, 245, 264, 279, 294, 312, 327, 348, 365, 381, 387, 392, 411, 459-462, 552, 562, 618, 630-632, 637-643, 650, 699-707, 710, 714-720, 738, 776-783, 809, 844-848, 874-877, 885, 905-907, 909-913, 920, 933-935, 937-939, 946, 951-953, 973, 977-978, 1002-1004, 1025, 1041-1045, 1070-1072, 1093, 1156, 1178, 1186, 1189, 1193, 1196, 1199, 1202, 1205, 1208, 1211, 1214, 1217, 1231, 1235-1237, 1243, 1247, 1250, 1253, 1256, 1259, 1262, 1268, 1271, 1285, 1291, 1315-1318, 1326-1365, 1380, 1393-1403, 1428-1431, 1438, 1447, 1461, 1531-1536, 1563, 1573-1577, 1585-1589, 1630-1636, 1648, 1726, 1737, 1742, 1747, 1756-1757, 1767-1768
owlapy/owlapi_adaptor.py                                65      4    94%   65, 77, 88, 115
owlapy/parser.py                                       379     20    95%   316, 327, 338, 400-401, 405, 416, 577, 618, 656, 667, 678, 721, 723, 751-752, 756, 763, 779-780
owlapy/providers.py                                     38      3    92%   41, 54, 56
owlapy/render.py                                       254     18    93%   75, 79-80, 85, 105, 121, 130, 135, 140, 274, 278-279, 285, 304, 320, 329, 334, 339
owlapy/utils.py                                        775    233    70%   160, 164, 168, 172, 178, 184-188, 192-196, 200, 204, 208, 214, 218, 222, 226, 230, 236, 242, 248, 252, 256, 260, 264-267, 271-274, 278, 285, 300-302, 305-314, 317, 320, 323, 326, 329, 333-339, 343, 350, 354, 358, 362, 366, 370, 374-378, 382-386, 390-394, 398-402, 406, 410, 414-419, 423-428, 432-437, 441, 445, 449-453, 457-461, 465-469, 473-477, 481-485, 489, 493-497, 501, 505-510, 514-519, 523-528, 532, 536-540, 545, 550, 554, 558, 562, 566, 570, 574, 578, 582-587, 591-597, 601, 605, 609, 614, 619, 624, 628, 632, 636, 640, 644-647, 651-654, 658, 662, 666, 671, 676, 681, 685, 736, 740, 746, 748, 751, 753, 755, 790, 796, 852, 866-868, 877, 919-920, 940, 1039, 1044, 1049, 1071, 1075, 1083, 1087, 1092, 1161, 1164-1182, 1195-1197, 1202-1206
owlapy/vocab.py                                         95      5    95%   32, 35, 38, 113-114
----------------------------------------------------------------------------------
TOTAL                                                 5772   1283    78%