Coverage report: 72%

coverage.py v6.4.2, created at 2022-11-09 15:10 +0000

Module statements missing excluded coverage
portality/__init__.py 0 0 0 100%
portality/api/__init__.py 7 0 0 100%
portality/api/common.py 160 12 0 92%
portality/api/current/__init__.py 4 0 0 100%
portality/api/current/bulk/__init__.py 2 0 0 100%
portality/api/current/bulk/applications.py 43 1 0 98%
portality/api/current/bulk/articles.py 51 2 0 96%
portality/api/current/client/__init__.py 0 0 0 100%
portality/api/current/client/models.py 35 2 0 94%
portality/api/current/crud/__init__.py 3 0 0 100%
portality/api/current/crud/applications.py 248 37 0 85%
portality/api/current/crud/articles.py 170 32 0 81%
portality/api/current/crud/common.py 3 0 0 100%
portality/api/current/crud/journals.py 29 2 0 93%
portality/api/current/data_objects/application.py 191 76 0 60%
portality/api/current/data_objects/article.py 119 3 0 97%
portality/api/current/data_objects/common.py 15 1 0 93%
portality/api/current/data_objects/common_journal_application.py 10 0 0 100%
portality/api/current/data_objects/journal.py 21 2 0 90%
portality/api/current/discovery.py 209 7 0 97%
portality/app.py 227 63 0 72%
portality/app_email.py 69 46 0 33%
portality/authorise.py 25 2 0 92%
portality/background.py 103 5 0 95%
portality/bll/__init__.py 2 0 0 100%
portality/bll/doaj.py 37 0 0 100%
portality/bll/exceptions.py 71 3 0 96%
portality/bll/services/__init__.py 0 0 0 100%
portality/bll/services/application.py 249 9 0 96%
portality/bll/services/article.py 245 2 0 99%
portality/bll/services/authorisation.py 54 16 0 70%
portality/bll/services/events.py 35 0 0 100%
portality/bll/services/journal.py 127 19 0 85%
portality/bll/services/notifications.py 22 0 0 100%
portality/bll/services/query.py 177 42 0 76%
portality/bll/services/site.py 70 0 0 100%
portality/bll/services/todo.py 132 44 0 67%
portality/cms/__init__.py 0 0 0 100%
portality/cms/build_fragments.py 102 29 0 72%
portality/cms/build_sass.py 63 27 0 57%
portality/cms/implied_attr_list.py 34 0 2 100%
portality/constants.py 42 0 0 100%
portality/core.py 145 18 0 88%
portality/crosswalks/__init__.py 0 0 0 100%
portality/crosswalks/application_form.py 56 22 0 61%
portality/crosswalks/article_crossref_xml.py 223 10 0 96%
portality/crosswalks/article_doaj_xml.py 168 20 0 88%
portality/crosswalks/article_form.py 113 6 0 95%
portality/crosswalks/atom.py 44 4 0 91%
portality/crosswalks/exceptions.py 3 0 0 100%
portality/crosswalks/jct_inprogress.py 18 14 0 22%
portality/crosswalks/journal_form.py 358 43 0 88%
portality/crosswalks/journal_questions.py 176 61 0 65%
portality/crosswalks/oaipmh.py 354 128 0 64%
portality/dao.py 596 117 0 80%
portality/datasets.py 72 8 0 89%
portality/decorators.py 92 29 0 68%
portality/error_handler.py 46 38 0 17%
portality/events/__init__.py 0 0 0 100%
portality/events/consumer.py 8 2 0 75%
portality/events/consumers/__init__.py 0 0 0 100%
portality/events/consumers/account_created_email.py 31 0 0 100%
portality/events/consumers/account_passwordreset_email.py 25 0 0 100%
portality/events/consumers/application_assed_assigned_notify.py 29 0 0 100%
portality/events/consumers/application_assed_inprogress_notify.py 30 1 0 97%
portality/events/consumers/application_editor_completed_notify.py 45 4 0 91%
portality/events/consumers/application_editor_group_assigned_notify.py 32 1 0 97%
portality/events/consumers/application_editor_inprogress_notify.py 42 4 0 90%
portality/events/consumers/application_maned_ready_notify.py 40 2 0 95%
portality/events/consumers/application_publisher_accepted_notify.py 46 5 0 89%
portality/events/consumers/application_publisher_assigned_notify.py 46 4 0 91%
portality/events/consumers/application_publisher_created_notify.py 34 3 0 91%
portality/events/consumers/application_publisher_inprogress_notify.py 33 1 0 97%
portality/events/consumers/application_publisher_quickreject_notify.py 34 0 0 100%
portality/events/consumers/application_publisher_revision_notify.py 30 1 0 97%
portality/events/consumers/bg_job_finished_notify.py 35 0 0 100%
portality/events/consumers/journal_assed_assigned_notify.py 29 0 0 100%
portality/events/consumers/journal_editor_group_assigned_notify.py 32 1 0 97%
portality/events/consumers/update_request_publisher_accepted_notify.py 46 5 0 89%
portality/events/consumers/update_request_publisher_assigned_notify.py 45 4 0 91%
portality/events/consumers/update_request_publisher_rejected_notify.py 46 4 0 91%
portality/events/kafka_consumer.py 17 17 0 0%
portality/events/kafka_producer.py 8 8 0 0%
portality/events/shortcircuit.py 4 0 0 100%
portality/forms/__init__.py 0 0 0 100%
portality/forms/application_forms.py 584 104 0 82%
portality/forms/application_processors.py 478 81 0 83%
portality/forms/article_forms.py 463 130 0 72%
portality/forms/fields.py 32 2 0 94%
portality/forms/utils.py 31 4 0 87%
portality/forms/validate.py 350 81 0 77%
portality/lcc.py 95 40 0 58%
portality/lib/__init__.py 0 0 0 100%
portality/lib/analytics.py 58 58 0 0%
portality/lib/anon.py 14 1 0 93%
portality/lib/argvalidate.py 12 1 0 92%
portality/lib/coerce.py 66 11 0 83%
portality/lib/dataobj.py 816 277 0 66%
portality/lib/dates.py 71 19 0 73%
portality/lib/edges.py 37 3 0 92%
portality/lib/es_data_mapping.py 26 1 0 96%
portality/lib/formulaic.py 615 206 0 67%
portality/lib/httputil.py 135 112 0 17%
portality/lib/isolang.py 9 2 0 78%
portality/lib/modeldoc.py 86 86 0 0%
portality/lib/nav.py 10 0 0 100%
portality/lib/normalise.py 26 1 0 96%
portality/lib/paths.py 22 2 0 91%
portality/lib/plausible.py 53 12 0 77%
portality/lib/plugin.py 51 9 0 82%
portality/lib/query_filters.py 176 75 0 57%
portality/lib/report_to_csv.py 16 0 0 100%
portality/lib/seamless.py 670 212 0 68%
portality/lib/seamlessdoc.py 87 87 0 0%
portality/lib/swagger.py 56 3 0 95%
portality/lib/xmlutil.py 42 34 0 19%
portality/lock.py 98 7 0 93%
portality/models/__init__.py 52 5 0 90%
portality/models/account.py 183 54 0 70%
portality/models/article.py 716 137 0 81%
portality/models/atom.py 10 0 0 100%
portality/models/background.py 93 9 0 90%
portality/models/cache.py 63 7 0 89%
portality/models/editors.py 91 7 0 92%
portality/models/event.py 35 0 0 100%
portality/models/harvester.py 136 3 0 98%
portality/models/history.py 24 0 0 100%
portality/models/lcc.py 65 2 0 97%
portality/models/lock.py 47 10 0 79%
portality/models/news.py 60 12 0 80%
portality/models/notifications.py 52 0 0 100%
portality/models/oaipmh.py 64 4 0 94%
portality/models/openurl.py 274 20 0 93%
portality/models/preservation.py 88 29 0 67%
portality/models/provenance.py 87 2 0 98%
portality/models/search.py 33 2 0 94%
portality/models/uploads.py 121 29 0 76%
portality/models/v1/__init__.py 0 0 0 100%
portality/models/v1/bibjson.py 144 26 0 82%
portality/models/v1/journal.py 898 898 0 0%
portality/models/v1/shared_structs.py 2 0 0 100%
portality/models/v1/suggestion.py 167 167 0 0%
portality/models/v2/__init__.py 0 0 0 100%
portality/models/v2/application.py 207 43 0 79%
portality/models/v2/bibjson.py 667 47 0 93%
portality/models/v2/journal.py 659 55 0 92%
portality/models/v2/shared_structs.py 2 0 0 100%
portality/notifications/__init__.py 0 0 0 100%
portality/notifications/application_emails.py 38 28 0 26%
portality/regex.py 19 2 0 89%
portality/settings.py 237 3 0 99%
portality/store.py 175 58 0 67%
portality/tasks/__init__.py 0 0 0 100%
portality/tasks/anon_export.py 136 25 0 82%
portality/tasks/article_bulk_delete.py 78 2 0 97%
portality/tasks/article_cleanup_sync.py 144 18 0 88%
portality/tasks/article_duplicate_report.py 157 23 0 85%
portality/tasks/async_workflow_notifications.py 174 32 0 82%
portality/tasks/check_latest_es_backup.py 41 8 0 80%
portality/tasks/consumer_long_running.py 9 9 0 0%
portality/tasks/consumer_main_queue.py 18 18 0 0%
portality/tasks/harvester.py 77 9 0 88%
portality/tasks/harvester_helpers/__init__.py 0 0 0 100%
portality/tasks/harvester_helpers/epmc/__init__.py 0 0 0 100%
portality/tasks/harvester_helpers/epmc/client.py 131 41 0 69%
portality/tasks/harvester_helpers/epmc/epmc_harvester.py 90 12 0 87%
portality/tasks/harvester_helpers/epmc/models.py 342 189 0 45%
portality/tasks/harvester_helpers/epmc/queries.py 30 2 0 93%
portality/tasks/harvester_helpers/workflow.py 84 9 0 89%
portality/tasks/helpers/__init__.py 0 0 0 100%
portality/tasks/helpers/background_helper.py 25 6 0 76%
portality/tasks/ingestarticles.py 408 95 0 77%
portality/tasks/journal_bulk_delete.py 93 5 0 95%
portality/tasks/journal_bulk_edit.py 143 17 0 88%
portality/tasks/journal_csv.py 39 39 0 0%
portality/tasks/journal_in_out_doaj.py 87 19 0 78%
portality/tasks/preservation.py 442 158 0 64%
portality/tasks/prune_es_backups.py 48 23 0 52%
portality/tasks/public_data_dump.py 154 11 0 93%
portality/tasks/read_news.py 63 63 0 0%
portality/tasks/redis_huey.py 16 2 0 88%
portality/tasks/reporting.py 263 22 0 92%
portality/tasks/request_es_backup.py 45 45 0 0%
portality/tasks/sitemap.py 42 9 0 79%
portality/tasks/suggestion_bulk_edit.py 115 14 0 88%
portality/ui/__init__.py 0 0 0 100%
portality/ui/debug_toolbar.py 26 1 0 96%
portality/ui/messages.py 89 5 0 94%
portality/upgrade.py 138 65 0 53%
portality/util.py 109 56 0 49%
portality/view/__init__.py 0 0 0 100%
portality/view/account.py 232 135 0 42%
portality/view/admin.py 528 347 0 34%
portality/view/api_v1.py 104 11 0 89%
portality/view/api_v2.py 104 11 0 89%
portality/view/api_v3.py 235 43 0 82%
portality/view/apply.py 62 46 0 26%
portality/view/atom.py 117 6 0 95%
portality/view/dashboard.py 15 0 0 100%
portality/view/doaj.py 341 146 0 57%
portality/view/doajservices.py 65 41 0 37%
portality/view/editor.py 120 74 0 38%
portality/view/forms.py 72 38 0 47%
portality/view/jct.py 20 7 0 65%
portality/view/oaipmh.py 543 54 0 90%
portality/view/openurl.py 47 4 0 91%
portality/view/publisher.py 254 180 0 29%
portality/view/query.py 36 9 0 75%
portality/view/status.py 156 142 0 9%
Total 24138 6735 2 72%

No items found using the specified filter.