Coverage report:
100%
hide covered
Files
Functions
Classes
coverage.py v7.7.1
, created at 2025-03-24 19:45 +0000
File
function
statements
missing
excluded
coverage
src/__init__.py
read_config
7
0
0
100%
src/__init__.py
get_logger_config
7
0
0
100%
src/__init__.py
log_handler_exists
9
0
0
100%
src/__init__.py
ColorfulConsoleFormatter.__init__
3
0
0
100%
src/__init__.py
ColorfulConsoleFormatter.format
3
0
0
100%
src/__init__.py
get_logger
14
0
0
100%
src/__init__.py
(no function)
33
0
0
100%
src/config_parser.py
config_path_to_string
1
0
0
100%
src/config_parser.py
traverse_config_path
5
0
0
100%
src/config_parser.py
get_config_value
3
0
0
100%
src/config_parser.py
get_username
10
0
0
100%
src/config_parser.py
get_retry_login_interval
7
0
0
100%
src/config_parser.py
get_drive_sync_interval
7
0
0
100%
src/config_parser.py
get_photos_sync_interval
7
0
0
100%
src/config_parser.py
get_photos_all_albums
6
0
0
100%
src/config_parser.py
prepare_root_destination
9
0
0
100%
src/config_parser.py
get_smtp_email
5
0
0
100%
src/config_parser.py
get_smtp_username
5
0
0
100%
src/config_parser.py
get_smtp_to_email
6
0
0
100%
src/config_parser.py
get_smtp_password
6
0
0
100%
src/config_parser.py
get_smtp_host
6
0
0
100%
src/config_parser.py
get_smtp_port
6
0
0
100%
src/config_parser.py
get_smtp_no_tls
6
0
0
100%
src/config_parser.py
prepare_drive_destination
9
0
0
100%
src/config_parser.py
get_drive_remove_obsolete
7
0
0
100%
src/config_parser.py
prepare_photos_destination
9
0
0
100%
src/config_parser.py
get_photos_remove_obsolete
7
0
0
100%
src/config_parser.py
get_photos_filters
30
0
0
100%
src/config_parser.py
get_region
9
0
0
100%
src/config_parser.py
get_photos_folder_format
6
0
0
100%
src/config_parser.py
get_telegram_bot_token
6
0
0
100%
src/config_parser.py
get_telegram_chat_id
6
0
0
100%
src/config_parser.py
get_discord_webhook_url
6
0
0
100%
src/config_parser.py
get_discord_username
6
0
0
100%
src/config_parser.py
get_pushover_user_key
6
0
0
100%
src/config_parser.py
get_pushover_api_token
6
0
0
100%
src/config_parser.py
(no function)
34
0
0
100%
src/email_message.py
EmailMessage.__init__
15
0
0
100%
src/email_message.py
EmailMessage.make_key
1
0
0
100%
src/email_message.py
EmailMessage.as_string
1
0
0
100%
src/email_message.py
EmailMessage._plaintext
3
0
0
100%
src/email_message.py
EmailMessage._set_info
4
0
0
100%
src/email_message.py
(no function)
9
0
0
100%
src/notify.py
notify_telegram
13
0
0
100%
src/notify.py
post_message_to_telegram
7
0
0
100%
src/notify.py
post_message_to_discord
6
0
0
100%
src/notify.py
notify_discord
13
0
0
100%
src/notify.py
notify_pushover
13
0
0
100%
src/notify.py
post_message_to_pushover
7
0
0
100%
src/notify.py
send
40
0
0
100%
src/notify.py
build_message
6
0
0
100%
src/notify.py
(no function)
14
0
0
100%
src/sync.py
get_api_instance
1
0
0
100%
src/sync.py
sync
74
0
0
100%
src/sync.py
(no function)
10
0
0
100%
src/sync_drive.py
wanted_file
13
0
0
100%
src/sync_drive.py
wanted_folder
11
0
0
100%
src/sync_drive.py
ignored_path
4
0
0
100%
src/sync_drive.py
wanted_parent_folder
8
0
0
100%
src/sync_drive.py
process_folder
9
0
0
100%
src/sync_drive.py
package_exists
12
0
0
100%
src/sync_drive.py
file_exists
11
0
0
100%
src/sync_drive.py
process_package
25
0
0
100%
src/sync_drive.py
is_package
4
0
0
100%
src/sync_drive.py
download_file
16
0
0
100%
src/sync_drive.py
process_file
24
0
0
100%
src/sync_drive.py
remove_obsolete
14
0
0
100%
src/sync_drive.py
sync_directory
22
0
0
100%
src/sync_drive.py
sync_drive
2
0
0
100%
src/sync_drive.py
(no function)
27
0
0
100%
src/sync_photos.py
get_name_and_extension
8
0
0
100%
src/sync_photos.py
photo_wanted
6
0
0
100%
src/sync_photos.py
generate_file_name
17
0
0
100%
src/sync_photos.py
photo_exists
8
0
0
100%
src/sync_photos.py
download_photo
13
0
0
100%
src/sync_photos.py
process_photo
10
0
0
100%
src/sync_photos.py
sync_album
12
0
0
100%
src/sync_photos.py
remove_obsolete
11
0
0
100%
src/sync_photos.py
sync_photos
23
0
0
100%
src/sync_photos.py
(no function)
20
0
0
100%
src/usage.py
init_cache
3
0
0
100%
src/usage.py
load_cache
6
0
0
100%
src/usage.py
save_cache
3
0
0
100%
src/usage.py
post_new_installation
8
0
0
100%
src/usage.py
record_new_installation
4
0
0
100%
src/usage.py
already_installed
1
0
0
100%
src/usage.py
install
6
0
0
100%
src/usage.py
post_new_heartbeat
7
0
0
100%
src/usage.py
send_heartbeat
2
0
0
100%
src/usage.py
current_time
1
0
0
100%
src/usage.py
heartbeat
12
0
0
100%
src/usage.py
alive
10
0
0
100%
src/usage.py
(no function)
23
0
0
100%
Total
971
0
0
100%
No items found using the specified filter.