Switching to dav4jvm #881
Draft
Switching to dav4jvm #881
Codacy Production / Codacy Static Code Analysis
required action
Oct 31, 2024 in 0s
1 new issue (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 2
- Added 1
Complexity increasing per file
==============================
- library/src/androidTest/java/com/owncloud/android/lib/resources/shares/GetShareesRemoteOperationIT.kt 1
- library/src/main/java/com/nextcloud/common/NextcloudAuthenticator.kt 4
- library/src/main/java/com/nextcloud/common/UserAgentInterceptor.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCDisplayName.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/CreateFolderRemoteOperation.kt 10
- library/src/main/java/com/owncloud/android/lib/common/utils/WebDavFileUtils.kt 54
- library/src/main/java/com/nextcloud/operations/MkColMethod.kt 2
- library/src/main/java/com/nextcloud/extensions/ParcelableExtensions.kt 4
- library/src/main/java/com/nextcloud/operations/MoveMethod.kt 2
- library/src/main/java/com/owncloud/android/lib/resources/comments/MarkCommentsAsReadRemoteOperation.kt 1
- library/src/main/java/com/owncloud/android/lib/common/operations/RemoteOperationResult.kt 111
- library/src/main/java/com/owncloud/android/lib/resources/files/CheckEtagRemoteOperation.kt 4
- library/src/main/java/com/nextcloud/extensions/ArrayExtensions.kt 2
- library/src/main/java/com/nextcloud/common/DavResponse.kt 3
- library/src/main/java/com/nextcloud/operations/PropPatchMethod.kt 2
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLock.kt 5
- library/src/main/java/com/owncloud/android/lib/common/network/ExtendedProperties.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCTrashbinLocation.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCTrashbinDeletionTime.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataPhotosGPS.kt 12
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockTime.kt 3
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCUploadTime.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCSharees.kt 29
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCCommentsUnread.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockOwnerType.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCCreationTime.kt 3
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockOwner.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataSize.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockTimeout.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockOwnerDisplayName.kt 5
- library/src/main/java/com/owncloud/android/lib/common/network/WebdavUtils.kt 14
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCNote.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataLivePhoto.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataPhotosSize.kt 12
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCHidden.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCTrashbinFilename.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataGPS.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockOwnerEditor.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockToken.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCTags.kt 23
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCLocalId.kt 5
- library/src/main/java/com/nextcloud/common/DavMethod.kt 2
- library/src/main/java/com/nextcloud/operations/PropFindMethod.kt 5
- library/src/main/java/com/nextcloud/operations/PropFindResult.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCGetLastModified.kt 4
- library/src/main/java/com/owncloud/android/lib/resources/files/model/RemoteFile.kt 7
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCPreview.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCEncrypted.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCRichWorkspace.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCPermissions.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCId.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMountType.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCFavorite.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCOwnerDisplayName.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCOwnerId.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCEtag.kt 3
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCSize.kt 5
- library/src/androidTest/java/com/nextcloud/android/lib/resources/dashboard/DashboardGetWidgetItemsRemoteOperationIT.kt 1
- library/src/androidTest/java/com/nextcloud/android/lib/resources/dashboard/DashboardListWidgetsRemoteOperationIT.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/e2ee/ToggleEncryptionRemoteOperation.java 1
- library/src/main/java/com/nextcloud/common/NextcloudClient.kt 2
Complexity decreasing per file
==============================
+ library/src/main/java/com/owncloud/android/lib/resources/files/LinkLivePhotoRemoteOperation.kt -4
+ library/src/androidTest/java/com/owncloud/android/GetCapabilitiesRemoteOperationIT.java -1
+ library/src/main/java/com/owncloud/android/lib/resources/tags/CreateTagRemoteOperation.kt -1
+ library/src/main/java/com/owncloud/android/lib/resources/tags/GetTagsRemoteOperation.kt -5
+ library/src/main/java/com/owncloud/android/lib/common/network/WebdavEntry.kt -2
+ library/src/main/java/com/owncloud/android/lib/resources/activities/GetActivitiesRemoteOperation.java -2
+ library/src/main/java/com/owncloud/android/lib/resources/files/SearchRemoteOperation.java -1
+ library/src/main/java/com/owncloud/android/lib/resources/files/ReadFolderRemoteOperation.java -3
+ library/src/main/java/com/owncloud/android/lib/resources/files/ReadFileRemoteOperation.java -2
Clones added
============
- library/src/main/java/com/nextcloud/operations/MkColMethod.kt 2
- library/src/main/java/com/nextcloud/operations/MoveMethod.kt 2
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLock.kt 5
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCTrashbinLocation.kt 2
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCTrashbinDeletionTime.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataPhotosGPS.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockTime.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCUploadTime.kt 3
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCSharees.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCCommentsUnread.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockOwnerType.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCCreationTime.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockOwner.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataSize.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockTimeout.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockOwnerDisplayName.kt 2
- library/src/main/java/com/owncloud/android/lib/common/network/WebdavUtils.kt 4
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCNote.kt 2
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataLivePhoto.kt 2
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataPhotosSize.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCHidden.kt 2
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCTrashbinFilename.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCMetadataGPS.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockOwnerEditor.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCLockToken.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCTags.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCLocalId.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCPreview.kt 2
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCEncrypted.kt 2
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCPermissions.kt 3
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCId.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/NCFavorite.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCOwnerDisplayName.kt 1
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCOwnerId.kt 9
- library/src/main/java/com/owncloud/android/lib/resources/files/webdav/OCSize.kt 6
Clones removed
==============
+ library/src/main/java/com/nextcloud/android/lib/resources/profile/GetHoverCardRemoteOperation.kt -1
+ library/src/androidTest/java/com/owncloud/android/lib/resources/files/ReadFileRemoteOperationIT.kt -2
+ library/src/androidTest/java/com/owncloud/android/FileIT.java -8
+ library/src/main/java/com/nextcloud/common/NextcloudClient.kt -1
+ library/src/androidTest/java/com/owncloud/android/lib/resources/e2ee/UpdateMetadataRemoteOperationIT.java -2
+ library/src/main/java/com/owncloud/android/lib/resources/status/GetCapabilitiesRemoteOperation.java -2
See the complete overview on Codacy
Loading