Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

cre8-app-editor editor cargo crate

EditorApp — extracted RuntimeApp crate.

crates/cre8-app-editor · level 15 · 10,068 lines (9,162 code) · 39 files · 646 fns (87 tests) · cyclomatic Σ 3,087

13workspace deps
2direct dependents
11transitive dependents
228calls out
7calls in
555call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

normal dep · 5 calls · source referencenormal dep · 33 calls · source referencenormal dep · 132 calls · source referencenormal dep · 3 calls · source referencenormal dep · 2 calls · source referencenormal dep · 18 calls · source referencenormal dep · 4 calls · source referencenormal dep · 6 calls · source referencenormal dep · 0 calls · source referencenormal dep · 4 calls · source referencenormal dep · 4 calls · source referencenormal dep · 11 calls · source referencenormal dep · 6 calls · source referencenormal dep · 7 calls · source referencedev dep · 0 calls · incomplete scannormal dep · 0 calls · source referencedev dep · 0 calls · incomplete scanapp-editorL15 · 9,162 linescre8-app-editorapp-atomL10 · 17,183 linescre8-app-atomapp-computeL14 · 94,808 linescre8-app-computeapp-view-libL8 · 89,193 linescre8-app-view-libplatform-envL3 · 316 linescre8-platform-envplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-connection-catalo…L1 · 580 linescre8-runtime-connection-catalog-apiruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-dispatch-apiL7 · 496 linescre8-runtime-dispatch-apiruntime-reflection-apiL4 · 158 linescre8-runtime-reflection-apiutil-cryptoL3 · 749 linescre8-util-cryptoutil-view-htmlL0 · 1,660 linescre8-util-view-htmlapp-messagingL20 · 25,957 linescre8-app-messagingapp-viewL10 · 6,011 linescre8-app-viewruntime-app-catalogL28 · 681 linescre8-runtime-app-catalogruntime-test-suiteL0 · 0 linescre8-runtime-test-suite

Files

lowhigh
crates/cre8-app-editor/src/app.rs · 285 lines · 9 fnsapp.rscrates/cre8-app-editor/src/app_editor.rs · 228 lines · 13 fnsapp_editor.rscrates/cre8-app-editor/src/app_editor_model.rs · 324 lines · 11 fnsapp_editor_model.rscrates/cre8-app-editor/src/app_template_bindings.rs · 112 lines · 5 fnsapp_templa…crates/cre8-app-editor/src/app_templates.rs · 289 lines · 13 fnsapp_templates.rscrates/cre8-app-editor/src/assets/app_editor.js · 473 lines · 26 fnsapp_editor.jscrates/cre8-app-editor/src/assets/app_workspace.js · 69 lines · 2 fnsapp_works…crates/cre8-app-editor/src/assets/editor_analysis.js · 153 lines · 22 fnseditor_analysi…crates/cre8-app-editor/src/assets/editor_browser_fixture.cjs · 98 lines · 9 fnseditor_brow…crates/cre8-app-editor/src/assets/editor_build.js · 201 lines · 23 fnseditor_build.…crates/cre8-app-editor/src/assets/editor_conflicts.js · 92 lines · 7 fnseditor_conf…crates/cre8-app-editor/src/assets/editor_external_changes.js · 313 lines · 31 fnseditor_external_ch…crates/cre8-app-editor/src/assets/editor_file_contract.js · 103 lines · 8 fnseditor_fi…crates/cre8-app-editor/src/assets/editor_find.js · 150 lines · 13 fnseditor_find.jscrates/cre8-app-editor/src/assets/editor_fixture_markup.cjs · 18 lines · 4 fnscrates/cre8-app-editor/src/assets/editor_gateway_analysis_probe.cjs · 71 lines · 6 fnseditor_g…crates/cre8-app-editor/src/assets/editor_gateway_workspace_probe.cjs · 186 lines · 18 fnseditor_gatew…crates/cre8-app-editor/src/assets/editor_history.js · 209 lines · 30 fnseditor_histor…crates/cre8-app-editor/src/assets/editor_history_panel.js · 115 lines · 7 fnseditor_his…crates/cre8-app-editor/src/assets/editor_merge.js · 110 lines · 11 fnseditor_mer…crates/cre8-app-editor/src/assets/editor_recovery.js · 201 lines · 27 fnseditor_recove…crates/cre8-app-editor/src/assets/editor_search.js · 85 lines · 11 fnseditor_se…crates/cre8-app-editor/src/assets/editor_syntax.js · 63 lines · 3 fnsedito…crates/cre8-app-editor/src/assets/editor_workspace.js · 1,215 lines · 131 fnseditor_workspace.jscrates/cre8-app-editor/src/connection.rs · 265 lines · 15 fnsconnection.rscrates/cre8-app-editor/src/filesystem.rs · 741 lines · 54 fnsfilesystem.rscrates/cre8-app-editor/src/filesystem/approved.rs · 304 lines · 20 fnsapproved.rscrates/cre8-app-editor/src/filesystem/search.rs · 194 lines · 4 fnssearch.rscrates/cre8-app-editor/src/lib.rs · 13 lines · 0 fnscrates/cre8-app-editor/src/view_app_editor.rs · 73 lines · 5 fnsview_app…crates/cre8-app-editor/src/view_app_editor_preview.rs · 136 lines · 6 fnsview_app_e…crates/cre8-app-editor/src/view_app_workspace.rs · 509 lines · 28 fnsview_app_workspace.rscrates/cre8-app-editor/src/view_templates.rs · 725 lines · 38 fnsview_templates.rscrates/cre8-app-editor/src/view_vm.rs · 423 lines · 25 fnsview_vm.rscrates/cre8-app-editor/src/view_vm/boot_page.rs · 105 lines · 2 fnsboot_page…crates/cre8-app-editor/src/view_vm/executors_page.rs · 182 lines · 3 fnsexecutors_pa…crates/cre8-app-editor/src/view_vm/index_page.rs · 81 lines · 2 fnsindex_pa…crates/cre8-app-editor/src/view_vm/inspect_page.rs · 158 lines · 2 fnsinspect_page.rscrates/cre8-app-editor/src/view_vm/proof_page.rs · 90 lines · 2 fnsproof_page.…

File call graph

Resolved calls between this crate's files, callers left of callees.

1 calls1 calls3 calls3 calls4 calls2 calls1 calls1 calls2 calls3 calls1 calls1 calls1 calls1 calls1 calls1 calls5 calls1 calls6 calls16 calls4 calls1 calls4 calls3 calls6 calls2 calls1 calls4 calls4 calls3 calls4 calls5 calls2 calls2 callsfilesystem.rsfilesystemcrates/cre8-app-editor/src/filesystem.rs · 47 call sites in/outview_vm.rsview_vmcrates/cre8-app-editor/src/view_vm.rs · 25 call sites in/outapproved.rsfilesystem::approvedcrates/cre8-app-editor/src/filesystem/approved.rs · 23 call sites in/outapp_editor.rsapp_editorcrates/cre8-app-editor/src/app_editor.rs · 19 call sites in/outview_app_workspace.rsview_app_workspacecrates/cre8-app-editor/src/view_app_workspace.rs · 15 call sites in/outapp_templates.rsapp_templatescrates/cre8-app-editor/src/app_templates.rs · 10 call sites in/outconnection.rsconnectioncrates/cre8-app-editor/src/connection.rs · 7 call sites in/outapp_editor_model.rsapp_editor_modelcrates/cre8-app-editor/src/app_editor_model.rs · 6 call sites in/outexecutors_page.rsview_vm::executors_pagecrates/cre8-app-editor/src/view_vm/executors_page.rs · 6 call sites in/outinspect_page.rsview_vm::inspect_pagecrates/cre8-app-editor/src/view_vm/inspect_page.rs · 6 call sites in/outsearch.rsfilesystem::searchcrates/cre8-app-editor/src/filesystem/search.rs · 5 call sites in/outproof_page.rsview_vm::proof_pagecrates/cre8-app-editor/src/view_vm/proof_page.rs · 5 call sites in/outeditor_build.jssrc::assets::editor_buildcrates/cre8-app-editor/src/assets/editor_build.js · 4 call sites in/outboot_page.rsview_vm::boot_pagecrates/cre8-app-editor/src/view_vm/boot_page.rs · 4 call sites in/outview_templates.rsview_templatescrates/cre8-app-editor/src/view_templates.rs · 3 call sites in/outindex_page.rsview_vm::index_pagecrates/cre8-app-editor/src/view_vm/index_page.rs · 3 call sites in/outapp.rsappcrates/cre8-app-editor/src/app.rs · 2 call sites in/outapp_template_bindings.rsapp_template_bindingscrates/cre8-app-editor/src/app_template_bindings.rs · 2 call sites in/outeditor_workspace.jssrc::assets::editor_workspacecrates/cre8-app-editor/src/assets/editor_workspace.js · 2 call sites in/outview_app_editor_preview.rsview_app_editor_previewcrates/cre8-app-editor/src/view_app_editor_preview.rs · 2 call sites in/outeditor_browser_fixture.cjssrc::assets::editor_browser_fix…crates/cre8-app-editor/src/assets/editor_browser_fixture.cjs · 1 call sites in/outeditor_gateway_analysis_pro…src::assets::editor_gateway_ana…crates/cre8-app-editor/src/assets/editor_gateway_analysis_probe.cjs · 1 call sites in/outeditor_gateway_workspace_pr…src::assets::editor_gateway_wor…crates/cre8-app-editor/src/assets/editor_gateway_workspace_probe.cjs · 1 call sites in/outeditor_search.jssrc::assets::editor_searchcrates/cre8-app-editor/src/assets/editor_search.js · 1 call sites in/out

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 646 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
getsrc/assets/editor_workspace.js:6fn1142013.8
currentsrc/assets/editor_workspace.js:20fn112305.6
livesrc/assets/editor_workspace.js:5fn121505.2
getsrc/assets/app_editor.js:6fn111505.1
snapshotsrc/assets/editor_analysis.js:15nested fn11914.2
ApprovedWorkspace::opensrc/filesystem/approved.rs:16method63804.2
dirtysrc/assets/editor_workspace.js:38fn111604.1
messagesrc/assets/editor_workspace.js:44fn621523.6
digestsrc/assets/editor_build.js:4fn11623.3
getsrc/assets/editor_search.js:35nested fn11603.1
ProbeFailure::constructorsrc/assets/editor_gateway_workspace_probe.cjs:21method71603
recordsrc/assets/editor_gateway_workspace_probe.cjs:31fn13502.9
display_pathsrc/filesystem.rs:580fn31502.8
resolve_workspace_rootsrc/filesystem.rs:344fn236442.8
fixturesrc/filesystem/approved.rs:190fn81922.7
validate_idsrc/app_editor_model.rs:215fn95402.7
recordsrc/assets/editor_workspace.js:50fn13102.6
connectionPayloadsrc/assets/editor_workspace.js:51fn117112.5
getsrc/assets/editor_build.js:7nested fn111102.5
updateStatesrc/assets/editor_workspace.js:93fn28171262.5
samplesrc/app_editor_model.rs:243fn121502.4
callsrc/assets/editor_workspace.js:62fn2091212.4
registered_workspacessrc/filesystem.rs:18fn52212.3
read_workspace_filesrc/filesystem.rs:151fn131852.3
reportsrc/assets/editor_history.js:46nested fn11902.3
runReadsrc/assets/editor_external_changes.js:234nested fn73342102.3
canonical_workspace_rootsrc/filesystem.rs:165fn31812.1
recordsrc/assets/app_editor.js:9fn13502.1
atomic_write_expectedsrc/filesystem.rs:270fn298532
render_file_tree_entrysrc/view_templates.rs:241fn162232
goToPositionsrc/assets/editor_workspace.js:586fn1510451.9
historyScopeLivesrc/assets/editor_workspace.js:1001fn57811.9
openAtsrc/assets/editor_workspace.js:557fn76241.9
visitsrc/app_template_bindings.rs:49nested fn307101.9
ApprovedWorkspace::rootsrc/filesystem/approved.rs:23method11301.9
publicStatesrc/assets/editor_external_changes.js:111nested fn178401.9
activateTabsrc/assets/editor_workspace.js:307fn135731.9
syncScrollsrc/assets/editor_find.js:37nested fn41201.8
ApprovedWorkspace::filesrc/filesystem/approved.rs:25method2213401.8
snapshot_workspace_treesrc/filesystem.rs:127fn231541.8

Outside the workspace

anyhow cre8-vm serde serde_json tempfile