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-insurance insurance cargo crate

InsuranceApp — evidence-native mutual risk pools with reserve-backed policies, parametric claims, durable expiry, and Court escalation.

crates/cre8-app-insurance · level 11 · 1,624 lines (1,518 code) · 5 files · 89 fns (9 tests) · cyclomatic Σ 142

7workspace deps
1direct dependents
8transitive dependents
78calls out
0calls in
72.6call-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 · 10 calls · source referencenormal dep · 23 calls · source referencenormal dep · 11 calls · source referencenormal dep · 0 calls · source referencenormal dep · 31 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 0 calls · source referencedev dep · 3 calls · source referencenormal dep · 0 calls · source referenceapp-insuranceL11 · 1,518 linescre8-app-insuranceapp-manifoldL10 · 18,941 linescre8-app-manifoldapp-protocolL9 · 26,097 linescre8-app-protocolplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-hostL1 · 1,649 linescre8-runtime-hostapp-truthL7 · 20,485 linescre8-app-truthruntime-app-catalogL28 · 681 linescre8-runtime-app-catalog

Files

lowhigh

File call graph

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

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
target_poolsrc/contract.rs:127fn31304.1
parsesrc/connection.rs:583fn311203
list_recordssrc/model.rs:317fn81322.5
target_policysrc/contract.rs:130fn31312
require_nonemptysrc/model.rs:326fn32301.9
target_claimsrc/contract.rs:133fn31211.7
load_recordsrc/model.rs:309fn71311.6
pool_vidsrc/model.rs:282fn31301.5
insurance_contractssrc/contract.rs:20fn101561.4
connectsrc/connection.rs:169fn121301.2
policy_vidsrc/model.rs:285fn31301.2
upsert_recordsrc/model.rs:292fn162311.2
requiredsrc/connection.rs:517fn31901.1
claim_vidsrc/model.rs:288fn31201
load_poolsrc/model.rs:226fn31221
load_pool_requiredsrc/connection.rs:508fn31720.9
load_policysrc/model.rs:250fn31220.9
upsert_poolsrc/model.rs:222fn31620.9
load_policy_requiredsrc/connection.rs:511fn31620.9
commit_transitionsrc/connection.rs:523fn233610.9
upsert_policysrc/model.rs:234fn152640.9
load_claimsrc/model.rs:274fn31220.8
list_poolssrc/model.rs:230fn31210.8
list_policiessrc/model.rs:254fn31210.8
list_claimssrc/model.rs:278fn31210.8
RiskPool::newsrc/model.rs:32method181210.8
RiskPool::available_capacitysrc/model.rs:51method31200.8
positivesrc/model.rs:330fn32100.7
create_poolsrc/connection.rs:182fn183180.7
capitalize_poolsrc/connection.rs:201fn202180.7
quote_policysrc/connection.rs:222fn253190.7
pay_premiumsrc/connection.rs:248fn343190.7
bind_policysrc/connection.rs:283fn4451100.7
file_claimsrc/connection.rs:328fn234180.7
decide_claimsrc/connection.rs:352fn5661110.7
dispute_claimsrc/connection.rs:409fn3731100.7
expire_policysrc/connection.rs:447fn294190.7
getsrc/connection.rs:477fn124100.7
listsrc/connection.rs:490fn51140.7
statussrc/connection.rs:496fn111140.7

Outside the workspace

anyhow hyperdb serde serde_json