Futsch1/medTimer

View on GitHub

Showing 3 of 42 total issues

Method generateTestMedicine has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void generateTestMedicine() {
        TestMedicine[] testMedicines = new TestMedicine[]{
                new TestMedicine("Omega 3 (EPA/DHA 500mg)", null, 1, new TestReminder[]{
                        new TestReminder("1", 9 * 60, 1, 0, ""),
                        new TestReminder("1", 18 * 60, 2, 2, "after meals")
Severity: Minor
Found in app/src/main/java/com/futsch1/medtimer/GenerateTestData.java - About 1 hr to fix

    Method onChildDrawOver has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public void onChildDrawOver(@NonNull Canvas c, @NonNull RecyclerView recyclerView,
                                    RecyclerView.ViewHolder viewHolder, float dX, float dY,
                                    int actionState, boolean isCurrentlyActive) {
    Severity: Major
    Found in app/src/main/java/com/futsch1/medtimer/helpers/SwipeHelper.java - About 50 mins to fix

      Method clearCanvas has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          private void clearCanvas(Canvas c, float left, float top, float right, float bottom) {
      Severity: Minor
      Found in app/src/main/java/com/futsch1/medtimer/helpers/SwipeHelper.java - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language