Showing 5 of 17 total issues
File GuessLocationActivity.java
has 455 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
package com.github.wnder.guessLocation;
import android.Manifest;
import android.animation.ValueAnimator;
import android.annotation.SuppressLint;
File TakePictureFragment.java
has 316 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
package com.github.wnder;
import android.Manifest;
import android.content.ContentValues;
import android.content.Context;
GuessLocationActivity
has 29 methods (exceeds 20 allowed). Consider refactoring. Open
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";
File FirebasePicturesDatabase.java
has 251 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
package com.github.wnder.picture;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
Method onCreate
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//Initialisation of class variables (MapBox creation)