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-view-lib/src/component_spec.rs
Items
enum PropKind impl PropKind struct Prop impl Prop enum Children impl Children struct PortableAuthoring struct ComponentSpec impl ComponentSpec
Functions
By call-graph weight (PageRank; 1.0 is the average function). 58 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Prop::newsrc/component_spec.rs:88 | method | 3 | 1 | 6 | 0 | 5.2 | |
| Prop::requiredsrc/component_spec.rs:117 | method | 4 | 1 | 19 | 0 | 3 | |
| ComponentSpec::blocksrc/component_spec.rs:300 | method | 4 | 1 | 12 | 0 | 1.9 | |
| ComponentSpec::newsrc/component_spec.rs:201 | method | 3 | 1 | 11 | 0 | 1.8 | |
| ComponentSpec::state_with_modifiersrc/component_spec.rs:382 | method | 8 | 1 | 3 | 0 | 1.6 | |
| ComponentSpec::slotssrc/component_spec.rs:207 | method | 4 | 1 | 8 | 0 | 1.4 | |
| ComponentSpec::platformssrc/component_spec.rs:217 | method | 4 | 1 | 8 | 0 | 1.4 | |
| PropKind::manifest_typesrc/component_spec.rs:66 | method | 10 | 6 | 1 | 0 | 1.3 | |
| Prop::textsrc/component_spec.rs:92 | method | 3 | 1 | 4 | 1 | 1.1 | |
| ComponentSpec::accessibility_summarysrc/component_spec.rs:222 | method | 4 | 1 | 2 | 0 | 1 | |
| Prop::one_ofsrc/component_spec.rs:112 | method | 3 | 1 | 3 | 1 | 1 | |
| Prop::manifest_entrysrc/component_spec.rs:128 | method | 12 | 3 | 1 | 1 | 1 | |
| ComponentSpec::statessrc/component_spec.rs:212 | method | 4 | 1 | 3 | 0 | 1 | |
| ComponentSpec::aliassrc/component_spec.rs:247 | method | 4 | 1 | 3 | 0 | 0.9 | |
| ComponentSpec::portablesrc/component_spec.rs:256 | method | 9 | 1 | 3 | 0 | 0.9 | |
| ComponentSpec::accessibility_requirementssrc/component_spec.rs:227 | method | 4 | 1 | 2 | 0 | 0.9 | |
| Prop::boolsrc/component_spec.rs:96 | method | 3 | 1 | 2 | 1 | 0.9 | |
| Prop::numbersrc/component_spec.rs:100 | method | 3 | 1 | 2 | 1 | 0.9 | |
| Prop::jsonsrc/component_spec.rs:108 | method | 3 | 1 | 2 | 1 | 0.9 | |
| ComponentSpec::elementsrc/component_spec.rs:314 | method | 4 | 1 | 2 | 0 | 0.9 | |
| ComponentSpec::extra_contractsrc/component_spec.rs:357 | method | 4 | 1 | 2 | 0 | 0.9 | |
| ComponentSpec::role_defaultsrc/component_spec.rs:330 | method | 4 | 1 | 2 | 0 | 0.9 | |
| ComponentSpec::role_whensrc/component_spec.rs:338 | method | 4 | 1 | 2 | 0 | 0.9 | |
| Prop::scalarsrc/component_spec.rs:104 | method | 3 | 1 | 1 | 1 | 0.8 | |
| ComponentSpec::modifier_patternsrc/component_spec.rs:308 | method | 4 | 1 | 1 | 0 | 0.8 | |
| ComponentSpec::state_attributesrc/component_spec.rs:324 | method | 4 | 1 | 1 | 0 | 0.8 | |
| ComponentSpec::hydration_markersrc/component_spec.rs:345 | method | 4 | 1 | 1 | 0 | 0.8 | |
| ComponentSpec::render_modesrc/component_spec.rs:350 | method | 4 | 1 | 1 | 0 | 0.8 | |
| ComponentSpec::apply_accessibilitysrc/component_spec.rs:412 | method | 17 | 3 | 2 | 0 | 0.7 | |
| ComponentSpec::write_dom_class_contractsrc/component_spec.rs:496 | method | 10 | 3 | 1 | 0 | 0.7 | |
| ComponentSpec::write_dom_state_contractsrc/component_spec.rs:507 | method | 7 | 2 | 1 | 0 | 0.7 | |
| ComponentSpec::write_dom_role_contractsrc/component_spec.rs:515 | method | 16 | 5 | 1 | 0 | 0.7 | |
| ComponentSpec::prop_problemssrc/component_spec.rs:269 | method | 26 | 9 | 2 | 0 | 0.6 | |
| ComponentSpec::has_dom_class_contractsrc/component_spec.rs:539 | method | 3 | 3 | 1 | 0 | 0.6 | |
| ComponentSpec::has_dom_state_contractsrc/component_spec.rs:543 | method | 3 | 1 | 1 | 0 | 0.6 | |
| ComponentSpec::has_dom_role_contractsrc/component_spec.rs:547 | method | 3 | 2 | 1 | 0 | 0.6 | |
| ComponentSpec::has_dom_auxiliary_contractsrc/component_spec.rs:551 | method | 3 | 3 | 1 | 0 | 0.6 | |
| ComponentSpec::apply_propssrc/component_spec.rs:431 | method | 25 | 4 | 1 | 1 | 0.6 | |
| ComponentSpec::dom_contract_valuesrc/component_spec.rs:470 | method | 25 | 3 | 1 | 3 | 0.6 | |
| ComponentSpec::has_dom_contractsrc/component_spec.rs:532 | method | 6 | 4 | 1 | 4 | 0.6 | |
| Prop::defaultsrc/component_spec.rs:123 | method | 4 | 1 | 0 | 0 | 0.5 | |
| Children::manifest_valuesrc/component_spec.rs:150 | method | 6 | 2 | 0 | 0 | 0.5 | |
| ComponentSpec::propsrc/component_spec.rs:235 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ComponentSpec::propssrc/component_spec.rs:241 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ComponentSpec::intentsrc/component_spec.rs:368 | method | 3 | 1 | 0 | 1 | 0.5 | |
| ComponentSpec::statussrc/component_spec.rs:374 | method | 3 | 1 | 0 | 1 | 0.5 | |
| ComponentSpec::buildsrc/component_spec.rs:391 | method | 20 | 2 | 0 | 7 | 0.5 | |
| ComponentSpec::accessibility_requirement_valuessrc/component_spec.rs:457 | method | 12 | 2 | 0 | 0 | 0.5 | |
| intent_capability_emits_state_attribute_and_modifiersrc/component_spec.rs:562 | fn | 14 | 1 | 0 | 5 | 0.5 | |
| status_capability_emits_data_statussrc/component_spec.rs:578 | fn | 11 | 1 | 0 | 5 | 0.5 | |
| elements_round_trip_into_dom_contractsrc/component_spec.rs:591 | fn | 13 | 1 | 0 | 5 | 0.5 | |
| role_default_and_by_state_compose_into_role_strategysrc/component_spec.rs:606 | fn | 12 | 1 | 0 | 6 | 0.5 | |
| extra_contract_is_merged_verbatimsrc/component_spec.rs:620 | fn | 10 | 1 | 0 | 5 | 0.5 | |
| no_dom_contract_when_only_categorical_fields_setsrc/component_spec.rs:632 | fn | 4 | 1 | 0 | 3 | 0.5 | |
| accessibility_summary_without_requirements_uses_default_requirement_listsrc/component_spec.rs:638 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| props_aliases_and_portable_are_emitted_only_when_declaredsrc/component_spec.rs:651 | fn | 23 | 2 | 0 | 7 | 0.5 | |
| prop_problems_name_each_declaration_mistakesrc/component_spec.rs:676 | fn | 18 | 2 | 0 | 5 | 0.5 | |
| apply_accessibility_ignores_non_object_entriessrc/component_spec.rs:696 | fn | 8 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.