Coverage report: 81%

Files Functions Classes

coverage.py v7.13.5, created at 2026-04-30 15:46 +0000

File function   statements missing excluded   coverage
oc_validator / __init__.py configure_logging   7 0 0   100%
oc_validator / __init__.py (no function)   4 0 0   100%
oc_validator / cli.py add_common_args   5 5 0   0%
oc_validator / cli.py cmd_validate   2 2 0   0%
oc_validator / cli.py cmd_closure   2 2 0   0%
oc_validator / cli.py main   21 21 0   0%
oc_validator / cli.py (no function)   6 6 0   0%
oc_validator / csv_wellformedness.py Wellformedness.__init__   6 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.wellformedness_br_id   4 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.wellformedness_people_item   6 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.wellformedness_publisher_item   6 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.orphan_ra_id   3 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.wellformedness_date   4 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.wellformedness_venue   6 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.orphan_venue_id   3 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.wellformedness_volume_issue   4 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.wellformedness_page   10 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.check_page_interval   27 1 0   96%
oc_validator / csv_wellformedness.py Wellformedness.check_page_interval.extract_segments   3 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.check_duplicate_ra_by_id   13 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.check_duplicate_publisher_by_raw   8 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.wellformedness_type   3 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.get_missing_values   68 2 0   97%
oc_validator / csv_wellformedness.py Wellformedness.get_duplicates_cits   25 0 0   100%
oc_validator / csv_wellformedness.py Wellformedness.get_duplicates_meta   19 0 0   100%
oc_validator / csv_wellformedness.py (no function)   25 0 0   100%
oc_validator / helper.py UnionFind.__init__   1 0 0   100%
oc_validator / helper.py UnionFind.find   5 0 0   100%
oc_validator / helper.py UnionFind.union   1 0 0   100%
oc_validator / helper.py Helper.__init__   1 0 0   100%
oc_validator / helper.py Helper.group_ids   11 0 0   100%
oc_validator / helper.py Helper.create_error_dict   3 0 0   100%
oc_validator / helper.py Helper.create_validation_summary_stream   33 0 0   100%
oc_validator / helper.py CSVStreamReader.__init__   4 0 0   100%
oc_validator / helper.py CSVStreamReader._detect_delimiter_and_fieldnames   13 0 0   100%
oc_validator / helper.py CSVStreamReader.stream   5 0 0   100%
oc_validator / helper.py CSVStreamReader.__iter__   1 0 0   100%
oc_validator / helper.py JSONLStreamIO.__init__   3 0 0   100%
oc_validator / helper.py JSONLStreamIO.__enter__   2 0 0   100%
oc_validator / helper.py JSONLStreamIO.__exit__   2 0 0   100%
oc_validator / helper.py JSONLStreamIO.is_empty   5 0 0   100%
oc_validator / helper.py JSONLStreamIO.read   3 0 0   100%
oc_validator / helper.py JSONLStreamIO.__iter__   1 0 0   100%
oc_validator / helper.py JSONLStreamIO.write   3 0 0   100%
oc_validator / helper.py JSONLStreamIO.flush   2 2 0   0%
oc_validator / helper.py read_csv   8 0 0   100%
oc_validator / helper.py (no function)   28 0 0   100%
oc_validator / id_existence.py IdExistence.__init__   17 0 0   100%
oc_validator / id_existence.py IdExistence.close   1 0 0   100%
oc_validator / id_existence.py IdExistence._recreate_sparql_client   2 2 0   0%
oc_validator / id_existence.py IdExistence.check_id_existence   8 0 0   100%
oc_validator / id_existence.py IdExistence.query_external_service   33 0 0   100%
oc_validator / id_existence.py IdExistence.query_meta_triplestore   9 0 0   100%
oc_validator / id_existence.py IdExistence.query_omid_in_meta   7 0 0   100%
oc_validator / id_existence.py (no function)   12 0 0   100%
oc_validator / id_syntax.py IdSyntax.__init__   15 0 0   100%
oc_validator / id_syntax.py IdSyntax.check_id_syntax   39 0 0   100%
oc_validator / id_syntax.py (no function)   5 0 0   100%
oc_validator / interface / __init__.py (no function)   0 0 0   100%
oc_validator / interface / gui.py generate_error_colors   9 9 0   0%
oc_validator / interface / gui.py model_row_default   9 9 1   0%
oc_validator / interface / gui.py enrich_row   12 12 0   0%
oc_validator / interface / gui.py map_errors_to_data   12 12 0   0%
oc_validator / interface / gui.py make_gui   31 31 0   0%
oc_validator / interface / gui.py merge_html_files   12 12 0   0%
oc_validator / interface / gui.py (no function)   16 16 0   0%
oc_validator / interface / run_gui.py (no function)   13 13 0   0%
oc_validator / lmdb_cache.py LmdbCache.__init__   7 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.open   4 1 0   75%
oc_validator / lmdb_cache.py LmdbCache.close   7 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.__enter__   2 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.__exit__   2 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.__del__   1 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.put   5 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.get   7 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.__setitem__   1 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.__getitem__   4 1 0   75%
oc_validator / lmdb_cache.py LmdbCache.__contains__   6 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.delete   4 1 0   75%
oc_validator / lmdb_cache.py LmdbCache.__delitem__   1 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.keys   6 1 0   83%
oc_validator / lmdb_cache.py LmdbCache.values   6 1 0   83%
oc_validator / lmdb_cache.py LmdbCache.items   6 1 0   83%
oc_validator / lmdb_cache.py LmdbCache.__len__   4 0 0   100%
oc_validator / lmdb_cache.py LmdbCache.clear   6 1 0   83%
oc_validator / lmdb_cache.py LmdbCache.__bool__   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.__init__   3 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.open   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.close   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.__enter__   2 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.__exit__   2 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.put   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.get   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.__setitem__   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.__getitem__   3 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.__contains__   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.delete   2 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.__delitem__   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.keys   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.values   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.items   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.__len__   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.clear   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryCache.__bool__   1 0 0   100%
oc_validator / lmdb_cache.py LmdbUnionFind.__init__   1 0 0   100%
oc_validator / lmdb_cache.py LmdbUnionFind.find   26 0 0   100%
oc_validator / lmdb_cache.py LmdbUnionFind.__contains__   4 0 0   100%
oc_validator / lmdb_cache.py LmdbUnionFind.union   5 0 0   100%
oc_validator / lmdb_cache.py LmdbUnionFind.iter_components   9 0 0   100%
oc_validator / lmdb_cache.py InMemoryUnionFind.__init__   1 0 0   100%
oc_validator / lmdb_cache.py InMemoryUnionFind.find   14 0 0   100%
oc_validator / lmdb_cache.py InMemoryUnionFind.__contains__   3 0 0   100%
oc_validator / lmdb_cache.py InMemoryUnionFind.union   4 0 0   100%
oc_validator / lmdb_cache.py InMemoryUnionFind.iter_components   7 0 0   100%
oc_validator / lmdb_cache.py (no function)   59 0 0   100%
oc_validator / main.py InvalidTableError.__init__   2 0 0   100%
oc_validator / main.py TableNotMatchingInstance.__init__   4 0 0   100%
oc_validator / main.py Validator.__init__   41 0 0   100%
oc_validator / main.py Validator.__enter__   1 0 0   100%
oc_validator / main.py Validator.__exit__   2 0 0   100%
oc_validator / main.py Validator.close   11 0 0   100%
oc_validator / main.py Validator.process_selector   21 2 0   90%
oc_validator / main.py Validator._make_output_filepath   6 0 0   100%
oc_validator / main.py Validator.validate   14 0 0   100%
oc_validator / main.py Validator.validate_meta   265 115 0   57%
oc_validator / main.py Validator.validate_cits   98 29 0   70%
oc_validator / main.py ClosureValidator.__init__   27 1 0   96%
oc_validator / main.py ClosureValidator.__enter__   1 0 0   100%
oc_validator / main.py ClosureValidator.__exit__   2 0 0   100%
oc_validator / main.py ClosureValidator.close   10 0 0   100%
oc_validator / main.py ClosureValidator.check_closure   78 4 0   95%
oc_validator / main.py ClosureValidator.validate   19 0 0   100%
oc_validator / main.py (no function)   58 13 0   78%
oc_validator / semantics.py Semantics.__init__   1 0 0   100%
oc_validator / semantics.py Semantics.check_semantics   12 0 0   100%
oc_validator / semantics.py (no function)   3 0 0   100%
oc_validator / table_reader.py AgentItem.__init__   4 0 0   100%
oc_validator / table_reader.py AgentItem._parse   5 0 0   100%
oc_validator / table_reader.py AgentItem.to_dict   1 0 0   100%
oc_validator / table_reader.py AgentItem.__repr__   1 0 0   100%
oc_validator / table_reader.py AgentItem.__str__   1 0 0   100%
oc_validator / table_reader.py VenueInfo.__init__   4 0 0   100%
oc_validator / table_reader.py VenueInfo._parse   5 0 0   100%
oc_validator / table_reader.py VenueInfo.to_dict   1 0 0   100%
oc_validator / table_reader.py VenueInfo.__repr__   1 0 0   100%
oc_validator / table_reader.py VenueInfo.__str__   1 0 0   100%
oc_validator / table_reader.py MetadataRow.__init__   12 0 0   100%
oc_validator / table_reader.py MetadataRow._parse_id_field   3 0 0   100%
oc_validator / table_reader.py MetadataRow._parse_agent_field   4 0 0   100%
oc_validator / table_reader.py MetadataRow._parse_venue_field   3 0 0   100%
oc_validator / table_reader.py MetadataRow.flat_serialise   2 0 0   100%
oc_validator / table_reader.py MetadataRow.__repr__   1 0 0   100%
oc_validator / table_reader.py CitationsRow.__init__   5 0 0   100%
oc_validator / table_reader.py CitationsRow._parse_id_field   3 0 0   100%
oc_validator / table_reader.py CitationsRow.flat_serialise   2 0 0   100%
oc_validator / table_reader.py CitationsRow.__repr__   1 0 0   100%
oc_validator / table_reader.py read_metadata_row   1 0 0   100%
oc_validator / table_reader.py read_citations_row   1 0 0   100%
oc_validator / table_reader.py (no function)   28 0 0   100%
Total     1691 328 1   81%

No items found using the specified filter.