NilASTNode   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
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 10
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
1
<?php
2
3
namespace Vlaswinkel\Lua\AST;
4
5
/**
6
 * Class NilASTNode
7
 *
8
 * @author  Koen Vlaswinkel <[email protected]>
9
 * @package Vlaswinkel\Lua\AST
10
 */
11
class NilASTNode extends ASTNode {
12
    const NAME = 'nil';
13
14
    /**
15
     * @return string
16
     */
17 1
    public function getName() {
18 1
        return self::NAME;
19
    }
20
}