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-code-graph/src/lang/mod.rs
Items
enum Language impl Language const SKIP_SUFFIXES const BINARY_EXTENSIONS enum ByName struct FileContext
Functions
By call-graph weight (PageRank; 1.0 is the average function). 15 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| by_namesrc/lang/mod.rs:92 | fn | 16 | 9 | 2 | 0 | 1.8 | |
| crystals_for_sourcesrc/lang/mod.rs:178 | fn | 11 | 2 | 1 | 2 | 1.1 | |
| may_detectsrc/lang/mod.rs:81 | fn | 3 | 1 | 2 | 1 | 1 | |
| detectsrc/lang/mod.rs:71 | fn | 7 | 3 | 3 | 2 | 1 | |
| is_elfsrc/lang/mod.rs:109 | fn | 5 | 2 | 1 | 0 | 0.9 | |
| scansrc/lang/mod.rs:127 | fn | 18 | 7 | 1 | 4 | 0.7 | |
| crystalssrc/lang/mod.rs:162 | fn | 14 | 3 | 1 | 1 | 0.7 | |
| Language::from_idsrc/lang/mod.rs:46 | method | 10 | 6 | 1 | 0 | 0.7 | |
| scan_binarysrc/lang/mod.rs:147 | fn | 3 | 1 | 1 | 1 | 0.7 | |
| Language::idsrc/lang/mod.rs:36 | method | 9 | 5 | 0 | 0 | 0.5 | |
| Language::is_textsrc/lang/mod.rs:58 | method | 3 | 1 | 0 | 0 | 0.5 | |
| scan_binarysrc/lang/mod.rs:152 | fn | 7 | 1 | 0 | 0 | 0.5 | |
| crystals_for_sourcesrc/lang/mod.rs:191 | fn | 8 | 1 | 0 | 0 | 0.5 | |
| detects_by_extension_and_skips_generated_outputsrc/lang/mod.rs:205 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| may_detect_covers_everything_detect_can_claim_without_opening_itsrc/lang/mod.rs:216 | fn | 8 | 3 | 0 | 1 | 0.5 |
Source not readable from this process.