1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-provider/src/adapters/pubmed.rs
Items
const BASE const ARTICLE_PAGE const TOOL const REQUEST_TIMEOUT const REQUEST_SPACING const SUMMARY_BATCH const MAX_ARTICLES const SEARCH_WINDOW const AUTHOR_CAP const KIND const IDENTITY_CONFIDENCE const JOURNAL_CONFIDENCE struct PubMedProvider enum Plan static PACER struct Summarized impl ExternalDataProvider for PubMedProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 41 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| summary_entriessrc/adapters/pubmed.rs:262 | fn | 10 | 2 | 3 | 0 | 2.1 | |
| item_recordssrc/adapters/pubmed.rs:282 | fn | 7 | 1 | 2 | 2 | 2 | |
| article_recordsrc/adapters/pubmed.rs:145 | fn | 113 | 11 | 3 | 9 | 1.6 | |
| normalize_pubmed_payloadsrc/adapters/pubmed.rs:291 | fn | 3 | 1 | 4 | 1 | 1.5 | |
| plansrc/adapters/pubmed.rs:342 | fn | 53 | 16 | 3 | 4 | 1.2 | |
| parse_pmidsrc/adapters/pubmed.rs:134 | fn | 8 | 2 | 3 | 0 | 1.1 | |
| pmid_keysrc/adapters/pubmed.rs:80 | fn | 3 | 1 | 3 | 0 | 1 | |
| doi_keysrc/adapters/pubmed.rs:87 | fn | 9 | 4 | 3 | 0 | 1 | |
| summary_urlsrc/adapters/pubmed.rs:404 | fn | 4 | 1 | 2 | 0 | 0.9 | |
| summarizesrc/adapters/pubmed.rs:451 | fn | 13 | 2 | 3 | 3 | 0.8 | |
| summary_missingsrc/adapters/pubmed.rs:274 | fn | 7 | 1 | 2 | 1 | 0.8 | |
| issn_keysrc/adapters/pubmed.rs:99 | fn | 9 | 5 | 2 | 0 | 0.8 | |
| targetssrc/adapters/pubmed.rs:587 | fn | 10 | 1 | 2 | 0 | 0.8 | |
| param_countsrc/adapters/pubmed.rs:326 | fn | 11 | 3 | 1 | 1 | 0.7 | |
| pacesrc/adapters/pubmed.rs:398 | fn | 4 | 1 | 2 | 1 | 0.7 | |
| esummarysrc/adapters/pubmed.rs:577 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| fieldsrc/adapters/pubmed.rs:109 | fn | 4 | 1 | 1 | 1 | 0.6 | |
| string_listsrc/adapters/pubmed.rs:114 | fn | 8 | 1 | 1 | 1 | 0.6 | |
| claimsrc/adapters/pubmed.rs:123 | fn | 10 | 1 | 1 | 1 | 0.6 | |
| search_idssrc/adapters/pubmed.rs:297 | fn | 13 | 2 | 2 | 3 | 0.6 | |
| next_startsrc/adapters/pubmed.rs:313 | fn | 4 | 2 | 2 | 0 | 0.6 | |
| search_querysrc/adapters/pubmed.rs:410 | fn | 13 | 1 | 2 | 0 | 0.6 | |
| esearchsrc/adapters/pubmed.rs:583 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| get_summarysrc/adapters/pubmed.rs:424 | fn | 7 | 1 | 1 | 4 | 0.6 | |
| get_searchsrc/adapters/pubmed.rs:432 | fn | 8 | 1 | 1 | 4 | 0.6 | |
| PubMedProvider::descriptorsrc/adapters/pubmed.rs:466 | trait impl | 13 | 1 | 0 | 0 | 0.5 | |
| PubMedProvider::seed_recordssrc/adapters/pubmed.rs:480 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| PubMedProvider::normalize_payloadsrc/adapters/pubmed.rs:484 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| PubMedProvider::sync_contractsrc/adapters/pubmed.rs:488 | trait impl | 27 | 1 | 0 | 1 | 0.5 | |
| PubMedProvider::fetch_livesrc/adapters/pubmed.rs:516 | trait impl | 51 | 2 | 0 | 7 | 0.5 | |
| article_keys_on_the_pmid_and_carries_the_citation_fieldssrc/adapters/pubmed.rs:599 | fn | 38 | 1 | 0 | 1 | 0.5 | |
| a_doi_is_a_same_as_claim_and_the_journal_is_keyed_by_issnsrc/adapters/pubmed.rs:639 | fn | 14 | 1 | 0 | 3 | 0.5 | |
| a_journal_without_a_print_issn_keys_on_the_electronic_issn_then_its_namesrc/adapters/pubmed.rs:655 | fn | 21 | 1 | 0 | 3 | 0.5 | |
| doi_keys_are_lower_case_without_a_resolver_prefixsrc/adapters/pubmed.rs:678 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| an_unknown_pmid_is_an_error_entry_and_reads_as_unresolvedsrc/adapters/pubmed.rs:692 | fn | 27 | 1 | 0 | 6 | 0.5 | |
| summaries_are_read_in_batches_up_to_the_page_limitsrc/adapters/pubmed.rs:721 | fn | 19 | 1 | 0 | 2 | 0.5 | |
| a_search_response_yields_pmids_the_count_and_the_next_retstartsrc/adapters/pubmed.rs:742 | fn | 24 | 7 | 0 | 5 | 0.5 | |
| plan_reads_pmids_terms_and_free_textsrc/adapters/pubmed.rs:768 | fn | 31 | 1 | 0 | 2 | 0.5 | |
| plan_refuses_bad_inputsrc/adapters/pubmed.rs:801 | fn | 21 | 1 | 0 | 1 | 0.5 | |
| pubmed_provider_is_registered_in_the_catalogsrc/adapters/pubmed.rs:824 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| live_fetch_reads_pmids_and_pages_a_searchsrc/adapters/pubmed.rs:831 | fn | 17 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.