| Percentage | Lines | ||
|---|---|---|---|
| Configuration |
|
0 % | 48 |
| JnsXhprofExtension |
|
0 % | 64 |
| CommandListener |
|
0 % | 137 |
| XhguiRuns |
|
7 % | 79 |
| XhprofCollector |
|
30 % | 204 |
| RequestListener |
|
100 % | 79 |
| CRAP Score | Lines | ||
|---|---|---|---|
| CommandListener::onCommand() | 72 | 34 | |
| XhprofCollector::stopProfiling() | 56 | 40 | |
| XhguiRuns::prepareForSave() | 42 | 35 | |
| JnsXhprofExtension::load() | 30 | 18 | |
| XhprofCollector::startProfiling() | 20 | 16 | |
| XhguiRuns::save_run() | 20 | 17 | |
| XhprofCollector::collect() | 12 | 6 | |
| RequestListener::onCoreRequest() | 10 | 30 | |
| XhprofCollector::isProfiling() | 6 | 4 | |
| JnsXhprofExtension::loadDefaults() | 6 | 8 | |