Kint_Object_Trace::getSize()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 4
nc 2
nop 0
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
class Kint_Object_Trace extends Kint_Object
0 ignored issues
show
Coding Style introduced by
Kint_Object_Trace does not seem to conform to the naming convention (^[A-Z][a-zA-Z0-9]*$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
4
{
5
    public $hints = array('trace');
6
7
    public function getType()
8
    {
9
        return 'Debug Backtrace';
10
    }
11
12
    public function getSize()
13
    {
14
        if (!$this->size) {
15
            return 'empty';
16
        }
17
18
        return parent::getSize();
19
    }
20
}
21