Coverage report: 35%

Files Functions Classes

coverage.py v7.6.12, created at 2025-02-28 16:31 +0100

File function statements missing excluded coverage
src/edwh_restic_plugin/__about__.py (no function) 1 1 0 0%
src/edwh_restic_plugin/__init__.py (no function) 0 0 0 100%
src/edwh_restic_plugin/env.py read_dotenv 13 13 0 0%
src/edwh_restic_plugin/env.py set_env_value 22 22 0 0%
src/edwh_restic_plugin/env.py check_env 19 19 0 0%
src/edwh_restic_plugin/env.py (no function) 10 0 0 100%
src/edwh_restic_plugin/forget.py ResticForgetPolicy.to_string 10 10 0 0%
src/edwh_restic_plugin/forget.py ResticForgetPolicy.from_string 36 3 0 92%
src/edwh_restic_plugin/forget.py ResticForgetPolicy.from_toml_file 21 1 0 95%
src/edwh_restic_plugin/forget.py ResticForgetPolicy.to_toml 15 0 0 100%
src/edwh_restic_plugin/forget.py ResticForgetPolicy.get_or_copy_policy 18 3 0 83%
src/edwh_restic_plugin/forget.py (no function) 30 0 0 100%
src/edwh_restic_plugin/helpers.py fix_tags 1 1 0 0%
src/edwh_restic_plugin/helpers.py camel_to_snake 1 0 0 100%
src/edwh_restic_plugin/helpers.py _require_restic 10 10 0 0%
src/edwh_restic_plugin/helpers.py (no function) 8 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py SortableMeta.__lt__ 1 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py SortableMeta.__gt__ 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.setup 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.prepare_for_restic 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.uri 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository._add_missing_boilerpalte_restic_vars 4 4 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.prepare_env_for_restic 2 2 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.__repr__ 6 6 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository._require_restic 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.__init__ 9 9 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.check_env 3 3 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository._restic_self_update 4 4 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.configure 4 4 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.hostarg 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.targets 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.excluded 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.get_snapshot_from 2 2 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.get_scripts 5 5 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.execute_files 30 30 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.backup 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.restore 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.check 2 2 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.snapshot 31 31 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.forget 2 2 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.__gt__ 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py Repository.__lt__ 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations.__init__ 2 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations.push 7 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations.queue 3 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations.clear 2 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations.get 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations.to_sorted_list 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations.to_ordered_dict 4 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations.__iter__ 1 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations.__bool__ 1 1 0 0%
src/edwh_restic_plugin/repositories/__init__.py RepositoryRegistrations._find_items 5 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py register 4 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py register.wraps 5 0 0 100%
src/edwh_restic_plugin/repositories/__init__.py (no function) 81 0 0 100%
src/edwh_restic_plugin/repositories/b2.py B2Repository.__init__ 6 6 0 0%
src/edwh_restic_plugin/repositories/b2.py B2Repository.setup 5 5 0 0%
src/edwh_restic_plugin/repositories/b2.py B2Repository.prepare_for_restic 13 13 0 0%
src/edwh_restic_plugin/repositories/b2.py B2Repository.uri 1 1 0 0%
src/edwh_restic_plugin/repositories/b2.py (no function) 10 0 0 100%
src/edwh_restic_plugin/repositories/local.py LocalRepository.__init__ 3 3 0 0%
src/edwh_restic_plugin/repositories/local.py LocalRepository.setup 2 2 0 0%
src/edwh_restic_plugin/repositories/local.py LocalRepository.prepare_for_restic 7 7 0 0%
src/edwh_restic_plugin/repositories/local.py LocalRepository.uri 1 1 0 0%
src/edwh_restic_plugin/repositories/local.py (no function) 11 0 0 100%
src/edwh_restic_plugin/repositories/oracle.py OracleRepository.setup 6 6 0 0%
src/edwh_restic_plugin/repositories/oracle.py OracleRepository.prepare_for_restic 5 5 0 0%
src/edwh_restic_plugin/repositories/oracle.py OracleRepository.uri 2 2 0 0%
src/edwh_restic_plugin/repositories/oracle.py (no function) 11 0 0 100%
src/edwh_restic_plugin/repositories/r2.py R2Repository.setup 5 5 0 0%
src/edwh_restic_plugin/repositories/r2.py R2Repository.prepare_for_restic 5 5 0 0%
src/edwh_restic_plugin/repositories/r2.py R2Repository.uri 2 2 0 0%
src/edwh_restic_plugin/repositories/r2.py (no function) 11 0 0 100%
src/edwh_restic_plugin/repositories/s3.py S3Repository.setup 5 5 0 0%
src/edwh_restic_plugin/repositories/s3.py S3Repository.prepare_for_restic 5 5 0 0%
src/edwh_restic_plugin/repositories/s3.py S3Repository.uri 4 4 0 0%
src/edwh_restic_plugin/repositories/s3.py (no function) 10 0 0 100%
src/edwh_restic_plugin/repositories/sftp.py SFTPRepository.__init__ 4 4 0 0%
src/edwh_restic_plugin/repositories/sftp.py SFTPRepository.setup 3 3 0 0%
src/edwh_restic_plugin/repositories/sftp.py SFTPRepository.prepare_for_restic 13 13 0 0%
src/edwh_restic_plugin/repositories/sftp.py SFTPRepository.uri 1 1 0 0%
src/edwh_restic_plugin/repositories/sftp.py (no function) 9 0 0 100%
src/edwh_restic_plugin/repositories/swift.py SwiftRepository.__init__ 5 5 0 0%
src/edwh_restic_plugin/repositories/swift.py SwiftRepository.setup 9 9 0 0%
src/edwh_restic_plugin/repositories/swift.py SwiftRepository.prepare_for_restic 14 14 0 0%
src/edwh_restic_plugin/repositories/swift.py SwiftRepository.uri 1 1 0 0%
src/edwh_restic_plugin/repositories/swift.py (no function) 10 0 0 100%
src/edwh_restic_plugin/restictypes.py (no function) 188 188 0 0%
src/edwh_restic_plugin/tasks.py cli_repo 18 18 0 0%
src/edwh_restic_plugin/tasks.py require_restic 1 1 0 0%
src/edwh_restic_plugin/tasks.py configure 1 1 0 0%
src/edwh_restic_plugin/tasks.py backup 1 1 0 0%
src/edwh_restic_plugin/tasks.py restore 11 11 0 0%
src/edwh_restic_plugin/tasks.py snapshots 3 3 0 0%
src/edwh_restic_plugin/tasks.py interactive 1 1 0 0%
src/edwh_restic_plugin/tasks.py run 7 7 0 0%
src/edwh_restic_plugin/tasks.py env 7 7 0 0%
src/edwh_restic_plugin/tasks.py forget 2 2 0 0%
src/edwh_restic_plugin/tasks.py (no function) 30 30 0 0%
Total   918 599 0 35%

No items found using the specified filter.