owncloud/core

View on GitHub
apps/dav/lib/RootCollection.php

Summary

Maintainability
A
3 hrs
Test Coverage

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

    public function __construct() {
        $config = \OC::$server->getConfig();
        $random = \OC::$server->getSecureRandom();
        $db = \OC::$server->getDatabaseConnection();
        $dispatcher = \OC::$server->getEventDispatcher();
Severity: Major
Found in apps/dav/lib/RootCollection.php - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status