Arthelh/NCNF

View on GitHub
app/src/main/java/com/ncnf/utilities/user/LocationService.java

Summary

Maintainability
A
1 hr
Test Coverage
C
70%

Method getLocation has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void getLocation() {
        LocationRequest mLocationRequestHighAccuracy = new LocationRequest();
        mLocationRequestHighAccuracy.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
        mLocationRequestHighAccuracy.setInterval(UPDATE_INTERVAL);
        mLocationRequestHighAccuracy.setFastestInterval(FASTEST_INTERVAL);
Severity: Minor
Found in app/src/main/java/com/ncnf/utilities/user/LocationService.java - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status