Percentage | Lines | ||
---|---|---|---|
Listener |
|
85 % | 44 |
Event |
|
92 % | 51 |
EventsTree |
|
98 % | 146 |
events |
|
100 % | 77 |
CRAP Score | Lines | ||
---|---|---|---|
EventsTree::walkListeners() | 8 | 31 | |
EventsTree::addListener() | 4 | 16 | |
Event::__get() | 3 | 11 | |
events::getEventsTree() | 2 | 9 | |
EventsTree::fire() | 2 | 15 | |
EventsTree::removeListener() | 2 | 5 | |
Listener::remove() | 2 | 6 | |
Listener::__call() | 2 | 4 | |
events::listen() | 1 | 4 | |
events::capture() | 1 | 4 | |