Completed
Branch newinternal (4dede1)
by Simon
03:45
created

ApiException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/******************************************************************************
3
 * Wikipedia Account Creation Assistance tool                                 *
4
 *                                                                            *
5
 * All code in this file is released into the public domain by the ACC        *
6
 * Development Team. Please see team.json for a list of contributors.         *
7
 ******************************************************************************/
8
9
namespace Waca\API;
10
11
use Exception;
12
13
/**
14
 * ApiException
15
 */
16
class ApiException extends Exception
17
{
18
	/**
19
	 * @param string $message
20
	 */
21 1
	public function __construct($message)
22
	{
23 1
		$this->message = $message;
24 1
	}
25
}
26