Coverage report: 89%

Files Functions Classes

coverage.py v7.6.7, created at 2024-11-26 23:44 +0100

File function statements missing excluded branches partial coverage
rust2rpm/__init__.py (no function) 1 0 0 0 0 100%
rust2rpm/__main__.py validate_extra_sources 12 2 0 10 2 82%
rust2rpm/__main__.py validate_extra_patches 19 8 0 16 6 60%
rust2rpm/__main__.py load_config 24 12 0 18 3 50%
rust2rpm/__main__.py load_project 21 3 7 6 0 89%
rust2rpm/__main__.py use_rpmautospec 1 0 0 0 0 100%
rust2rpm/__main__.py existence_check 0 0 18 0 0 100%
rust2rpm/__main__.py license_file_check 4 3 0 2 1 33%
rust2rpm/__main__.py handle_crate 34 17 0 10 5 50%
rust2rpm/__main__.py handle_epel8 34 17 0 10 5 50%
rust2rpm/__main__.py handle_local 22 8 0 4 2 62%
rust2rpm/__main__.py handle_workspace 15 6 0 0 0 60%
rust2rpm/__main__.py print_deprecation_warnings 4 2 0 4 2 50%
rust2rpm/__main__.py print_migration_errors 3 2 0 2 1 40%
rust2rpm/__main__.py main 31 2 3 16 2 91%
rust2rpm/__main__.py (no function) 28 0 6 0 0 100%
rust2rpm/cli.py get_parser 21 0 0 0 0 100%
rust2rpm/cli.py CliArgs.parse 9 0 0 0 0 100%
rust2rpm/cli.py CliArgs.name 6 0 0 4 0 100%
rust2rpm/cli.py CliArgs.version 6 0 0 4 0 100%
rust2rpm/cli.py (no function) 64 0 0 0 0 100%
rust2rpm/conf/__init__.py (no function) 4 0 0 0 0 100%
rust2rpm/conf/common.py (no function) 1 0 0 0 0 100%
rust2rpm/conf/ini.py to_list 2 0 0 0 0 100%
rust2rpm/conf/ini.py _validate_ini_conf_with_features 19 6 0 16 3 74%
rust2rpm/conf/ini.py _validate_ini_conf_without_features 12 2 0 10 1 86%
rust2rpm/conf/ini.py IniConf._from_configparser 23 0 0 10 0 100%
rust2rpm/conf/ini.py IniConf.load 12 2 8 6 1 83%
rust2rpm/conf/ini.py IniConf.upgrade 34 0 0 30 0 100%
rust2rpm/conf/ini.py IniConf.migrate 29 0 3 14 0 100%
rust2rpm/conf/ini.py IniConf.migrate.write_array 5 0 0 2 0 100%
rust2rpm/conf/ini.py load_config_ini 12 7 0 0 0 42%
rust2rpm/conf/ini.py (no function) 40 0 0 0 0 100%
rust2rpm/conf/toml.py conf_comments_to_spec_comments 10 0 0 6 0 100%
rust2rpm/conf/toml.py Source.from_data 1 0 0 0 0 100%
rust2rpm/conf/toml.py Source.comment_lines 1 0 0 0 0 100%
rust2rpm/conf/toml.py Source.whitespace 1 0 0 0 0 100%
rust2rpm/conf/toml.py Patch.from_data 1 0 0 0 0 100%
rust2rpm/conf/toml.py Patch.comment_lines 1 0 0 0 0 100%
rust2rpm/conf/toml.py Patch.whitespace 1 0 0 0 0 100%
rust2rpm/conf/toml.py Package.from_data 10 0 0 8 0 100%
rust2rpm/conf/toml.py Package.cargo_toml_patch_comment_lines 1 0 0 0 0 100%
rust2rpm/conf/toml.py Scripts.from_data 5 0 0 0 0 100%
rust2rpm/conf/toml.py Tests.from_data 22 12 0 22 3 39%
rust2rpm/conf/toml.py Features.from_data 18 0 0 18 0 100%
rust2rpm/conf/toml.py Requires.from_data 7 0 0 6 0 100%
rust2rpm/conf/toml.py TomlConf.from_data 9 0 0 2 0 100%
rust2rpm/conf/toml.py TomlConf.from_str 2 0 0 0 0 100%
rust2rpm/conf/toml.py TomlConf.load 3 0 0 0 0 100%
rust2rpm/conf/toml.py load_config_toml 25 20 0 6 0 16%
rust2rpm/conf/toml.py (no function) 177 0 0 0 0 100%
rust2rpm/cratesio.py query_available_versions 0 0 20 0 0 100%
rust2rpm/cratesio.py query_newest_version 0 0 41 0 0 100%
rust2rpm/cratesio.py query_newest_version.is_stable 0 0 1 0 0 100%
rust2rpm/cratesio.py query_newest_version.is_not_yanked 0 0 1 0 0 100%
rust2rpm/cratesio.py query_newest_version.is_not_yanked_and_stable 0 0 1 0 0 100%
rust2rpm/cratesio.py remove_on_error 0 0 6 0 0 100%
rust2rpm/cratesio.py download_crate 0 0 33 0 0 100%
rust2rpm/cratesio.py (no function) 16 1 9 2 1 89%
rust2rpm/distgit.py get_package_info 0 0 34 0 0 100%
rust2rpm/distgit.py (no function) 3 0 1 0 0 100%
rust2rpm/generator/__init__.py (no function) 6 0 0 0 0 100%
rust2rpm/generator/common.py min_rust_packaging_dep 10 0 0 8 0 100%
rust2rpm/generator/common.py normalize_spdx_expr 5 3 0 2 1 43%
rust2rpm/generator/common.py cargo_args_from_flags 21 0 0 16 0 100%
rust2rpm/generator/common.py make_rpm_summary 8 2 0 8 1 69%
rust2rpm/generator/common.py spec_file_template 2 0 0 0 0 100%
rust2rpm/generator/common.py conf_to_bcond_check 3 0 0 2 0 100%
rust2rpm/generator/common.py conf_to_feature_flags 1 0 0 0 0 100%
rust2rpm/generator/common.py conf_to_bcond_check_comments 4 0 0 2 0 100%
rust2rpm/generator/common.py conf_to_bin_rename_commands 1 0 0 0 0 100%
rust2rpm/generator/common.py format_cargo_test_command 24 0 0 14 0 100%
rust2rpm/generator/common.py conf_to_cargo_test_commands 15 0 0 8 1 96%
rust2rpm/generator/common.py (no function) 21 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters._metadata 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters._package 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters._buildrequires 6 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rust2rpm_version 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rust2rpm_target 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rust_packaging_dep 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.build_rustflags_debuginfo 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_name 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_version 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_summary 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_description 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_license 4 2 0 2 1 50%
rust2rpm/generator/crate.py CrateParameters.rpm_license_comments 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_patch_file_automatic 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_patch_file_manual 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_patch_file_comments 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_license_files 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_doc_files 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_bcond_check 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_bcond_check_comments 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_vendor_source 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_extra_sources 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_extra_patches 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_extra_files 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_exclude_crate_files 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_binary_package 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_cdylib_package 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_library_package 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_binary_package_name 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_binary_names 8 5 0 6 1 29%
rust2rpm/generator/crate.py CrateParameters.crate_features 9 0 0 6 0 100%
rust2rpm/generator/crate.py CrateParameters.cargo_install_lib 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.cargo_install_bin 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_prep_pre 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_prep_post 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_build_pre 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_build_post 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_install_pre 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_install_post 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_check_pre 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_check_post 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.crate_name 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.crate_version 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.crate_license 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_autosetup_args 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.cargo_args 4 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.cargo_prep_args 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.cargo_test_commands 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.conf_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.conf_test_requires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.conf_bin_requires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.conf_lib_requires 10 0 0 6 0 100%
rust2rpm/generator/crate.py CrateParameters.conf_supported_arches 4 1 0 2 1 67%
rust2rpm/generator/crate.py CrateParameters.conf_suppress_cdylib_install_fixme 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.rpm_bin_renames 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.use_relative_license_paths 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParameters.make_changelog_entry 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParametersMageia.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParametersMageia.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParametersOpenSUSE.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParametersOpenSUSE.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParametersPlain.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParametersPlain.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParametersPlain.rpm_requires 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateParametersPlain.rpm_provides 1 0 0 0 0 100%
rust2rpm/generator/crate.py CrateTemplate.render 15 0 3 8 0 100%
rust2rpm/generator/crate.py (no function) 179 0 0 0 0 100%
rust2rpm/generator/epel8.py cargo_args_from_flags 21 0 0 16 0 100%
rust2rpm/generator/epel8.py cargo_test_commands 20 3 0 14 2 85%
rust2rpm/generator/epel8.py CrateParametersEpelEight._metadata 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight._package 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rust2rpm_version 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rust_packaging_dep 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.build_rustflags_debuginfo 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_name 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_version 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_summary 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_description 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_license 4 2 0 2 1 50%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_license_comments 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_patch_file_automatic 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_patch_file_manual 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_patch_file_comments 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_license_files 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_doc_files 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_bcond_check 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_bcond_check_comments 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_vendor_source 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_extra_sources 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_extra_patches 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_extra_files 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_binary_package_name 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_binary_names 8 5 0 6 1 29%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_prep_pre 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_prep_post 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_build_pre 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_build_post 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_install_pre 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_install_post 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_check_pre 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_check_post 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.crate_name 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.crate_license 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.cargo_args 4 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.cargo_test_commands 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.conf_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.conf_test_requires 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.conf_bin_requires 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.conf_supported_arches 4 1 0 2 1 67%
rust2rpm/generator/epel8.py CrateParametersEpelEight.rpm_bin_renames 1 0 0 0 0 100%
rust2rpm/generator/epel8.py CrateParametersEpelEight.make_changelog_entry 1 0 0 0 0 100%
rust2rpm/generator/epel8.py EpelEightTemplate.render 6 0 0 2 1 88%
rust2rpm/generator/epel8.py (no function) 118 0 0 0 0 100%
rust2rpm/generator/meta.py Template.render 0 0 0 0 0 100%
rust2rpm/generator/meta.py parameters_as_dict 1 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.rpm_release 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.rpm_group 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.include_build_requires 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.include_requires 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.include_provides 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.rpm_changelog_date 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.rpm_changelog_packager 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.spec_copyright_year 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.rpm_buildrequires 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.rpm_test_requires 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.rpm_requires 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.rpm_provides 0 0 0 0 0 100%
rust2rpm/generator/meta.py TargetParameters.use_rpmautospec 0 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.rpm_release 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.rpm_group 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.include_build_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.include_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.include_provides 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.rpm_changelog_date 2 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.rpm_changelog_packager 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.spec_copyright_year 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.rpm_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.rpm_provides 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersFedora.use_rpmautospec 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.rpm_release 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.rpm_group 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.include_build_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.include_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.include_provides 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.rpm_changelog_date 2 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.rpm_changelog_packager 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.spec_copyright_year 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.rpm_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.rpm_provides 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersMageia.use_rpmautospec 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.rpm_release 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.rpm_group 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.include_build_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.include_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.include_provides 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.rpm_changelog_date 2 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.rpm_changelog_packager 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.spec_copyright_year 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.rpm_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.rpm_provides 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersOpenSUSE.use_rpmautospec 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.rpm_release 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.rpm_group 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.include_build_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.include_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.include_provides 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.rpm_changelog_date 2 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.rpm_changelog_packager 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.spec_copyright_year 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.rpm_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.rpm_provides 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersEpelEight.use_rpmautospec 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersPlain.rpm_release 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersPlain.rpm_group 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersPlain.include_build_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersPlain.include_requires 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersPlain.include_provides 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersPlain.rpm_changelog_date 2 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersPlain.rpm_changelog_packager 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersPlain.spec_copyright_year 1 0 0 0 0 100%
rust2rpm/generator/meta.py ParametersPlain.use_rpmautospec 1 0 0 0 0 100%
rust2rpm/generator/meta.py (no function) 178 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters._metadata 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters._package 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters._buildrequires 6 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rust2rpm_version 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rust2rpm_target 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rust_packaging_dep 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.build_rustflags_debuginfo 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_name 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_version 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_summary 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_description 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_url 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_source_url 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_license 4 2 0 2 1 50%
rust2rpm/generator/project.py ProjectParameters.rpm_license_comments 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_patch_file_automatic 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_patch_file_manual 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_patch_file_comments 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_license_files 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_doc_files 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_bcond_check 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_bcond_check_comments 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_vendor_source 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_extra_sources 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_extra_patches 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_extra_files 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_binary_package 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_cdylib_package 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_binary_names 8 5 0 6 1 29%
rust2rpm/generator/project.py ProjectParameters.rpm_prep_pre 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_prep_post 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_build_pre 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_build_post 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_install_pre 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_install_post 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_check_pre 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_check_post 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.upstream_version 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.crate_license 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_autosetup_args 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.cargo_args 4 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.cargo_prep_args 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.cargo_test_commands 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.conf_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.conf_test_requires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.conf_bin_requires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.conf_supported_arches 4 1 0 2 1 67%
rust2rpm/generator/project.py ProjectParameters.conf_suppress_cdylib_install_fixme 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.rpm_bin_renames 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParameters.make_changelog_entry 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParametersMageia.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParametersMageia.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParametersOpenSUSE.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParametersOpenSUSE.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParametersPlain.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParametersPlain.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParametersPlain.rpm_requires 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectParametersPlain.rpm_provides 1 0 0 0 0 100%
rust2rpm/generator/project.py ProjectTemplate.render 15 0 3 8 0 100%
rust2rpm/generator/project.py (no function) 161 0 0 0 0 100%
rust2rpm/generator/workspace.py _license_is_composite 1 1 0 0 0 0%
rust2rpm/generator/workspace.py WorkspaceParameters._metadata 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters._rpm_license_and_comments 11 6 0 4 2 47%
rust2rpm/generator/workspace.py WorkspaceParameters._buildrequires 4 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rust2rpm_version 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rust2rpm_target 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rust_packaging_dep 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.build_rustflags_debuginfo 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_name 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_version 5 3 0 0 0 40%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_summary 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_description 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_url 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_source_url 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_license 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_license_comments 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_patch_file_automatic 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_patch_file_manual 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_patch_file_comments 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_license_files 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_doc_files 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_bcond_check 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_bcond_check_comments 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_vendor_source 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_extra_sources 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_extra_patches 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_extra_files 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_binary_package 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_cdylib_package 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_binary_names 8 5 0 6 1 29%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_prep_pre 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_prep_post 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_build_pre 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_build_post 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_install_pre 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_install_post 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_check_pre 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_check_post 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.upstream_version 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_autosetup_args 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.cargo_args 2 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.cargo_prep_args 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.cargo_test_commands 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.conf_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.conf_test_requires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.conf_bin_requires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.conf_supported_arches 4 1 0 2 1 67%
rust2rpm/generator/workspace.py WorkspaceParameters.conf_suppress_cdylib_install_fixme 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.rpm_bin_renames 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParameters.make_changelog_entry 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParametersMageia.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParametersMageia.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParametersOpenSUSE.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParametersOpenSUSE.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParametersPlain.rpm_buildrequires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParametersPlain.rpm_test_requires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParametersPlain.rpm_requires 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceParametersPlain.rpm_provides 1 0 0 0 0 100%
rust2rpm/generator/workspace.py WorkspaceTemplate.render 15 0 3 8 0 100%
rust2rpm/generator/workspace.py (no function) 159 0 0 0 0 100%
rust2rpm/inspect.py files_from_crate 16 4 0 6 2 73%
rust2rpm/inspect.py filter_files_list 9 0 0 6 0 100%
rust2rpm/inspect.py filter_files_in_ex 28 0 0 20 0 100%
rust2rpm/inspect.py filter_files 4 0 1 2 0 100%
rust2rpm/inspect.py get_license_files 7 0 0 6 0 100%
rust2rpm/inspect.py get_doc_files 9 0 0 8 1 94%
rust2rpm/inspect.py (no function) 26 0 0 0 0 100%
rust2rpm/log.py _eprint 1 0 0 0 0 100%
rust2rpm/log.py _wrap 5 0 0 4 1 89%
rust2rpm/log.py success 1 0 0 0 0 100%
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 0 0 0 0 100%
rust2rpm/log.py (no function) 12 0 0 0 0 100%
rust2rpm/metadata.py get_required_features_for_binaries 7 1 0 6 1 85%
rust2rpm/metadata.py guess_main_package 24 10 0 24 4 58%
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 5 0 6 1 17%
rust2rpm/metadata.py _is_strict_dep 7 0 0 6 0 100%
rust2rpm/metadata.py (no function) 10 0 0 0 0 100%
rust2rpm/patching.py file_mtime_in_iso_format 2 0 0 0 0 100%
rust2rpm/patching.py make_diff_from_lines 1 0 0 0 0 100%
rust2rpm/patching.py preprocess_cargo_toml 4 2 0 2 1 50%
rust2rpm/patching.py preprocess_cargo_toml_helper 7 0 0 2 0 100%
rust2rpm/patching.py reapply_patch 16 16 0 4 0 0%
rust2rpm/patching.py make_patches 28 14 0 10 1 45%
rust2rpm/patching.py (no function) 17 0 0 0 0 100%
rust2rpm/project/__init__.py (no function) 4 0 0 0 0 100%
rust2rpm/project/crate.py parse_crate_file_name 14 9 0 0 0 36%
rust2rpm/project/crate.py package_name_suffixed 2 0 0 0 0 100%
rust2rpm/project/crate.py package_name_compat 7 0 0 4 0 100%
rust2rpm/project/crate.py resolve_version 13 3 0 0 0 77%
rust2rpm/project/crate.py CrateProject.package 1 0 0 0 0 100%
rust2rpm/project/crate.py CrateProject.rpm_name 3 0 0 2 0 100%
rust2rpm/project/crate.py CrateProject.from_crate_file 16 4 0 2 1 72%
rust2rpm/project/crate.py CrateProject.from_local_crate 2 0 0 0 0 100%
rust2rpm/project/crate.py CrateProject.from_crates_io 0 0 97 0 0 100%
rust2rpm/project/crate.py (no function) 32 0 8 0 0 100%
rust2rpm/project/local.py temp_project_copy 3 0 0 0 0 100%
rust2rpm/project/local.py guess_local_project_version_from_dir 7 0 0 0 0 100%
rust2rpm/project/local.py guess_local_project_version_from_path 5 1 0 2 1 71%
rust2rpm/project/local.py LocalProject.is_workspace 1 1 0 0 0 0%
rust2rpm/project/local.py LocalProject.rpm_name 1 0 0 0 0 100%
rust2rpm/project/local.py LocalProject.from_cargo_toml_path 27 0 0 2 0 100%
rust2rpm/project/local.py LocalProject.from_project_folder 2 0 0 0 0 100%
rust2rpm/project/local.py (no function) 34 0 0 0 0 100%
rust2rpm/project/meta.py Project.rpm_name 0 0 0 0 0 100%
rust2rpm/project/meta.py (no function) 31 0 0 0 0 100%
rust2rpm/project/shared.py file_name_auto_patch 1 0 0 0 0 100%
rust2rpm/project/shared.py file_name_manual_patch 1 0 0 0 0 100%
rust2rpm/project/shared.py (no function) 2 0 0 0 0 100%
rust2rpm/sysinfo.py read_os_release 17 4 0 8 2 76%
rust2rpm/sysinfo.py get_default_target 10 4 0 6 2 50%
rust2rpm/sysinfo.py (no function) 14 0 0 0 0 100%
rust2rpm/templates/opensuse-header.spec.inc (no function) 0 0 0 0 0 100%
rust2rpm/tests/test_cli.py test_cli_args_parse 4 0 0 0 0 100%
rust2rpm/tests/test_cli.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 6 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_patch_comments 3 0 0 0 0 100%
rust2rpm/tests/test_conf.py test_load_config_ini 2 0 0 0 0 100%
rust2rpm/tests/test_conf.py test_load_config_toml 2 0 0 0 0 100%
rust2rpm/tests/test_conf.py test_conf_upgrade 3 0 0 0 0 100%
rust2rpm/tests/test_conf.py test_load_full_example 52 0 0 0 0 100%
rust2rpm/tests/test_conf.py test_load_some_example 11 0 0 0 0 100%
rust2rpm/tests/test_conf.py test_load_fail 3 0 0 0 0 100%
rust2rpm/tests/test_conf.py (no function) 28 0 0 0 0 100%
rust2rpm/tests/test_end_to_end.py test_cli_crate 10 0 2 2 0 100%
rust2rpm/tests/test_end_to_end.py test_cli_crate_epel8 8 0 2 0 0 100%
rust2rpm/tests/test_end_to_end.py test_cli_path_toml 10 0 2 2 0 100%
rust2rpm/tests/test_end_to_end.py test_cli_path_dir 10 0 2 2 0 100%
rust2rpm/tests/test_end_to_end.py test_cli_messages 8 0 0 2 0 100%
rust2rpm/tests/test_end_to_end.py test_cli_errors 11 0 0 4 0 100%
rust2rpm/tests/test_end_to_end.py (no function) 19 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 16 1 2 2 1 89%
rust2rpm/tests/test_generator.py test_spec_file_render_project 19 2 2 4 1 87%
rust2rpm/tests/test_generator.py test_spec_file_render_workspace 19 2 2 4 1 87%
rust2rpm/tests/test_generator.py test_cargo_args_from_flags 1 0 0 0 0 100%
rust2rpm/tests/test_generator.py test_conf_to_cargo_test_args 3 0 0 0 0 100%
rust2rpm/tests/test_generator.py test_conf_to_cargo_test_args_epel8 3 0 0 0 0 100%
rust2rpm/tests/test_generator.py test_cargo_args_from_flags_epel8 1 0 0 0 0 100%
rust2rpm/tests/test_generator.py test_format_cargo_test_command 1 0 0 0 0 100%
rust2rpm/tests/test_generator.py (no function) 40 0 0 0 0 100%
rust2rpm/tests/test_inspect.py test_files_from_crate 5 0 0 0 0 100%
rust2rpm/tests/test_inspect.py test_files_from_crate_messages 5 0 0 0 0 100%
rust2rpm/tests/test_inspect.py (no function) 9 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) 8 0 0 0 0 100%
rust2rpm/tests/test_patching.py test_drop_foreign_dependencies 8 0 2 0 0 100%
rust2rpm/tests/test_patching.py (no function) 8 0 0 0 0 100%
rust2rpm/tests/test_project.py test_resolve_version 1 0 0 0 0 100%
rust2rpm/tests/test_project.py test_package_name_suffixed 1 0 0 0 0 100%
rust2rpm/tests/test_project.py test_package_name_compat 1 0 0 0 0 100%
rust2rpm/tests/test_project.py test_guess_local_project_version_from_dir 2 0 0 0 0 100%
rust2rpm/tests/test_project.py test_guess_local_project_version_from_dir_fail 1 0 0 0 0 100%
rust2rpm/tests/test_project.py test_project_from_local_crate 3 0 0 0 0 100%
rust2rpm/tests/test_project.py test_project_from_cargo_toml_path 3 0 0 0 0 100%
rust2rpm/tests/test_project.py test_project_from_project_folder 3 0 0 0 0 100%
rust2rpm/tests/test_project.py (no function) 24 0 0 0 0 100%
rust2rpm/tests/test_sysinfo.py test_get_default_target 1 0 0 0 0 100%
rust2rpm/tests/test_sysinfo.py (no function) 2 0 0 0 0 100%
rust2rpm/tests/test_utils.py test_detect_editor 1 0 0 0 0 100%
rust2rpm/tests/test_utils.py test_guess_crate_name 2 0 0 0 0 100%
rust2rpm/tests/test_utils.py (no function) 7 0 0 0 0 100%
rust2rpm/utils.py detect_editor 13 2 0 8 4 71%
rust2rpm/utils.py detect_packager 11 7 0 8 3 37%
rust2rpm/utils.py guess_crate_name 27 8 0 16 6 67%
rust2rpm/utils.py detect_rpmautospec 8 3 0 2 1 60%
rust2rpm/utils.py (no function) 13 0 0 0 0 100%
rust2rpm/vendor.py generate_vendor_tarball 0 0 65 0 0 100%
rust2rpm/vendor.py (no function) 5 0 7 0 0 100%
Total   3272 283 397 644 92 89%

No items found using the specified filter.