Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Page class #675

Merged
merged 1 commit into from
Apr 8, 2022
Merged

TST: Page class #675

merged 1 commit into from
Apr 8, 2022

Conversation

MartinThoma
Copy link
Member

@MartinThoma MartinThoma commented Apr 8, 2022

Name                  Stmts   Miss Branch BrPart  Cover   Missing
-----------------------------------------------------------------
PyPDF2/__init__.py        5      0      0      0   100%
PyPDF2/_version.py        1      0      0      0   100%
PyPDF2/filters.py       302    236    140      9    21%   42, 56-108, 116-119, 123-162, 173-189, 199-207, 210-211, 214-231, 238-265, 269, 274-345, 355, 360-385, 393->396, 398->424, 403, 405, 407, 410-418
PyPDF2/generic.py       705    193    325     53    68%   81-89, 113, 123-126, 136, 152, 203, 212, 215, 220, 229-230, 258-259, 299, 310, 318, 320, 332, 334, 337->391, 377, 379-390, 410, 430->exit, 438-443, 451-452, 479, 485-492, 503, 505, 509-513, 532->535, 542->exit, 557, 562, 564-566, 569, 582-587, 597, 602, 623-632, 649, 652, 655-663, 691-756, 759-772, 805-812, 826, 849, 901, 904, 907, 910, 916, 919, 958-965, 967->exit, 972->exit, 977->exit, 982->exit, 987->exit, 992->exit, 999->exit, 1005->exit, 1011->exit, 1016->exit, 1067, 1071-1076, 1098->exit, 1105->exit, 1112->exit, 1119->exit, 1126->exit, 1133->exit, 1140->exit, 1147->exit, 1157-1170, 1178-1179
PyPDF2/merger.py        288     84    157     34    65%   36-37, 121->133, 128, 135, 142-143, 147, 150->154, 155, 213->219, 232->exit, 242->241, 256, 273, 289, 299->298, 316-320, 323->314, 337->344, 338->344, 344->334, 349->352, 355-356, 360->417, 361->417, 371, 374-378, 383, 387, 389, 393-410, 417->353, 436, 439->442, 444-445, 460, 463-474, 487-490, 497-504, 515-516, 521-524, 527-529, 532-548, 551-553
PyPDF2/pagerange.py      51      0     24      0   100%
PyPDF2/pdf.py          1581    535    746    112    61%   52, 57, 70, 73, 119, 207-209, 277-324, 365-369, 380, 395-396, 412->414, 419-421, 429, 436->438, 453, 457->460, 537-540, 561, 576, 592-597, 636-643, 658-669, 677->684, 688->691, 711-755, 766-778, 784-788, 797-843, 852-897, 917-955, 983-1025, 1037-1040, 1057-1061, 1078-1081, 1097-1101, 1126->1141, 1130-1139, 1147, 1168, 1174->exit, 1193->exit, 1217-1218, 1226->exit, 1269-1297, 1300-1312, 1315-1318, 1321-1342, 1348-1349, 1368, 1371->1374, 1387->1389, 1390->1384, 1395->exit, 1407->1425, 1415-1419, 1421->1423, 1431->1435, 1436-1439, 1449-1461, 1472-1474, 1486-1488, 1502->1510, 1504-1507, 1510->1518, 1512, 1517, 1537-1540, 1555-1558, 1577->1580, 1586->1588, 1589->exit, 1625, 1628-1633, 1636-1646, 1649-1650, 1670-1673, 1676, 1678->1680, 1686, 1697-1700, 1709, 1734, 1741->1743, 1748-1750, 1760, 1765, 1773-1778, 1782, 1796, 1803-1805, 1825-1826, 1835, 1884, 1895-1896, 1936-1937, 1952-1970, 1973-1986, 1989, 2006, 2010, 2016-2017, 2023, 2073, 2079, 2090-2091, 2103, 2104->2110, 2128-2131, 2133, 2140->2142, 2146, 2249, 2263-2269, 2304, 2333->2330, 2335, 2353->2357, 2358->2367, 2379-2380, 2420, 2435-2436, 2453, 2471-2484, 2584->exit, 2607-2620, 2654->exit, 2656, 2672->2677, 2679-2683, 2685, 2687-2690, 2692-2695, 2772-2774, 2784-2785, 2792-2835, 2841-2847, 2857, 2883, 2890->exit, 2893->exit, 2897->exit, 2900->exit, 2904->exit, 2907->exit, 2913->exit, 2916->exit, 2922->exit, 2928, 2965, 2973->2980, 3000->3008, 3023->3030, 3039-3046
PyPDF2/utils.py         177     25     76      7    85%   64-66, 71-72, 156-158, 228-229, 248, 255, 272, 279, 286, 294, 301-311
PyPDF2/xmp.py           183    104     78      6    34%   67, 71->70, 74, 76, 79-87, 90-94, 97, 100-117, 122-136, 141-158, 163-179, 186, 189-193, 195, 334-349
-----------------------------------------------------------------
TOTAL                  3293   1177   1546    221    60%

@MartinThoma MartinThoma merged commit 9c33d39 into master Apr 8, 2022
@MartinThoma MartinThoma deleted the testcoverage-pdf branch April 8, 2022 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant