Completed
Push — master ( 4145fd...56b6bc )
by Angus
03:27
created

Stats   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 14
ccs 0
cts 9
cp 0
rs 10
c 0
b 0
f 0
wmc 2
lcom 1
cbo 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A index() 0 8 1
1
<?php defined('BASEPATH') OR exit('No direct script access allowed');
2
3
class Stats extends MY_Controller {
4
	public function __construct() {
5
		parent::__construct();
6
	}
7
8
	public function index() {
9
		$this->header_data['title'] = "Site Stats";
10
		$this->header_data['page']  = "stats";
11
12
		$this->body_data['stats'] = $this->Tracker->getStats();
13
14
		$this->_render_page("Stats");
15
	}
16
}
17