Skip to content

Remove legacy FindBugs tasks from build script - #4040

Merged
AndyScherzinger merged 1 commit into
masterfrom
ezaquarii/remove-findbugs
May 23, 2019
Merged

Remove legacy FindBugs tasks from build script#4040
AndyScherzinger merged 1 commit into
masterfrom
ezaquarii/remove-findbugs

Conversation

@ezaquarii

Copy link
Copy Markdown
Collaborator

Signed-off-by: Chris Narkiewicz hello@ezaquarii.com

Comment threadbuild.gradle Outdated
}

check.dependsOn 'checkstyle', 'findbugs', 'pmd', 'lint'
check.dependsOn 'checkstyle', 'pmd', 'lint'

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tobiasKaminsky likely knows

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just means that ./gradlew check will start checkstyle, pmd, etc.
So having findbug/spotbug in it would be nice.

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I added spotbugs here.

@codecov

codecovBot commented May 21, 2019

Copy link
Copy Markdown

Codecov Report

Merging #4040 into master will increase coverage by 1.59%.
The diff coverage is n/a.

@@ Coverage Diff @@## master #4040 +/- ##
===========================================
+ Coverage 12.71% 14.3% +1.59% 
Complexity 1 1 ===========================================
Files 329 329 Lines 30998 30998 Branches 4424 4424 ===========================================
+ Hits 3940 4435 +495 + Misses 26394 25779 -615 - Partials 664 784 +120
Impacted FilesCoverage ΔComplexity Δ
.../owncloud/android/authentication/AccountUtils.java40.27% <0%> (ø)0% <0%> (ø)⬇️
...n/java/com/owncloud/android/utils/BitmapUtils.java53.37% <0%> (+0.67%)0% <0%> (ø)⬇️
.../java/com/owncloud/android/utils/DisplayUtils.java19.85% <0%> (+1.12%)0% <0%> (ø)⬇️
...in/java/com/owncloud/android/utils/ThemeUtils.java54.16% <0%> (+1.85%)0% <0%> (ø)⬇️
...wncloud/android/providers/FileContentProvider.java22.74% <0%> (+2.02%)0% <0%> (ø)⬇️
...in/java/com/owncloud/android/datamodel/OCFile.java63.3% <0%> (+2.75%)0% <0%> (ø)⬇️
...cloud/android/ui/activity/FileDisplayActivity.java19.29% <0%> (+2.81%)0% <0%> (ø)⬇️
...loud/android/ui/fragment/ExtendedListFragment.java48.08% <0%> (+2.94%)0% <0%> (ø)⬇️
...loud/android/datamodel/ThumbnailsCacheManager.java33.39% <0%> (+4.26%)0% <0%> (ø)⬇️
.../java/com/owncloud/android/utils/MimeTypeUtil.java82.6% <0%> (+4.34%)0% <0%> (ø)⬇️
... and 8 more

Comment threadbuild.gradle
Comment threadbuild.gradle
@ezaquariiezaquarii self-assigned this May 21, 2019
@AndyScherzinger

Copy link
Copy Markdown
Member

@ezaquarii a rebase should help with the ci build now (latest merge to master fixed the pipeline, fix provided by @tobiasKaminsky)

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
@ezaquarii
ezaquariiforce-pushed the ezaquarii/remove-findbugs branch from 158251e to d6b4deeCompareMay 23, 2019 04:43
@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/9387.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Codacy

297

Lint

TypemasterPR
Warnings5858
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings25
Correctness Warnings74
Internationalization Warnings12
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings9
Performance Warnings122
Security Warnings47
Dodgy code Warnings141
Total434

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings25
Correctness Warnings74
Internationalization Warnings12
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings9
Performance Warnings122
Security Warnings47
Dodgy code Warnings141
Total434

@AndyScherzinger
AndyScherzinger merged commit 9b0a789 into masterMay 23, 2019
@AndyScherzinger
AndyScherzinger deleted the ezaquarii/remove-findbugs branch May 23, 2019 06:08
tobiasKaminsky added a commit that referenced this pull request May 24, 2019
3b31841 Merge pull request #3969 from nextcloud/receivePushDelete
6074c93 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
f28007e OCFileListFragment: Only scroll to top if directory changed (#4058)
b061e4d Merge commit '51ee4d88fd0555a945a24b1ab3beba2ffdc79c06'
51ee4d8 handle silent delete/delete-all push notifications do not ignore talk messages (will only be sent if no talk app is installed) exclude generated Parcelable
fb6b11f Use product name on rich document, if available (#3971)
4197d3b use proper qa build lib dependency
8c06097 Only compare directories if necessary
403a3e0 Use product name on rich document, if available use placeholder for string reset to master-snapshot fix analysis warning use new translatable string use var vor qa flavor too
9b0a789 Merge pull request #4040 from nextcloud/ezaquarii/remove-findbugs
d6b4dee Remove legacy FindBugs tasks from build script
53c9c05 daily dev 20190523
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@ezaquarii@AndyScherzinger@nextcloud-android-bot@tobiasKaminsky