rkuenzi-epfl/Wnder

View on GitHub
app/src/main/java/com/github/wnder/guessLocation/GuessLocationActivity.java

Summary

Maintainability
C
1 day
Test Coverage
B
80%

File GuessLocationActivity.java has 455 lines of code (exceeds 250 allowed). Consider refactoring.
Open

package com.github.wnder.guessLocation;

import android.Manifest;
import android.animation.ValueAnimator;
import android.annotation.SuppressLint;

    GuessLocationActivity has 29 methods (exceeds 20 allowed). Consider refactoring.
    Open

    @AndroidEntryPoint
    public class GuessLocationActivity extends AppCompatActivity implements OnMapReadyCallback, MapboxMap.OnMapClickListener, MapboxMap.OnCameraMoveListener {
    
        //Define all necessary and recurrent strings
        public static final String EXTRA_GUESS_MODE = "guess_mode";

      Method onCreate has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          @Override
          protected void onCreate(Bundle savedInstanceState) {
              super.onCreate(savedInstanceState);
      
              //Initialisation of class variables (MapBox creation)

        There are no issues that match your filters.

        Category
        Status