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

TestController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 66.67%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 10
ccs 2
cts 3
cp 0.6667
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A greet() 0 3 1
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