Passed
Push — master ( 47699c...d74cf0 )
by Rougin
01:47
created

TestController::greet()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1.037

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 3
cp 0.6667
crap 1.037
rs 10
1
<?php
2
3
namespace App\Example;
4
5
use App\Facades\View;
6
7
/**
8
 * Test Controller
9
 *
10
 * @package App
11
 * @author  Rougin Royce Gutib <[email protected]>
12
 */
13
class TestController
14
{
15
    /**
16
     * Greets you with a "lorem ipsum" text.
17
     *
18
     * @return string
19
     */
20 2
    public function greet()
21
    {
22 2
        return View::make('fixture.test');
23
    }
24
}
25