1 viewer
rust 1,863,595 · typescript 235,976 · javascript 133,240 · python 20,426 · 6,417 files · digest b3b8c6dd2bb2 · built in 2.5 s · crystals off
crates/cre8-app-seo/src/audit.rs
Items
enum Severity impl Severity struct Finding impl Finding struct PageFacts impl PageFacts struct AuditInput impl AuditInput struct AuditReport impl AuditReport const TITLE_MIN const TITLE_MAX const DESCRIPTION_MIN const DESCRIPTION_MAX const THIN_CONTENT_WORDS const HEAVY_INLINE_SCRIPT_BYTES const OVERSIZE_HTML_BYTES struct Rubric impl Rubric const GOOD
Functions
By call-graph weight (PageRank; 1.0 is the average function). 54 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Rubric::checksrc/audit.rs:374 | method | 17 | 2 | 8 | 0 | 4.7 | |
| auditsrc/audit.rs:411 | fn | 15 | 1 | 18 | 10 | 3.8 | |
| selectorsrc/audit.rs:194 | fn | 3 | 1 | 7 | 0 | 3.6 | |
| AuditInput::newsrc/audit.rs:136 | method | 3 | 1 | 13 | 0 | 3.5 | |
| good_inputsrc/audit.rs:786 | fn | 3 | 1 | 9 | 2 | 2.3 | |
| good_pagesrc/audit.rs:781 | fn | 4 | 1 | 4 | 0 | 1.9 | |
| extract_factssrc/audit.rs:312 | fn | 36 | 1 | 4 | 8 | 1.4 | |
| grade_forsrc/audit.rs:182 | fn | 9 | 5 | 2 | 0 | 1.3 | |
| is_absolutesrc/audit.rs:406 | fn | 3 | 2 | 2 | 0 | 1.2 | |
| AuditInput::headersrc/audit.rs:140 | method | 3 | 1 | 1 | 0 | 0.8 | |
| is_noindexsrc/audit.rs:402 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| Rubric::newsrc/audit.rs:370 | method | 3 | 1 | 1 | 0 | 0.8 | |
| audit_indexabilitysrc/audit.rs:427 | fn | 26 | 1 | 1 | 2 | 0.8 | |
| audit_titlessrc/audit.rs:454 | fn | 43 | 3 | 1 | 1 | 0.8 | |
| audit_structuresrc/audit.rs:498 | fn | 52 | 2 | 1 | 2 | 0.8 | |
| audit_socialsrc/audit.rs:551 | fn | 34 | 1 | 1 | 1 | 0.8 | |
| audit_structured_datasrc/audit.rs:586 | fn | 26 | 2 | 1 | 1 | 0.8 | |
| audit_contentsrc/audit.rs:613 | fn | 28 | 2 | 1 | 1 | 0.8 | |
| audit_deliverysrc/audit.rs:642 | fn | 38 | 2 | 1 | 2 | 0.8 | |
| audit_site_filessrc/audit.rs:681 | fn | 64 | 5 | 1 | 2 | 0.8 | |
| collect_schema_typessrc/audit.rs:263 | fn | 18 | 6 | 1 | 0 | 0.8 | |
| first_attrsrc/audit.rs:198 | fn | 8 | 1 | 1 | 1 | 0.6 | |
| first_textsrc/audit.rs:207 | fn | 7 | 1 | 1 | 1 | 0.6 | |
| visible_word_countsrc/audit.rs:218 | fn | 18 | 2 | 1 | 1 | 0.6 | |
| inline_script_bytessrc/audit.rs:237 | fn | 7 | 1 | 1 | 1 | 0.6 | |
| structured_datasrc/audit.rs:245 | fn | 17 | 2 | 1 | 2 | 0.6 | |
| link_countssrc/audit.rs:282 | fn | 22 | 9 | 1 | 1 | 0.6 | |
| origin_ofsrc/audit.rs:305 | fn | 5 | 1 | 1 | 0 | 0.6 | |
| Severity::as_strsrc/audit.rs:31 | method | 8 | 4 | 0 | 0 | 0.5 | |
| Finding::to_jsonsrc/audit.rs:54 | method | 9 | 1 | 0 | 0 | 0.5 | |
| PageFacts::to_jsonsrc/audit.rs:94 | method | 25 | 1 | 0 | 0 | 0.5 | |
| AuditReport::to_jsonsrc/audit.rs:160 | method | 16 | 1 | 0 | 0 | 0.5 | |
| AuditReport::countsrc/audit.rs:177 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Rubric::finishsrc/audit.rs:392 | method | 8 | 2 | 0 | 1 | 0.5 | |
| decorative_empty_alt_is_distinct_from_a_missing_attributesrc/audit.rs:749 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| a_well_formed_page_scores_an_asrc/audit.rs:791 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| facts_are_measured_not_guessedsrc/audit.rs:798 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| noindex_is_scored_as_the_critical_it_issrc/audit.rs:814 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| a_bare_page_fails_the_things_it_is_missingsrc/audit.rs:823 | fn | 19 | 2 | 0 | 2 | 0.5 | |
| every_finding_carries_a_fixsrc/audit.rs:844 | fn | 7 | 2 | 0 | 2 | 0.5 | |
| findings_are_ordered_worst_firstsrc/audit.rs:853 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| a_relative_sitemap_loc_is_criticalsrc/audit.rs:862 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| a_relative_robots_sitemap_directive_is_flaggedsrc/audit.rs:876 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| an_absolute_sitemap_passes_both_file_checkssrc/audit.rs:884 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| header_checks_are_skipped_when_no_headers_were_capturedsrc/audit.rs:895 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| uncompressed_delivery_is_flagged_when_headers_are_presentsrc/audit.rs:905 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| heavy_inline_script_is_flaggedsrc/audit.rs:914 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| script_text_does_not_count_as_page_contentsrc/audit.rs:923 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| malformed_structured_data_is_worse_than_none_reported_honestlysrc/audit.rs:933 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| a_non_200_page_is_criticalsrc/audit.rs:944 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| score_is_a_share_of_available_weightsrc/audit.rs:954 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| grade_boundaries_holdsrc/audit.rs:962 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| report_json_carries_findings_facts_and_countssrc/audit.rs:974 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| external_and_internal_links_are_told_apartsrc/audit.rs:985 | fn | 14 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.