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-app-compute/src/pypi_provider.rs
Items
struct PypiProvider impl PypiProvider impl RegistryProvider for PypiProvider impl PackageProvider for PypiProvider struct PypiPackageContent
Functions
By call-graph weight (PageRank; 1.0 is the average function). 40 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| parse_pypi_specifiersrc/pypi_provider.rs:170 | fn | 3 | 1 | 8 | 1 | 3.5 | |
| PypiProvider::newsrc/pypi_provider.rs:32 | method | 3 | 1 | 6 | 0 | 3 | |
| extract_pypi_wheel_packagesrc/pypi_provider.rs:281 | fn | 97 | 31 | 3 | 2 | 2.2 | |
| extract_pypi_sdist_packagesrc/pypi_provider.rs:212 | fn | 68 | 22 | 2 | 4 | 2.1 | |
| extract_init_from_tarballsrc/pypi_provider.rs:379 | fn | 3 | 1 | 3 | 1 | 1.8 | |
| extract_init_from_wheelsrc/pypi_provider.rs:383 | fn | 3 | 1 | 2 | 1 | 1.3 | |
| is_pypi_tarball_init_entrysrc/pypi_provider.rs:197 | fn | 3 | 2 | 1 | 0 | 1 | |
| is_pypi_tarball_single_file_entrysrc/pypi_provider.rs:201 | fn | 3 | 2 | 1 | 0 | 1 | |
| read_limited_tar_entrysrc/pypi_provider.rs:205 | fn | 6 | 2 | 1 | 3 | 1 | |
| PypiProvider::with_registrysrc/pypi_provider.rs:37 | method | 3 | 1 | 1 | 0 | 0.9 | |
| download_bytessrc/pypi_provider.rs:177 | fn | 11 | 1 | 1 | 3 | 0.7 | |
| fetch_pypi_metadatasrc/pypi_provider.rs:90 | fn | 15 | 2 | 1 | 3 | 0.6 | |
| extract_pypi_sourcesrc/pypi_provider.rs:113 | fn | 22 | 3 | 1 | 3 | 0.6 | |
| pypi_resolved_packagesrc/pypi_provider.rs:136 | fn | 23 | 1 | 1 | 0 | 0.6 | |
| PypiProvider::registry_urlsrc/pypi_provider.rs:43 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| PypiProvider::namesrc/pypi_provider.rs:49 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| PypiProvider::resolvesrc/pypi_provider.rs:53 | trait impl | 30 | 3 | 0 | 6 | 0.5 | |
| PypiProvider::listsrc/pypi_provider.rs:84 | trait impl | 4 | 1 | 0 | 1 | 0.5 | |
| find_wheel_init_sourcesrc/pypi_provider.rs:387 | fn | 18 | 4 | 0 | 3 | 0.5 | |
| find_wheel_single_file_sourcesrc/pypi_provider.rs:406 | fn | 17 | 3 | 0 | 3 | 0.5 | |
| find_wheel_native_extension_sourcesrc/pypi_provider.rs:424 | fn | 42 | 5 | 0 | 3 | 0.5 | |
| test_parse_pypi_specifier_bare_namesrc/pypi_provider.rs:476 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| test_parse_pypi_specifier_pip_prefixsrc/pypi_provider.rs:483 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| test_parse_pypi_specifier_pypi_prefixsrc/pypi_provider.rs:490 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| test_parse_pypi_specifier_pip_with_versionsrc/pypi_provider.rs:497 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| test_parse_pypi_specifier_pypi_with_versionsrc/pypi_provider.rs:504 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| test_parse_pypi_specifier_bare_with_versionsrc/pypi_provider.rs:511 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| test_parse_pypi_specifier_emptysrc/pypi_provider.rs:518 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| test_pypi_provider_namesrc/pypi_provider.rs:527 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| test_pypi_resolve_empty_specifiersrc/pypi_provider.rs:535 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| test_pypi_resolve_unknownsrc/pypi_provider.rs:543 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| test_pypi_provider_list_empty_cachesrc/pypi_provider.rs:552 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| test_pypi_provider_custom_registrysrc/pypi_provider.rs:559 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| test_extract_init_from_tarballsrc/pypi_provider.rs:567 | fn | 25 | 1 | 0 | 1 | 0.5 | |
| test_extract_single_file_module_from_tarballsrc/pypi_provider.rs:594 | fn | 24 | 1 | 0 | 1 | 0.5 | |
| test_extract_tarball_not_foundsrc/pypi_provider.rs:620 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| test_extract_init_from_wheelsrc/pypi_provider.rs:639 | fn | 17 | 1 | 0 | 1 | 0.5 | |
| test_extract_wheel_not_foundsrc/pypi_provider.rs:658 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| test_extract_wheel_files_and_dependenciessrc/pypi_provider.rs:673 | fn | 22 | 1 | 0 | 1 | 0.5 | |
| test_pypi_resolve_real_packagesrc/pypi_provider.rs:703 | fn | 12 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.