owncloud/core

View on GitHub
lib/private/Files/Storage/Wrapper/Availability.php

Summary

Maintainability
C
1 day
Test Coverage

Availability has 39 functions (exceeds 20 allowed). Consider refactoring.
Open

class Availability extends Wrapper {
    public const RECHECK_TTL_SEC = 600; // 10 minutes

    public static function shouldRecheck($availability) {
        if (!$availability['available']) {
Severity: Minor
Found in lib/private/Files/Storage/Wrapper/Availability.php - About 5 hrs to fix

    File Availability.php has 352 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * @author Robin Appelman <icewind@owncloud.com>
     * @author Robin McCorkell <robin@mccorkell.me.uk>
     *
    Severity: Minor
    Found in lib/private/Files/Storage/Wrapper/Availability.php - About 4 hrs to fix

      There are no issues that match your filters.

      Category
      Status