Futsch1/medTimer

View on GitHub
app/src/main/java/com/futsch1/medtimer/reminders/ReminderProcessor.java

Summary

Maintainability
A
0 mins
Test Coverage

Method onReceive has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    @Override
    public void onReceive(Context context, Intent intent) {
        WorkManager workManager = WorkManagerAccess.getWorkManager(context);
        if (DISMISSED_ACTION.equals(intent.getAction())) {
            workManager.enqueue(buildActionWorkRequest(intent, SkippedWork.class));

    Method getSnoozeIntent has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

        public static Intent getSnoozeIntent(@NonNull Context context, int reminderId, int reminderEventId, int notificationId, int snoozeTime) {
    Severity: Minor
    Found in app/src/main/java/com/futsch1/medtimer/reminders/ReminderProcessor.java - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status