Jam_Exception_Upload   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php defined('SYSPATH') OR die('No direct access allowed.'); 
2
3
/**
4
 * Jam_Exception_Upload class
5
 *
6
 * @package    Despark/jam
7
 * @author     Yasen Yanev
8
 * @copyright  (c) 2014 Despark Ltd.
9
 * @license    http://creativecommons.org/licenses/by-sa/3.0/legalcode
10
 */
11
class Jam_Exception_Upload extends Kohana_Jam_Exception_Upload {
12
	
13 5
	function __construct($message, $fields = NULL)
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
14
	{
15 5
		parent::__construct($message, $fields);
16
	}
17
}