scripts::get_id()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
ccs 2
cts 2
cp 1
crap 1
1
<?php
2
/**
3
 *
4
 * Advertisement management. An extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2018 phpBB Limited <https://www.phpbb.com>
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace phpbb\ads\location\type;
12
13
class scripts extends base
14
{
15
	/**
16
	 * {@inheritDoc}
17
	 */
18 5
	public function get_id()
19
	{
20 5
		return 'scripts';
21
	}
22
23
	/**
24
	 * {@inheritDoc}
25
	 */
26 5
	public function get_category()
27
	{
28 5
		return self::CAT_SPECIAL;
29
	}
30
}
31