1 viewer
rust 1,854,395 · typescript 233,161 · javascript 131,995 · python 19,227 · 6,379 files · digest 17dcda71e44b · built in 1.5 s · crystals off
crates/cre8-code-graph/src/search.rs
Items
enum DocKind impl DocKind struct DocRef struct Doc struct SearchIndex struct Query struct Hit struct SearchResult impl SearchIndex
Functions
By call-graph weight (PageRank; 1.0 is the average function). 12 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| push_termsrc/search.rs:123 | fn | 5 | 2 | 1 | 0 | 2.4 | |
| tokenizesrc/search.rs:100 | fn | 22 | 9 | 3 | 1 | 2.3 | |
| DocKind::parsesrc/search.rs:37 | method | 9 | 5 | 1 | 0 | 1.2 | |
| SearchIndex::buildsrc/search.rs:130 | method | 81 | 16 | 2 | 1 | 1.1 | |
| SearchIndex::parse_querysrc/search.rs:226 | method | 15 | 4 | 3 | 1 | 0.8 | |
| SearchIndex::doc_countsrc/search.rs:212 | method | 3 | 1 | 1 | 0 | 0.5 | |
| DocKind::labelsrc/search.rs:28 | method | 8 | 4 | 0 | 0 | 0.5 | |
| SearchIndex::term_countsrc/search.rs:217 | method | 3 | 1 | 0 | 0 | 0.5 | |
| SearchIndex::distinct_termssrc/search.rs:221 | method | 3 | 1 | 0 | 0 | 0.5 | |
| SearchIndex::searchsrc/search.rs:242 | method | 69 | 18 | 0 | 1 | 0.5 | |
| tokenizes_snake_camel_and_pathssrc/search.rs:319 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| prefix_terms_intersect_and_rank_names_firstsrc/search.rs:326 | fn | 18 | 2 | 0 | 2 | 0.5 |
Source not readable from this process.