Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Static analysis #141

Merged
merged 52 commits into from
Aug 10, 2017
Merged

Static analysis #141

merged 52 commits into from
Aug 10, 2017

Conversation

alexstyl
Copy link
Owner

@alexstyl alexstyl commented Aug 8, 2017

Description

This PR introduces static analysis to the code base using the Novoda gradle static analysis plugin and Detekt

Rules and configuration was taken from: https://github.com/squanchy-dev/squanchy-android <3

This is due to the findbugs warning: This class implements the Comparator interface. You should consider whether or not it should also implement the Serializable interface. If a comparator is used to construct an ordered collection such as a TreeMap, then the TreeMap will be serializable only if the comparator is also serializable. As most comparators have little or no state, making them serializable is generally easy and good defensive programming.
Novoda Static Analysis: Errors 209, warnings 7
Detekt: warning 24, fail 24
@alexstyl alexstyl merged commit 67c68c3 into develop Aug 10, 2017
@alexstyl alexstyl deleted the static_analysis branch August 10, 2017 13:10
alexstyl added a commit that referenced this pull request Jul 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant