freakimkaefig/Music-XML-Analyzer

View on GitHub
app/controllers/UploadController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method postUpload has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function postUpload() {
        $user = User::find(Cookie::get('user_id'));
        $file = Input::file('file');
        if($file) {
            $destinationPath = public_path() . '/uploads/' . $user->id . '/';
Severity: Minor
Found in app/controllers/UploadController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status