owncloud/core

View on GitHub
lib/private/Files/Cache/Propagator.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method propagateChange has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function propagateChange($internalPath, $time, $sizeDifference = 0) {
        $storageId = (int)$this->storage->getStorageCache()->getNumericId();

        $parents = $this->getParents($internalPath);

Severity: Minor
Found in lib/private/Files/Cache/Propagator.php - About 1 hr to fix

    Method commitBatch has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function commitBatch() {
            if (!$this->inBatch) {
                throw new \BadMethodCallException('Not in batch');
            }
            $this->inBatch = false;
    Severity: Minor
    Found in lib/private/Files/Cache/Propagator.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status