Coverage report: 52%

Files Functions Classes

coverage.py v7.6.4, created at 2024-11-05 09:56 +0000

File statements missing excluded branches partial coverage
src/oai/oai_helpers.py 195 45 0 86 12 72%
src/oai/protocol.py 222 34 0 80 17 82%
src/oai/repository.py 170 8 0 52 4 94%
src/oai/repository_mersenne.py 17 17 0 0 0 0%
src/oai/views.py 66 22 0 12 3 60%
src/ptf/admin.py 30 30 0 0 0 0%
src/ptf/bibtex.py 87 2 0 40 4 95%
src/ptf/citedby.py 484 119 0 268 68 68%
src/ptf/cmds/base_cmds.py 79 8 0 26 1 88%
src/ptf/cmds/database_cmds.py 1178 452 0 274 37 58%
src/ptf/cmds/dc_cmds.py 119 119 0 18 0 0%
src/ptf/cmds/ptf_cmds/archive_ptf_cmds.py 322 290 0 130 0 7%
src/ptf/cmds/ptf_cmds/base_ptf_cmds.py 865 331 0 274 58 58%
src/ptf/cmds/solr_cmds.py 468 54 0 200 44 84%
src/ptf/cmds/xml/cedrics/cedrics_parser.py 1098 948 0 466 0 10%
src/ptf/cmds/xml/citation_html.py 347 21 0 106 17 91%
src/ptf/cmds/xml/ckeditor/ckeditor_parser.py 425 215 0 150 10 45%
src/ptf/cmds/xml/ckeditor/utils.py 30 30 0 14 0 0%
src/ptf/cmds/xml/jats/builder/issue.py 37 22 0 20 6 37%
src/ptf/cmds/xml/jats/jats_parser.py 2067 583 0 1242 220 67%
src/ptf/cmds/xml/jats/xmldata.py 1850 1459 0 804 0 15%
src/ptf/cmds/xml/xml_base.py 22 2 0 6 0 86%
src/ptf/cmds/xml/xml_utils.py 372 160 0 204 28 54%
src/ptf/cmds/xml_cmds.py 1259 580 0 436 73 51%
src/ptf/constants.py 1 0 0 0 0 100%
src/ptf/context_processors.py 9 0 0 0 0 100%
src/ptf/display/resolver.py 343 201 0 164 23 36%
src/ptf/display/utils.py 25 9 0 6 1 61%
src/ptf/exceptions.py 10 0 0 0 0 100%
src/ptf/external/arxiv.py 32 32 0 8 0 0%
src/ptf/external/crossref.py 51 51 0 16 0 0%
src/ptf/external/datacite.py 41 41 0 12 0 0%
src/ptf/forms.py 0 0 0 0 0 100%
src/ptf/log_utils.py 22 12 0 2 0 42%
src/ptf/middleware.py 8 8 0 2 0 0%
src/ptf/model_data.py 260 19 0 6 1 91%
src/ptf/model_data_comparator.py 231 55 0 104 18 74%
src/ptf/model_data_converter.py 367 129 0 118 14 58%
src/ptf/model_helpers.py 486 121 0 124 34 73%
src/ptf/models.py 2037 411 0 750 135 75%
src/ptf/shortcuts.py 81 81 0 12 0 0%
src/ptf/site_register.py 1 0 0 0 0 100%
src/ptf/solr/search_helpers.py 422 32 0 216 25 90%
src/ptf/solr/solrparams.py 41 41 0 8 0 0%
src/ptf/solr/xmlutils.py 10 10 0 4 0 0%
src/ptf/templatetags/cms_tags.py 5 0 0 0 0 100%
src/ptf/templatetags/helpers.py 213 87 0 66 8 52%
src/ptf/templatetags/partition.py 26 2 0 4 1 90%
src/ptf/templatetags/stringsfilter.py 93 33 0 18 3 60%
src/ptf/tex.py 546 513 0 206 0 4%
src/ptf/url_utils.py 41 27 0 8 0 29%
src/ptf/utils.py 205 141 0 52 1 28%
src/ptf/views/base_views.py 1588 749 0 514 84 49%
src/ptf/views/components/breadcrumb.py 222 38 0 82 29 75%
Total 19226 8394 0 7410 979 52%

No items found using the specified filter.