Application   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 7 2
1
<?php
2
3
namespace mvc\core;
4
5
use mvc\core\http\Response;
6
7
class Application
8
{
9
    public static function run()
10
    {
11
        $router = new Router();
12
        $response_content = $router->resolve();
13
14
        if ($response_content) {
15
            echo $response_content;
16
        }
17
    }
18
}
19