owncloud/core

View on GitHub
apps/files/lib/AppInfo/Application.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method __construct has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct(array $urlParams= []) {
        parent::__construct('files', $urlParams);
        $container = $this->getContainer();
        $server = $container->getServer();

Severity: Minor
Found in apps/files/lib/AppInfo/Application.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

                return $c->query('ServerContainer')->getMimeTypeLoader();
    Severity: Major
    Found in apps/files/lib/AppInfo/Application.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return $c->query('ServerContainer')->getLockingProvider();
      Severity: Major
      Found in apps/files/lib/AppInfo/Application.php - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status