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

TaxApp: a small business's books, tax calendar and worksheets. Entries in integer minor units, categories mapped to federal lines by one data file, obligations and rates read from dated data files that name their agency source. Worksheets, not tax advice.

crates/cre8-app-tax · level 10 · 7,945 lines (6,678 code) · 20 files · 358 fns (134 tests) · cyclomatic Σ 857

9workspace deps
1direct dependents
8transitive dependents
170calls out
0calls in
334call-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 · 12 calls · source referencenormal dep · 80 calls · source referencenormal dep · 13 calls · source referencenormal dep · 17 calls · source referencenormal dep · 11 calls · source referencenormal dep · 0 calls · source referencenormal dep · 12 calls · source referencenormal dep · 0 calls · source referencenormal dep · 25 calls · source referencenormal dep · 0 calls · source referenceapp-taxL10 · 6,678 linescre8-app-taxapp-protocolL9 · 26,097 linescre8-app-protocolapp-view-libL8 · 89,193 linescre8-app-view-libplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-dispatch-apiL7 · 496 linescre8-runtime-dispatch-apiruntime-hostL1 · 1,649 linescre8-runtime-hostutil-graph-vertexL0 · 173 linescre8-util-graph-vertexruntime-app-catalogL28 · 681 linescre8-runtime-app-catalog

Files

lowhigh

File call graph

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

1 calls2 calls1 calls6 calls2 calls2 calls13 calls46 calls1 calls2 calls1 calls13 calls75 calls1 calls2 calls2 calls10 calls1 calls1 calls5 calls6 calls7 calls1 calls2 calls16 calls3 calls3 calls2 calls1 calls8 calls4 calls19 calls1 calls2 calls7 calls4 calls5 calls9 calls32 calls4 calls3 calls3 calls22 calls5 calls1 calls4 calls14 calls7 calls21 calls5 calls1 calls1 calls4 calls1 calls5 calls7 calls2 calls1 calls1 calls2 calls1 calls3 calls27 calls3 calls3 calls15 calls6 calls3 callsmod.rsconnectioncrates/cre8-app-tax/src/connection/mod.rs · 151 call sites in/outview_templates.rsview_templatescrates/cre8-app-tax/src/view_templates.rs · 131 call sites in/outmodel.rsmodelcrates/cre8-app-tax/src/model.rs · 103 call sites in/outtests.rsconnection::testscrates/cre8-app-tax/src/connection/tests.rs · 89 call sites in/outdate.rsdatecrates/cre8-app-tax/src/date.rs · 76 call sites in/outview_dashboard.rsview_dashboardcrates/cre8-app-tax/src/view_dashboard.rs · 65 call sites in/outview_calendar.rsview_calendarcrates/cre8-app-tax/src/view_calendar.rs · 59 call sites in/outview_estimate.rsview_estimatecrates/cre8-app-tax/src/view_estimate.rs · 52 call sites in/outworksheet.rsworksheetcrates/cre8-app-tax/src/worksheet.rs · 43 call sites in/outview_books.rsview_bookscrates/cre8-app-tax/src/view_books.rs · 38 call sites in/outview_year.rsview_yearcrates/cre8-app-tax/src/view_year.rs · 37 call sites in/outrules.rsrulescrates/cre8-app-tax/src/rules.rs · 32 call sites in/outimports.rsconnection::importscrates/cre8-app-tax/src/connection/imports.rs · 27 call sites in/outpermits.rspermitscrates/cre8-app-tax/src/permits.rs · 20 call sites in/outview_profile.rsview_profilecrates/cre8-app-tax/src/view_profile.rs · 19 call sites in/outcsv.rscsvcrates/cre8-app-tax/src/csv.rs · 17 call sites in/outreminders.rsreminderscrates/cre8-app-tax/src/reminders.rs · 17 call sites in/outcategory.rscategorycrates/cre8-app-tax/src/category.rs · 11 call sites in/outapp.rsappcrates/cre8-app-tax/src/app.rs · 1 call sites in/out

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
Date::newsrc/date.rs:43method6221110.6
days_in_monthsrc/date.rs:29fn852110.4
is_leapsrc/date.rs:25fn33109.4
TaxProfile::newsrc/model.rs:223method221806.2
Date::parsesrc/date.rs:51method1531215.5
bookssrc/view_dashboard.rs:271fn1612934.8
Date::to_dayssrc/date.rs:68method92704.6
tablesrc/category.rs:82fn1511004.2
TaxYear::newsrc/date.rs:164method51933.9
tree_textsrc/view_templates.rs:192fn312903.8
Date::from_dayssrc/date.rs:78method122303.2
entrysrc/worksheet.rs:738fn2311103.1
parse_importsrc/csv.rs:171fn225832.8
MoneyEntry::parsed_datesrc/model.rs:352method31212.7
format_minorsrc/model.rs:586fn135702.7
str_fieldsrc/connection/mod.rs:103fn73902.4
Date::plus_dayssrc/date.rs:109method31522.3
figuressrc/worksheet.rs:108fn41602.3
self_employmentsrc/worksheet.rs:365fn283832.2
PlanLeft::unavailablesrc/view_dashboard.rs:59method131302.2
parse_amountsrc/model.rs:535fn2910302.2
owner_ofsrc/connection/mod.rs:139fn2241642.1
rule_filesrc/rules.rs:103fn71302
Date::weekdaysrc/date.rs:101method31411.9
Date::from_unix_mssrc/date.rs:91method31811.9
profile_or_defaultsrc/connection/mod.rs:171fn721131.9
in_rangesrc/worksheet.rs:150fn32511.9
Figures::yearsrc/worksheet.rs:99method31501.9
calendar_for_yearsrc/rules.rs:217fn468851.8
World::newsrc/connection/tests.rs:33method1511531.8
Obligation::duesrc/rules.rs:138method31611.7
Date::first_of_month_plussrc/date.rs:124method41301.7
parse_recordssrc/csv.rs:22fn3613201.7
longest_digit_runsrc/model.rs:441fn167201.7
interpret_permit_listsrc/permits.rs:71fn467651.6
scalesrc/worksheet.rs:114fn51501.6
estimate_treesrc/view_estimate.rs:145fn150128221.6
World::as_accountsrc/connection/tests.rs:50method311411.6
money_labelsrc/model.rs:601fn83911.5
i64_fieldsrc/connection/mod.rs:125fn73601.5

Outside the workspace

anyhow hyperdb serde serde_json