Kint_Object_Trace   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 18
rs 10
c 0
b 0
f 0
wmc 3
lcom 1
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getType() 0 4 1
A getSize() 0 8 2
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