Coverage report:
64%
hide covered
Files
Functions
Classes
coverage.py v7.6.4
, created at 2024-10-27 15:37 +0100
File
function
statements
missing
excluded
branches
partial
coverage
rust2rpm/__init__.py
(no function)
4
0
0
0
0
100%
rust2rpm/cfg.py
_call
1
0
0
0
0
100%
rust2rpm/cfg.py
cfg_grammar
9
0
0
0
0
100%
rust2rpm/cfg.py
evaluate_predicate
17
0
3
14
0
100%
rust2rpm/cfg.py
evaluate_atom
10
0
0
6
0
100%
rust2rpm/cfg.py
evaluate
16
0
2
12
0
100%
rust2rpm/cfg.py
parse_and_evaluate
2
0
0
0
0
100%
rust2rpm/cfg.py
(no function)
17
0
0
0
0
100%
rust2rpm/conf.py
to_list
1
0
0
0
0
100%
rust2rpm/conf.py
IniConf.__init__
10
0
0
0
0
100%
rust2rpm/conf.py
IniConf.__eq__
2
0
1
0
0
100%
rust2rpm/conf.py
IniConf.load
56
9
8
56
15
79%
rust2rpm/conf.py
conf_comments_to_spec_comments
6
0
0
4
0
100%
rust2rpm/conf.py
Source.__init__
1
1
0
0
0
0%
rust2rpm/conf.py
Source.file
1
1
0
0
0
0%
rust2rpm/conf.py
Source.number
1
1
0
0
0
0%
rust2rpm/conf.py
Source.comments
1
1
0
0
0
0%
rust2rpm/conf.py
Source.comment_lines
1
1
0
0
0
0%
rust2rpm/conf.py
Source.whitespace
1
1
0
0
0
0%
rust2rpm/conf.py
Patch.__init__
1
1
0
0
0
0%
rust2rpm/conf.py
Patch.file
1
1
0
0
0
0%
rust2rpm/conf.py
Patch.number
1
1
0
0
0
0%
rust2rpm/conf.py
Patch.comments
1
1
0
0
0
0%
rust2rpm/conf.py
Patch.comment_lines
1
1
0
0
0
0%
rust2rpm/conf.py
Patch.whitespace
1
1
0
0
0
0%
rust2rpm/conf.py
TomlConf.__init__
1
0
0
0
0
100%
rust2rpm/conf.py
TomlConf.__repr__
1
1
0
0
0
0%
rust2rpm/conf.py
TomlConf.__eq__
2
0
1
0
0
100%
rust2rpm/conf.py
TomlConf._package
1
0
0
0
0
100%
rust2rpm/conf.py
TomlConf.package_summary
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_description
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_url
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_source_url
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_supported_arches
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_bin_package_name
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_cargo_install_bin
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_cargo_install_lib
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_debuginfo_level
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_cargo_toml_patch_comments
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_cargo_toml_patch_comment_lines
1
0
0
0
0
100%
rust2rpm/conf.py
TomlConf.package_extra_sources
5
3
0
4
1
33%
rust2rpm/conf.py
TomlConf.package_extra_patches
5
3
0
4
1
33%
rust2rpm/conf.py
TomlConf.package_extra_files
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.package_bin_renames
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf._scripts
1
0
0
0
0
100%
rust2rpm/conf.py
TomlConf._scripts_prep
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.scripts_prep_pre
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.scripts_prep_post
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf._scripts_build
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.scripts_build_pre
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.scripts_build_post
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf._scripts_install
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.scripts_install_pre
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.scripts_install_post
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf._scripts_check
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.scripts_check_pre
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf.scripts_check_post
3
1
0
2
1
60%
rust2rpm/conf.py
TomlConf._tests
1
0
0
0
0
100%
rust2rpm/conf.py
TomlConf.tests_run
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.tests_skip
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.tests_skip_exact
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.tests_comments
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.tests_comment_lines
1
0
0
0
0
100%
rust2rpm/conf.py
TomlConf._features
1
0
0
0
0
100%
rust2rpm/conf.py
TomlConf.features_enable_all
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.features_enable
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.features_disable_default
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.features_hide
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf._requires
1
0
0
0
0
100%
rust2rpm/conf.py
TomlConf.requires_build
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.requires_test
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.requires_lib
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.requires_bin
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.requires_features
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.load
31
7
0
36
7
76%
rust2rpm/conf.py
TomlConf.from_conf
35
5
0
30
5
85%
rust2rpm/conf.py
TomlConf.to_bcond_check
3
0
0
2
0
100%
rust2rpm/conf.py
TomlConf.to_feature_flags
1
0
0
0
0
100%
rust2rpm/conf.py
TomlConf.to_cargo_test_args
19
1
0
16
1
94%
rust2rpm/conf.py
load_config
40
40
0
10
0
0%
rust2rpm/conf.py
(no function)
147
0
0
0
0
100%
rust2rpm/crate.py
local_toml_file
6
6
0
0
0
0%
rust2rpm/crate.py
local_cargo_dir
5
5
0
0
0
0%
rust2rpm/crate.py
parse_crate_file_name
2
2
0
0
0
0%
rust2rpm/crate.py
files_from_crate
14
14
0
6
0
0%
rust2rpm/crate.py
get_license_files
8
8
0
6
0
0%
rust2rpm/crate.py
get_doc_files
10
10
0
8
0
0%
rust2rpm/crate.py
project_is_path
1
1
0
0
0
0%
rust2rpm/crate.py
guess_local_project_version_from_dir
7
0
0
0
0
100%
rust2rpm/crate.py
guess_local_project_version_from_path
7
7
0
4
0
0%
rust2rpm/crate.py
toml_temp_copy
5
5
0
0
0
0%
rust2rpm/crate.py
process_project_local
25
25
0
8
0
0%
rust2rpm/crate.py
resolve_version
20
20
0
2
0
0%
rust2rpm/crate.py
process_project
34
34
0
18
0
0%
rust2rpm/crate.py
(no function)
37
0
0
0
0
100%
rust2rpm/cratesio.py
query_available_versions
8
8
0
2
0
0%
rust2rpm/cratesio.py
query_newest_version
17
17
0
4
0
0%
rust2rpm/cratesio.py
query_newest_version.is_stable
1
1
0
0
0
0%
rust2rpm/cratesio.py
query_newest_version.is_not_yanked
1
1
0
0
0
0%
rust2rpm/cratesio.py
query_newest_version.is_not_yanked_and_stable
1
1
0
0
0
0%
rust2rpm/cratesio.py
download_crate
14
14
0
6
0
0%
rust2rpm/cratesio.py
(no function)
17
0
0
0
0
100%
rust2rpm/generator.py
license_is_composite
1
1
0
0
0
0%
rust2rpm/generator.py
min_rust_packaging_dep
10
1
0
8
1
89%
rust2rpm/generator.py
renames_from_bin_name_map
3
1
0
2
1
60%
rust2rpm/generator.py
cargo_args_from_flags
27
0
0
22
0
100%
rust2rpm/generator.py
spec_file_template
2
0
0
0
0
100%
rust2rpm/generator.py
template_args_fedora
13
2
0
4
2
76%
rust2rpm/generator.py
template_args_epel8
11
2
0
4
2
73%
rust2rpm/generator.py
template_args_mageia
12
1
0
2
1
86%
rust2rpm/generator.py
template_args_opensuse
13
1
0
2
1
87%
rust2rpm/generator.py
template_args_plain
11
1
0
2
1
85%
rust2rpm/generator.py
spec_render_crate
87
17
0
42
8
76%
rust2rpm/generator.py
spec_render_epel8
58
16
0
32
10
62%
rust2rpm/generator.py
spec_render_project
57
15
0
28
8
66%
rust2rpm/generator.py
spec_render_workspace
57
17
0
26
6
65%
rust2rpm/generator.py
(no function)
26
0
0
0
0
100%
rust2rpm/licensing.py
translate_slashes
4
1
0
2
1
67%
rust2rpm/licensing.py
spdx_to_fedora_map
3
0
0
0
0
100%
rust2rpm/licensing.py
dump_sdpx_to_fedora_map
2
2
0
2
0
0%
rust2rpm/licensing.py
translate_license_fedora
22
7
0
14
4
69%
rust2rpm/licensing.py
translate_license
4
0
0
2
0
100%
rust2rpm/licensing.py
(no function)
12
0
0
0
0
100%
rust2rpm/log.py
_eprint
1
0
0
0
0
100%
rust2rpm/log.py
_wrap
3
0
0
2
1
80%
rust2rpm/log.py
success
1
1
0
0
0
0%
rust2rpm/log.py
info
1
0
0
0
0
100%
rust2rpm/log.py
warn
1
0
0
0
0
100%
rust2rpm/log.py
error
1
1
0
0
0
0%
rust2rpm/log.py
(no function)
10
0
0
0
0
100%
rust2rpm/metadata.py
get_required_features_for_binaries
9
2
0
10
1
74%
rust2rpm/metadata.py
guess_main_package
22
9
11
18
1
60%
rust2rpm/metadata.py
package_uses_rust_1_60_feature_syntax
10
0
0
12
0
100%
rust2rpm/metadata.py
warn_if_package_uses_restrictive_dependencies
6
6
0
6
0
0%
rust2rpm/metadata.py
_is_strict_dep
7
0
0
6
0
100%
rust2rpm/metadata.py
(no function)
9
0
0
0
0
100%
rust2rpm/patching.py
filter_out_features_re
3
3
0
0
0
0%
rust2rpm/patching.py
file_mtime_in_iso_format
2
2
0
0
0
0%
rust2rpm/patching.py
make_diff_from_lines
1
1
0
0
0
0%
rust2rpm/patching.py
preprocess_cargo_toml
4
2
0
2
1
50%
rust2rpm/patching.py
preprocess_cargo_toml_helper
9
0
0
2
0
100%
rust2rpm/patching.py
preprocess_cargo_toml_fallback
48
48
0
32
0
0%
rust2rpm/patching.py
make_patches
20
20
0
4
0
0%
rust2rpm/patching.py
(no function)
18
0
0
0
0
100%
rust2rpm/templates/opensuse-header.spec.inc
(no function)
0
0
0
0
0
100%
rust2rpm/tests/test_cfg.py
test_pyparsing_run_tests
2
0
0
0
0
100%
rust2rpm/tests/test_cfg.py
test_expressions
2
0
0
0
0
100%
rust2rpm/tests/test_cfg.py
(no function)
5
0
0
0
0
100%
rust2rpm/tests/test_conf.py
test_to_list
1
0
0
0
0
100%
rust2rpm/tests/test_conf.py
test_ini_conf_load
3
0
0
0
0
100%
rust2rpm/tests/test_conf.py
test_toml_conf_load
3
0
0
0
0
100%
rust2rpm/tests/test_conf.py
test_conf_toml_from_ini
4
0
0
0
0
100%
rust2rpm/tests/test_conf.py
test_conf_to_test_comments
3
0
0
0
0
100%
rust2rpm/tests/test_conf.py
test_conf_to_cargo_test_args
3
0
0
0
0
100%
rust2rpm/tests/test_conf.py
(no function)
15
0
0
0
0
100%
rust2rpm/tests/test_crate.py
test_guess_local_project_version_from_dir
2
0
0
0
0
100%
rust2rpm/tests/test_crate.py
test_guess_local_project_version_from_dir_fail
3
0
0
0
0
100%
rust2rpm/tests/test_crate.py
(no function)
6
0
0
0
0
100%
rust2rpm/tests/test_generator.py
test_spec_file_render_crate
19
0
2
4
0
100%
rust2rpm/tests/test_generator.py
test_spec_file_render_epel8
15
1
2
2
1
88%
rust2rpm/tests/test_generator.py
test_spec_file_render_project
14
0
2
2
0
100%
rust2rpm/tests/test_generator.py
test_spec_file_render_workspace
14
0
2
2
0
100%
rust2rpm/tests/test_generator.py
test_drop_foreign_dependencies
8
0
2
0
0
100%
rust2rpm/tests/test_generator.py
test_cargo_args_from_flags
1
0
0
0
0
100%
rust2rpm/tests/test_generator.py
(no function)
29
0
0
0
0
100%
rust2rpm/tests/test_metadata.py
test_package_uses_rust_1_60_feature_syntax
1
0
0
0
0
100%
rust2rpm/tests/test_metadata.py
test_is_strict_dep
1
0
0
0
0
100%
rust2rpm/tests/test_metadata.py
(no function)
7
0
0
0
0
100%
rust2rpm/tests/test_utils.py
test_package_name_suffixed
1
0
0
0
0
100%
rust2rpm/tests/test_utils.py
test_package_name_compat
1
0
0
0
0
100%
rust2rpm/tests/test_utils.py
(no function)
6
0
0
0
0
100%
rust2rpm/utils.py
remove_on_error
5
5
0
0
0
0%
rust2rpm/utils.py
exit_on_common_errors
9
9
0
0
0
0%
rust2rpm/utils.py
detect_editor
12
12
0
8
0
0%
rust2rpm/utils.py
detect_packager
11
11
0
8
0
0%
rust2rpm/utils.py
guess_crate_name
26
26
0
16
0
0%
rust2rpm/utils.py
package_name_suffixed
2
0
0
0
0
100%
rust2rpm/utils.py
package_name_compat
7
0
0
4
0
100%
rust2rpm/utils.py
detect_rpmautospec
8
8
0
2
0
0%
rust2rpm/utils.py
(no function)
24
0
0
0
0
100%
rust2rpm/vendor.py
generate_vendor_tarball
16
16
0
4
0
0%
rust2rpm/vendor.py
(no function)
6
0
0
0
0
100%
Total
1727
552
36
672
105
64%
No items found using the specified filter.