Controller   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 13
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * @author Thomas Tanghus
4
 * @author Thomas Tanghus
5
 * @copyright 2013-2014 Thomas Tanghus ([email protected])
6
 *
7
 * This file is licensed under the Affero General Public License version 3 or
8
 * later.
9
 * See the COPYING-README file.
10
 */
11
12
namespace OCA\Contacts;
13
14
use OCP\AppFramework\Controller as  BaseController;
15
use OCP\IRequest;
16
17
/**
18
 * Base Controller class for Contacts App
19
 */
20
class Controller extends BaseController {
21
22
	/**
23
	* @var App
24
	*/
25
	protected $app;
26
27
	public function __construct($appName, IRequest $request, App $app) {
28
		parent::__construct($appName, $request);
29
		$this->app = $app;
30
	}
31
32
}
33