Coverage report: 80%

Files Functions Classes

coverage.py v7.10.7, created at 2025-11-02 05:49 +0000

File function statements missing excluded coverage
icloudpy/__init__.py (no function) 3 0 0 100%
icloudpy/base.py ICloudPyPasswordFilter.__init__ 1 0 0 100%
icloudpy/base.py ICloudPyPasswordFilter.filter 5 0 0 100%
icloudpy/base.py ICloudPySession.__init__ 2 0 0 100%
icloudpy/base.py ICloudPySession.request 61 61 0 0%
icloudpy/base.py ICloudPySession._raise_error 14 0 0 100%
icloudpy/base.py ICloudPySession.raise_error 1 0 0 100%
icloudpy/base.py ICloudPyService.__init__ 48 8 0 83%
icloudpy/base.py ICloudPyService.authenticate 60 4 0 93%
icloudpy/base.py ICloudPyService.authenticate.SrpPassword.__init__ 1 0 0 100%
icloudpy/base.py ICloudPyService.authenticate.SrpPassword.set_encrypt_info 3 0 0 100%
icloudpy/base.py ICloudPyService.authenticate.SrpPassword.encode 2 0 0 100%
icloudpy/base.py ICloudPyService._authenticate_with_token 7 3 0 57%
icloudpy/base.py ICloudPyService._authenticate_with_credentials_service 7 1 0 86%
icloudpy/base.py ICloudPyService._validate_token 8 0 0 100%
icloudpy/base.py ICloudPyService._get_auth_headers 4 0 0 100%
icloudpy/base.py ICloudPyService.cookiejar_path 1 0 0 100%
icloudpy/base.py ICloudPyService.session_path 1 0 0 100%
icloudpy/base.py ICloudPyService.requires_2sa 1 0 0 100%
icloudpy/base.py ICloudPyService.requires_2fa 1 0 0 100%
icloudpy/base.py ICloudPyService.is_trusted_session 1 0 0 100%
icloudpy/base.py ICloudPyService.trusted_devices 2 0 0 100%
icloudpy/base.py ICloudPyService.send_verification_code 3 0 0 100%
icloudpy/base.py ICloudPyService.validate_verification_code 10 1 0 90%
icloudpy/base.py ICloudPyService.validate_2fa_code 16 1 0 94%
icloudpy/base.py ICloudPyService.trust_session 12 3 0 75%
icloudpy/base.py ICloudPyService._get_webservice_url 3 0 0 100%
icloudpy/base.py ICloudPyService.devices 2 0 0 100%
icloudpy/base.py ICloudPyService.iphone 1 0 0 100%
icloudpy/base.py ICloudPyService.account 2 0 0 100%
icloudpy/base.py ICloudPyService.photos 4 0 0 100%
icloudpy/base.py ICloudPyService.calendar 2 0 0 100%
icloudpy/base.py ICloudPyService.contacts 2 0 0 100%
icloudpy/base.py ICloudPyService.reminders 2 2 0 0%
icloudpy/base.py ICloudPyService.drive 3 0 0 100%
icloudpy/base.py ICloudPyService.__unicode__ 1 0 0 100%
icloudpy/base.py ICloudPyService.__str__ 1 0 0 100%
icloudpy/base.py ICloudPyService.__repr__ 1 0 0 100%
icloudpy/base.py (no function) 69 0 0 100%
icloudpy/cmdline.py create_pickled_data 3 0 0 100%
icloudpy/cmdline.py main 112 46 0 59%
icloudpy/cmdline.py (no function) 11 1 0 91%
icloudpy/exceptions.py ICloudPyAPIResponseException.__init__ 8 1 0 88%
icloudpy/exceptions.py ICloudPy2SARequiredException.__init__ 2 0 0 100%
icloudpy/exceptions.py (no function) 9 0 0 100%
icloudpy/services/__init__.py (no function) 7 0 0 100%
icloudpy/services/account.py AccountService.__init__ 11 0 0 100%
icloudpy/services/account.py AccountService.devices 6 0 0 100%
icloudpy/services/account.py AccountService.family 6 0 0 100%
icloudpy/services/account.py AccountService.storage 5 0 0 100%
icloudpy/services/account.py AccountService.__unicode__ 2 0 0 100%
icloudpy/services/account.py AccountService.__str__ 1 0 0 100%
icloudpy/services/account.py AccountService.__repr__ 1 0 0 100%
icloudpy/services/account.py AccountDevice.__getattr__ 1 0 0 100%
icloudpy/services/account.py AccountDevice.__unicode__ 1 0 0 100%
icloudpy/services/account.py AccountDevice.__str__ 1 0 0 100%
icloudpy/services/account.py AccountDevice.__repr__ 1 0 0 100%
icloudpy/services/account.py FamilyMember.__init__ 4 0 0 100%
icloudpy/services/account.py FamilyMember.last_name 1 0 0 100%
icloudpy/services/account.py FamilyMember.dsid 1 0 0 100%
icloudpy/services/account.py FamilyMember.original_invitation_email 1 0 0 100%
icloudpy/services/account.py FamilyMember.full_name 1 0 0 100%
icloudpy/services/account.py FamilyMember.age_classification 1 0 0 100%
icloudpy/services/account.py FamilyMember.apple_id_for_purchases 1 0 0 100%
icloudpy/services/account.py FamilyMember.apple_id 1 0 0 100%
icloudpy/services/account.py FamilyMember.family_id 1 1 0 0%
icloudpy/services/account.py FamilyMember.first_name 1 0 0 100%
icloudpy/services/account.py FamilyMember.has_parental_privileges 1 1 0 0%
icloudpy/services/account.py FamilyMember.has_screen_time_enabled 1 0 0 100%
icloudpy/services/account.py FamilyMember.has_ask_to_buy_enabled 1 0 0 100%
icloudpy/services/account.py FamilyMember.has_share_purchases_enabled 1 1 0 0%
icloudpy/services/account.py FamilyMember.share_my_location_enabled_family_members 1 0 0 100%
icloudpy/services/account.py FamilyMember.has_share_my_location_enabled 1 1 0 0%
icloudpy/services/account.py FamilyMember.dsid_for_purchases 1 0 0 100%
icloudpy/services/account.py FamilyMember.get_photo 3 3 0 0%
icloudpy/services/account.py FamilyMember.__getitem__ 3 3 0 0%
icloudpy/services/account.py FamilyMember.__unicode__ 1 0 0 100%
icloudpy/services/account.py FamilyMember.__str__ 1 0 0 100%
icloudpy/services/account.py FamilyMember.__repr__ 1 0 0 100%
icloudpy/services/account.py AccountStorageUsageForMedia.__init__ 1 0 0 100%
icloudpy/services/account.py AccountStorageUsageForMedia.key 1 0 0 100%
icloudpy/services/account.py AccountStorageUsageForMedia.label 1 0 0 100%
icloudpy/services/account.py AccountStorageUsageForMedia.color 1 0 0 100%
icloudpy/services/account.py AccountStorageUsageForMedia.usage_in_bytes 1 0 0 100%
icloudpy/services/account.py AccountStorageUsageForMedia.__unicode__ 1 0 0 100%
icloudpy/services/account.py AccountStorageUsageForMedia.__str__ 1 0 0 100%
icloudpy/services/account.py AccountStorageUsageForMedia.__repr__ 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.__init__ 2 0 0 100%
icloudpy/services/account.py AccountStorageUsage.comp_storage_in_bytes 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.used_storage_in_bytes 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.used_storage_in_percent 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.available_storage_in_bytes 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.available_storage_in_percent 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.total_storage_in_bytes 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.commerce_storage_in_bytes 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.quota_over 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.quota_tier_max 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.quota_almost_full 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.quota_paid 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.__unicode__ 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.__str__ 1 0 0 100%
icloudpy/services/account.py AccountStorageUsage.__repr__ 1 0 0 100%
icloudpy/services/account.py AccountStorage.__init__ 4 0 0 100%
icloudpy/services/account.py AccountStorage.__unicode__ 1 0 0 100%
icloudpy/services/account.py AccountStorage.__str__ 1 0 0 100%
icloudpy/services/account.py AccountStorage.__repr__ 1 0 0 100%
icloudpy/services/account.py (no function) 102 0 0 100%
icloudpy/services/calendar.py CalendarService.__init__ 8 0 0 100%
icloudpy/services/calendar.py CalendarService.get_event_detail 6 6 0 0%
icloudpy/services/calendar.py CalendarService.refresh_client 10 10 0 0%
icloudpy/services/calendar.py CalendarService.events 2 2 0 0%
icloudpy/services/calendar.py CalendarService.calendars 9 9 0 0%
icloudpy/services/calendar.py (no function) 9 0 0 100%
icloudpy/services/contacts.py ContactsService.__init__ 8 0 0 100%
icloudpy/services/contacts.py ContactsService.refresh_client 8 8 0 0%
icloudpy/services/contacts.py ContactsService.all 2 2 0 0%
icloudpy/services/contacts.py (no function) 4 0 0 100%
icloudpy/services/drive.py DriveService.__init__ 5 0 0 100%
icloudpy/services/drive.py DriveService._get_token_from_cookie 7 0 0 100%
icloudpy/services/drive.py DriveService.get_node_data 4 0 0 100%
icloudpy/services/drive.py DriveService.get_file 12 0 0 100%
icloudpy/services/drive.py DriveService.get_app_data 4 0 0 100%
icloudpy/services/drive.py DriveService.get_app_node 1 0 0 100%
icloudpy/services/drive.py DriveService._get_upload_contentws_url 13 0 0 100%
icloudpy/services/drive.py DriveService._update_contentws 7 0 0 100%
icloudpy/services/drive.py DriveService.send_file 6 0 0 100%
icloudpy/services/drive.py DriveService.create_folders 2 0 0 100%
icloudpy/services/drive.py DriveService.rename_items 2 0 0 100%
icloudpy/services/drive.py DriveService.move_items_to_trash 4 0 0 100%
icloudpy/services/drive.py DriveService.root 3 0 0 100%
icloudpy/services/drive.py DriveService.__getattr__ 1 0 0 100%
icloudpy/services/drive.py DriveService.__getitem__ 1 0 0 100%
icloudpy/services/drive.py DriveNode.__init__ 3 0 0 100%
icloudpy/services/drive.py DriveNode.name 3 0 0 100%
icloudpy/services/drive.py DriveNode.type 2 0 0 100%
icloudpy/services/drive.py DriveNode.get_children 7 0 0 100%
icloudpy/services/drive.py DriveNode.size 4 0 0 100%
icloudpy/services/drive.py DriveNode.date_created 1 0 0 100%
icloudpy/services/drive.py DriveNode.date_changed 1 0 0 100%
icloudpy/services/drive.py DriveNode.date_modified 1 0 0 100%
icloudpy/services/drive.py DriveNode.date_last_open 1 0 0 100%
icloudpy/services/drive.py DriveNode.open 5 0 0 100%
icloudpy/services/drive.py DriveNode.upload 1 0 0 100%
icloudpy/services/drive.py DriveNode.dir 3 0 0 100%
icloudpy/services/drive.py DriveNode.mkdir 4 0 0 100%
icloudpy/services/drive.py DriveNode.rename 1 0 0 100%
icloudpy/services/drive.py DriveNode.delete 1 0 0 100%
icloudpy/services/drive.py DriveNode.get 3 0 0 100%
icloudpy/services/drive.py DriveNode.__getitem__ 4 0 0 100%
icloudpy/services/drive.py DriveNode.__unicode__ 1 0 0 100%
icloudpy/services/drive.py DriveNode.__str__ 1 0 0 100%
icloudpy/services/drive.py DriveNode.__repr__ 1 0 0 100%
icloudpy/services/drive.py _date_to_utc 8 0 0 100%
icloudpy/services/drive.py (no function) 54 0 0 100%
icloudpy/services/findmyiphone.py FindMyiPhoneServiceManager.__init__ 10 0 0 100%
icloudpy/services/findmyiphone.py FindMyiPhoneServiceManager.refresh_client 9 2 0 78%
icloudpy/services/findmyiphone.py FindMyiPhoneServiceManager.__getitem__ 3 0 0 100%
icloudpy/services/findmyiphone.py FindMyiPhoneServiceManager.__getattr__ 1 0 0 100%
icloudpy/services/findmyiphone.py FindMyiPhoneServiceManager.__unicode__ 1 1 0 0%
icloudpy/services/findmyiphone.py FindMyiPhoneServiceManager.__str__ 1 1 0 0%
icloudpy/services/findmyiphone.py FindMyiPhoneServiceManager.__repr__ 1 1 0 0%
icloudpy/services/findmyiphone.py AppleDevice.__init__ 7 0 0 100%
icloudpy/services/findmyiphone.py AppleDevice.update 1 1 0 0%
icloudpy/services/findmyiphone.py AppleDevice.location 2 2 0 0%
icloudpy/services/findmyiphone.py AppleDevice.status 7 7 0 0%
icloudpy/services/findmyiphone.py AppleDevice.play_sound 2 2 0 0%
icloudpy/services/findmyiphone.py AppleDevice.display_message 2 2 0 0%
icloudpy/services/findmyiphone.py AppleDevice.lost_device 2 2 0 0%
icloudpy/services/findmyiphone.py AppleDevice.data 1 0 0 100%
icloudpy/services/findmyiphone.py AppleDevice.__getitem__ 1 0 0 100%
icloudpy/services/findmyiphone.py AppleDevice.__getattr__ 1 1 0 0%
icloudpy/services/findmyiphone.py AppleDevice.__unicode__ 3 3 0 0%
icloudpy/services/findmyiphone.py AppleDevice.__str__ 1 1 0 0%
icloudpy/services/findmyiphone.py AppleDevice.__repr__ 1 1 0 0%
icloudpy/services/findmyiphone.py (no function) 25 0 0 100%
icloudpy/services/photos.py PhotoLibrary.__init__ 10 0 0 100%
icloudpy/services/photos.py PhotoLibrary.albums 12 0 0 100%
icloudpy/services/photos.py PhotoLibrary._fetch_folders 5 0 0 100%
icloudpy/services/photos.py PhotoLibrary.all 1 0 0 100%
icloudpy/services/photos.py PhotosService.__init__ 8 0 0 100%
icloudpy/services/photos.py PhotosService.libraries 15 2 0 87%
icloudpy/services/photos.py PhotoAlbum.__init__ 13 1 0 92%
icloudpy/services/photos.py PhotoAlbum.title 1 0 0 100%
icloudpy/services/photos.py PhotoAlbum.__iter__ 1 0 0 100%
icloudpy/services/photos.py PhotoAlbum.__len__ 6 0 0 100%
icloudpy/services/photos.py PhotoAlbum._fetch_subalbums 6 0 0 100%
icloudpy/services/photos.py PhotoAlbum.subalbums 11 8 0 27%
icloudpy/services/photos.py PhotoAlbum.photos 24 2 0 92%
icloudpy/services/photos.py PhotoAlbum._list_query_gen 4 0 0 100%
icloudpy/services/photos.py PhotoAlbum.__unicode__ 1 0 0 100%
icloudpy/services/photos.py PhotoAlbum.__str__ 1 0 0 100%
icloudpy/services/photos.py PhotoAlbum.__repr__ 1 0 0 100%
icloudpy/services/photos.py PhotoAsset.__init__ 4 0 0 100%
icloudpy/services/photos.py PhotoAsset.id 1 0 0 100%
icloudpy/services/photos.py PhotoAsset.filename 4 0 0 100%
icloudpy/services/photos.py PhotoAsset.size 1 0 0 100%
icloudpy/services/photos.py PhotoAsset.created 1 0 0 100%
icloudpy/services/photos.py PhotoAsset.asset_date 4 2 0 50%
icloudpy/services/photos.py PhotoAsset.added_date 1 0 0 100%
icloudpy/services/photos.py PhotoAsset.dimensions 1 0 0 100%
icloudpy/services/photos.py PhotoAsset.versions 29 5 0 83%
icloudpy/services/photos.py PhotoAsset.download 3 0 0 100%
icloudpy/services/photos.py PhotoAsset.delete 5 0 0 100%
icloudpy/services/photos.py PhotoAsset.__repr__ 1 0 0 100%
icloudpy/services/photos.py (no function) 58 0 0 100%
icloudpy/services/reminders.py RemindersService.__init__ 6 6 0 0%
icloudpy/services/reminders.py RemindersService.refresh 17 17 0 0%
icloudpy/services/reminders.py RemindersService.post 11 11 0 0%
icloudpy/services/reminders.py (no function) 9 0 0 100%
icloudpy/utils.py get_password 6 1 0 83%
icloudpy/utils.py password_exists_in_keyring 5 1 0 80%
icloudpy/utils.py get_password_from_keyring 4 1 0 75%
icloudpy/utils.py store_password_in_keyring 1 1 0 0%
icloudpy/utils.py delete_password_in_keyring 1 1 0 0%
icloudpy/utils.py underscore_to_camelcase 4 0 0 100%
icloudpy/utils.py (no function) 11 0 0 100%
Total   1356 265 0 80%

No items found using the specified filter.