Coverage report: 74%

Files Functions Classes

coverage.py v7.6.4, created at 2025-01-15 14:09 +0000

File function statements missing excluded branches partial coverage
src/crawler/augment.py augment_article 9 9 0 8 0 0%
src/crawler/augment.py update_article 29 29 0 14 0 0%
src/crawler/augment.py fetch_article_data 18 18 0 10 0 0%
src/crawler/augment.py (no function) 9 9 0 0 0 0%
src/crawler/base_crawler.py BaseCollectionCrawler.__init__ 17 1 0 2 1 89%
src/crawler/base_crawler.py BaseCollectionCrawler.build_language_detector 1 0 0 0 0 100%
src/crawler/base_crawler.py BaseCollectionCrawler.parse_collection_content 1 1 0 0 0 0%
src/crawler/base_crawler.py BaseCollectionCrawler.parse_issue_content 0 0 0 0 0 100%
src/crawler/base_crawler.py BaseCollectionCrawler.parse_article_content 2 0 0 0 0 100%
src/crawler/base_crawler.py BaseCollectionCrawler.crawl_collection 16 16 0 10 0 0%
src/crawler/base_crawler.py BaseCollectionCrawler.crawl_issue 12 12 0 8 0 0%
src/crawler/base_crawler.py BaseCollectionCrawler.crawl_article 14 0 0 4 0 100%
src/crawler/base_crawler.py BaseCollectionCrawler.process_article_metadata 15 0 0 6 0 100%
src/crawler/base_crawler.py BaseCollectionCrawler.get 21 5 0 12 2 67%
src/crawler/base_crawler.py BaseCollectionCrawler.download_file 5 1 0 2 1 71%
src/crawler/base_crawler.py BaseCollectionCrawler.decode_response 2 0 0 0 0 100%
src/crawler/base_crawler.py BaseCollectionCrawler.add_xissue_into_database 16 16 0 2 0 0%
src/crawler/base_crawler.py BaseCollectionCrawler.get_metadata_using_citation_meta 100 7 0 86 21 83%
src/crawler/base_crawler.py BaseCollectionCrawler.create_xissue 11 1 0 6 1 88%
src/crawler/base_crawler.py BaseCollectionCrawler.detect_language 6 1 0 4 1 80%
src/crawler/base_crawler.py BaseCollectionCrawler.get_or_create_periode 10 4 0 6 3 56%
src/crawler/base_crawler.py BaseCollectionCrawler.get_or_create_source 4 1 0 2 1 67%
src/crawler/base_crawler.py BaseCollectionCrawler.create_crawled_bibitem 13 1 0 6 2 84%
src/crawler/base_crawler.py BaseCollectionCrawler.create_bibliography 13 0 0 4 0 100%
src/crawler/base_crawler.py BaseCollectionCrawler.get_issue_pid 7 0 0 4 0 100%
src/crawler/base_crawler.py BaseCollectionCrawler.set_pages 8 1 0 8 2 81%
src/crawler/base_crawler.py (no function) 66 0 0 0 0 100%
src/crawler/by_source/amc_crawler.py AmcCrawler.parse_collection_content 14 2 0 4 1 83%
src/crawler/by_source/amc_crawler.py AmcCrawler.parse_one_issues_page 21 0 0 6 0 100%
src/crawler/by_source/amc_crawler.py AmcCrawler.parse_issue_content 26 6 0 14 4 70%
src/crawler/by_source/amc_crawler.py AmcCrawler.parse_article_content 49 2 0 30 13 81%
src/crawler/by_source/amc_crawler.py (no function) 14 0 0 0 0 100%
src/crawler/by_source/amp_crawler.py AmpCrawler.parse_collection_content 11 0 0 6 1 94%
src/crawler/by_source/amp_crawler.py AmpCrawler.create_amp_xissue 26 0 0 8 0 100%
src/crawler/by_source/amp_crawler.py AmpCrawler.parse_issue_content 10 0 0 4 1 93%
src/crawler/by_source/amp_crawler.py AmpCrawler.parse_article_content 31 0 0 18 6 88%
src/crawler/by_source/amp_crawler.py (no function) 14 0 0 0 0 100%
src/crawler/by_source/arsia_crawler.py ArsiaCrawler.parse_collection_content 16 0 0 4 0 100%
src/crawler/by_source/arsia_crawler.py ArsiaCrawler.parse_article_content 1 0 0 0 0 100%
src/crawler/by_source/arsia_crawler.py (no function) 11 0 0 0 0 100%
src/crawler/by_source/bdim_crawler.py BdimCrawler.parse_collection_content 22 0 0 8 2 93%
src/crawler/by_source/bdim_crawler.py BdimCrawler.get_year 3 1 0 2 1 60%
src/crawler/by_source/bdim_crawler.py BdimCrawler.create_bdim_xissue 9 0 0 0 0 100%
src/crawler/by_source/bdim_crawler.py BdimCrawler.parse_issue_content 10 0 0 4 1 93%
src/crawler/by_source/bdim_crawler.py BdimCrawler.parse_article_content 74 3 0 40 13 86%
src/crawler/by_source/bdim_crawler.py BdimCrawler.parse_ref 39 2 0 26 2 94%
src/crawler/by_source/bdim_crawler.py BdimCrawler.parse_a_tag 14 2 0 8 2 82%
src/crawler/by_source/bdim_crawler.py BdimCrawler.parse_biblio_author_tag 22 2 0 12 3 85%
src/crawler/by_source/bdim_crawler.py (no function) 23 0 0 0 0 100%
src/crawler/by_source/da_crawler.py DaCrawler.parse_collection_content 15 15 0 4 0 0%
src/crawler/by_source/da_crawler.py DaCrawler.parse_article_content 20 4 0 8 4 71%
src/crawler/by_source/da_crawler.py (no function) 13 0 0 0 0 100%
src/crawler/by_source/dmlbul_crawler.py DmlbulCrawler.parse_collection_content 5 0 0 0 0 100%
src/crawler/by_source/dmlbul_crawler.py DmlbulCrawler.query_article_list 9 0 0 2 0 100%
src/crawler/by_source/dmlbul_crawler.py DmlbulCrawler.extract_issue_list 26 1 0 12 1 95%
src/crawler/by_source/dmlbul_crawler.py DmlbulCrawler.parse_article_content 27 2 0 18 3 89%
src/crawler/by_source/dmlbul_crawler.py (no function) 16 0 0 0 0 100%
src/crawler/by_source/dmlcz_crawler.py DmlczCrawler.parse_collection_content 29 0 0 14 5 88%
src/crawler/by_source/dmlcz_crawler.py DmlczCrawler.get_year 3 1 0 2 1 60%
src/crawler/by_source/dmlcz_crawler.py DmlczCrawler.create_dmlcz_xissue 9 2 0 0 0 78%
src/crawler/by_source/dmlcz_crawler.py DmlczCrawler.parse_issue_content 13 0 0 6 2 89%
src/crawler/by_source/dmlcz_crawler.py DmlczCrawler.parse_article_content 43 16 0 22 8 54%
src/crawler/by_source/dmlcz_crawler.py (no function) 14 0 0 0 0 100%
src/crawler/by_source/dmlpl_crawler.py DmlplCrawler.parse_collection_content 17 2 0 6 2 83%
src/crawler/by_source/dmlpl_crawler.py DmlplCrawler.parse_dmlpl_volume_content 22 1 0 10 2 91%
src/crawler/by_source/dmlpl_crawler.py DmlplCrawler.parse_issue_content 6 0 0 2 0 100%
src/crawler/by_source/dmlpl_crawler.py DmlplCrawler.crawl_article 24 2 0 8 3 84%
src/crawler/by_source/dmlpl_crawler.py DmlplCrawler.parse_dmlpl_generic_page 14 2 0 8 3 77%
src/crawler/by_source/dmlpl_crawler.py DmlplCrawler.parse_article_content 53 22 0 32 9 56%
src/crawler/by_source/dmlpl_crawler.py DmlplCrawler.parse_author 7 1 0 2 1 78%
src/crawler/by_source/dmlpl_crawler.py (no function) 21 0 0 0 0 100%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.__init__ 4 4 0 2 0 0%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.parse_collection_content 18 1 0 10 3 86%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.get_first_year 3 1 0 2 1 60%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.create_elibm_xissue 23 4 0 4 1 81%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.parse_issue_content 19 1 0 10 3 86%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.parse_article_content 74 5 0 38 6 88%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.crawl_collection 16 16 0 10 0 0%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.merge_xissues 48 48 0 28 0 0%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.crawl_issue 13 13 0 10 0 0%
src/crawler/by_source/elibm_crawler.py ElibmCrawler.crawl_elibm_issue 10 10 0 6 0 0%
src/crawler/by_source/elibm_crawler.py (no function) 19 0 0 0 0 100%
src/crawler/by_source/eudml_crawler.py EudmlCrawler.parse_collection_content 60 9 0 32 4 84%
src/crawler/by_source/eudml_crawler.py EudmlCrawler.create_eudml_xissue 15 0 0 6 0 100%
src/crawler/by_source/eudml_crawler.py EudmlCrawler.parse_article_content 106 55 0 56 15 49%
src/crawler/by_source/eudml_crawler.py EudmlCrawler.parse_bibtex 51 30 0 34 6 44%
src/crawler/by_source/eudml_crawler.py EudmlCrawler.download_file 21 21 0 10 0 0%
src/crawler/by_source/eudml_crawler.py (no function) 23 0 0 0 0 100%
src/crawler/by_source/hdml_crawler.py HdmlCrawler.parse_collection_content 16 1 0 6 2 86%
src/crawler/by_source/hdml_crawler.py HdmlCrawler.create_hdml_xissue 15 0 0 6 3 86%
src/crawler/by_source/hdml_crawler.py HdmlCrawler.parse_issue_content 13 1 0 6 2 84%
src/crawler/by_source/hdml_crawler.py HdmlCrawler.parse_article_content 40 10 0 14 4 67%
src/crawler/by_source/hdml_crawler.py (no function) 20 0 0 0 0 100%
src/crawler/by_source/impan_crawler.py ImpanCrawler.parse_collection_content 34 6 0 22 6 79%
src/crawler/by_source/impan_crawler.py ImpanCrawler.create_impan_xissue 15 1 0 4 1 89%
src/crawler/by_source/impan_crawler.py ImpanCrawler.parse_issue_content 18 4 0 10 4 71%
src/crawler/by_source/impan_crawler.py ImpanCrawler.parse_article_content 32 5 0 16 7 75%
src/crawler/by_source/impan_crawler.py (no function) 16 0 0 0 0 100%
src/crawler/by_source/lofpl_crawler.py LofplCrawler.parse_collection_content 10 0 0 2 0 100%
src/crawler/by_source/lofpl_crawler.py LofplCrawler.parse_issue_content 6 0 0 2 0 100%
src/crawler/by_source/lofpl_crawler.py LofplCrawler.parse_article_content 31 3 0 18 4 86%
src/crawler/by_source/lofpl_crawler.py LofplCrawler.crawl_article 4 0 0 0 0 100%
src/crawler/by_source/lofpl_crawler.py LofplCrawler.parse_bibitem 9 6 0 4 1 31%
src/crawler/by_source/lofpl_crawler.py (no function) 19 0 0 0 0 100%
src/crawler/by_source/mathbas_crawler.py MathbasCrawler.parse_collection_content 15 1 0 6 1 90%
src/crawler/by_source/mathbas_crawler.py MathbasCrawler.parse_issue_content 3 1 0 2 1 60%
src/crawler/by_source/mathbas_crawler.py MathbasCrawler.parse_mathbas_volume 29 5 0 20 5 80%
src/crawler/by_source/mathbas_crawler.py MathbasCrawler.parse_mathbas_issue 28 4 0 16 4 82%
src/crawler/by_source/mathbas_crawler.py MathbasCrawler.decode_response 1 0 0 0 0 100%
src/crawler/by_source/mathbas_crawler.py (no function) 18 0 0 0 0 100%
src/crawler/by_source/mathnetru_crawler.py MathnetruCrawler.build_language_detector 1 0 0 0 0 100%
src/crawler/by_source/mathnetru_crawler.py MathnetruCrawler.parse_collection_content 28 3 0 14 3 86%
src/crawler/by_source/mathnetru_crawler.py MathnetruCrawler.parse_issue_content 10 1 0 4 1 86%
src/crawler/by_source/mathnetru_crawler.py MathnetruCrawler.parse_article_content 60 2 0 32 10 87%
src/crawler/by_source/mathnetru_crawler.py MathnetruCrawler.parse_references 5 0 0 2 0 100%
src/crawler/by_source/mathnetru_crawler.py MathnetruCrawler.parse_ref 17 1 0 12 1 93%
src/crawler/by_source/mathnetru_crawler.py MathnetruCrawler.decode_response 3 1 0 2 1 60%
src/crawler/by_source/mathnetru_crawler.py (no function) 26 0 0 0 0 100%
src/crawler/by_source/nsjom/nsjom_1971_crawler.py parse_collection_content 12 3 0 2 0 79%
src/crawler/by_source/nsjom/nsjom_1971_crawler.py parse_issue_content 3 1 0 2 1 60%
src/crawler/by_source/nsjom/nsjom_1971_crawler.py parse_year 10 1 0 4 1 86%
src/crawler/by_source/nsjom/nsjom_1971_crawler.py parse_issue_tag 29 6 0 12 3 78%
src/crawler/by_source/nsjom/nsjom_1971_crawler.py parse_article_tag 31 3 0 14 4 84%
src/crawler/by_source/nsjom/nsjom_1971_crawler.py (no function) 14 1 0 2 1 88%
src/crawler/by_source/nsjom/nsjom_2010_crawler.py parse_collection_content 8 0 0 2 0 100%
src/crawler/by_source/nsjom/nsjom_2010_crawler.py is_heading 12 3 0 10 1 73%
src/crawler/by_source/nsjom/nsjom_2010_crawler.py parse_issue_content 3 3 0 2 0 0%
src/crawler/by_source/nsjom/nsjom_2010_crawler.py parse_year 18 1 0 10 1 93%
src/crawler/by_source/nsjom/nsjom_2010_crawler.py parse_issue_tags 29 5 0 14 6 74%
src/crawler/by_source/nsjom/nsjom_2010_crawler.py parse_article 24 4 0 10 4 76%
src/crawler/by_source/nsjom/nsjom_2010_crawler.py (no function) 15 1 0 2 1 88%
src/crawler/by_source/nsjom/nsjom_xml_crawler.py parse_collection_content 33 3 0 16 3 88%
src/crawler/by_source/nsjom/nsjom_xml_crawler.py parse_issue_content 3 1 0 2 1 60%
src/crawler/by_source/nsjom/nsjom_xml_crawler.py parse_issue_tag 8 0 0 2 1 90%
src/crawler/by_source/nsjom/nsjom_xml_crawler.py parse_article 70 3 0 40 14 85%
src/crawler/by_source/nsjom/nsjom_xml_crawler.py (no function) 12 1 0 2 1 86%
src/crawler/by_source/nsjom_crawler.py NsjomCrawler.parse_collection_content 4 0 0 2 0 100%
src/crawler/by_source/nsjom_crawler.py NsjomCrawler.parse_issue_content 7 2 0 6 2 69%
src/crawler/by_source/nsjom_crawler.py NsjomCrawler.decode_response 12 10 0 0 0 17%
src/crawler/by_source/nsjom_crawler.py (no function) 17 0 0 0 0 100%
src/crawler/by_source/numdam_crawler.py NumdamCrawler.crawl_collection 1 1 0 0 0 0%
src/crawler/by_source/numdam_crawler.py (no function) 8 8 0 0 0 0%
src/crawler/by_source/rcm_crawler.py RcmCrawler.build_language_detector 1 0 0 0 0 100%
src/crawler/by_source/rcm_crawler.py RcmCrawler.parse_collection_content 20 3 0 10 3 80%
src/crawler/by_source/rcm_crawler.py RcmCrawler.parse_issue_content 44 6 0 22 8 79%
src/crawler/by_source/rcm_crawler.py (no function) 16 0 0 0 0 100%
src/crawler/by_source/sasa_crawler.py SasaCrawler.build_language_detector 1 0 0 0 0 100%
src/crawler/by_source/sasa_crawler.py SasaCrawler.parse_collection_content 32 7 0 20 8 71%
src/crawler/by_source/sasa_crawler.py SasaCrawler.parse_issue_content 21 4 0 12 4 76%
src/crawler/by_source/sasa_crawler.py SasaCrawler.parse_sasa_article 65 5 0 40 11 85%
src/crawler/by_source/sasa_crawler.py SasaCrawler.fetch_sasa_abstract 8 1 0 2 1 80%
src/crawler/by_source/sasa_crawler.py SasaCrawler.decode_response 8 6 0 0 0 25%
src/crawler/by_source/sasa_crawler.py (no function) 19 0 0 0 0 100%
src/crawler/by_source/tac_crawler.py TacCrawler.parse_collection_content 32 0 0 14 0 100%
src/crawler/by_source/tac_crawler.py TacCrawler.create_tac_xissue 29 0 0 8 0 100%
src/crawler/by_source/tac_crawler.py TacCrawler.parse_article_content 56 2 0 26 5 91%
src/crawler/by_source/tac_crawler.py TacCrawler.insert_kwd 10 0 0 4 0 100%
src/crawler/by_source/tac_crawler.py (no function) 15 0 0 0 0 100%
src/crawler/factory.py get_crawler_class 1 0 0 0 0 100%
src/crawler/factory.py crawler_factory 5 1 0 2 1 71%
src/crawler/factory.py (no function) 23 0 0 0 0 100%
src/crawler/models.py SourceManager.get_by_natural_key 1 1 0 0 0 0%
src/crawler/models.py Source.natural_key 1 1 0 0 0 0%
src/crawler/models.py Source.__str__ 1 1 0 0 0 0%
src/crawler/models.py PeriodeManager.get_by_natural_key 1 1 0 0 0 0%
src/crawler/models.py Periode.natural_key 1 1 0 0 0 0%
src/crawler/models.py Periode.__str__ 1 1 0 0 0 0%
src/crawler/models.py (no function) 37 0 0 0 0 100%
src/crawler/types.py (no function) 11 0 0 0 0 100%
src/crawler/utils.py insert_crawl_event_in_history 7 7 0 2 0 0%
src/crawler/utils.py col_has_source 1 1 0 0 0 0%
src/crawler/utils.py get_cols_by_source 2 2 0 0 0 0%
src/crawler/utils.py get_all_cols 2 0 0 0 0 100%
src/crawler/utils.py get_numdam_collections 8 8 0 4 0 0%
src/crawler/utils.py get_or_create_collection 20 13 0 6 3 38%
src/crawler/utils.py cleanup_str 3 0 0 0 0 100%
src/crawler/utils.py add_pdf_link_to_xarticle 4 0 0 0 0 100%
src/crawler/utils.py (no function) 24 0 0 0 0 100%
src/crawler/zbmath.py zbmath_request_article 49 49 0 20 0 0%
src/crawler/zbmath.py (no function) 8 8 0 0 0 0%
Total   3327 688 0 1380 318 74%

No items found using the specified filter.