Completed
Push — master ( 4a1c4b...dec28d )
by Angus
03:08
created

About   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 17
ccs 13
cts 13
cp 1
rs 10
c 0
b 0
f 0
wmc 3
lcom 1
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 5 1
1
<?php defined('BASEPATH') OR exit('No direct script access allowed');
2
3
class About extends MY_Controller {
4 2
	public function __construct() {
5 2
		parent::__construct();
6 2
	}
7
8 1
	public function index() : void {
9 1
		$this->header_data['title'] = 'About';
10 1
		$this->header_data['page']  = 'about';
11 1
		$this->_render_page('About/About');
12 1
	}
13
14 1
	public function terms() : void {
15 1
		$this->header_data['title'] = 'Terms of Service';
16 1
		$this->header_data['page']  = 'terms';
17 1
		$this->_render_page('About/Terms');
18 1
	}
19
}
20