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

Stats::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
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