owncloud/core

View on GitHub
lib/private/Files/FileInfo.php

Summary

Maintainability
B
5 hrs
Test Coverage

FileInfo has 32 functions (exceeds 20 allowed). Consider refactoring.
Open

class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
    /**
     * @var array $data
     */
    private $data;
Severity: Minor
Found in lib/private/Files/FileInfo.php - About 4 hrs to fix

    Method __construct has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function __construct($path, $storage, $internalPath, $data, $mount, $owner= null) {
    Severity: Minor
    Found in lib/private/Files/FileInfo.php - About 45 mins to fix

      Avoid too many return statements within this method.
      Open

                  return null;
      Severity: Major
      Found in lib/private/Files/FileInfo.php - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status