| Percentage | Lines | ||
|---|---|---|---|
| ppp_core.Router |
|
91 % | 128 |
| tests.TestRecursion1 |
|
100 % | 10 |
| tests.Module3 |
|
100 % | 6 |
| tests.TestWhitelist |
|
100 % | 12 |
| tests.Module2 |
|
100 % | 6 |
| tests.TestBlacklist |
|
100 % | 12 |
| tests.FakeLogger |
|
100 % | 7 |
| ppp_core.Module |
|
100 % | 27 |
| tests.TestRecursion2 |
|
100 % | 11 |
| tests.InvalidConfFileTestCase |
|
100 % | 34 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ppp_core.freeze() | 45 | 13 | |
| main() | 12 | 7 | |
| ppp_core.Router._get_python() | 7 | 12 | |
| ppp_core.Router._get_streams() | 5 | 16 | |
| ppp_core.Router._process_answer() | 4 | 14 | |
| ppp_core.CoreConfig._parse_modules() | 4 | 10 | |
| tests.TestPython.testPython() | 4 | 12 | |
| ppp_core.Router.answer() | 4 | 26 | |
| tests.TestVerboseLog.testVerboseLog() | 4 | 21 | |
| ppp_core.Router._stream_reader() | 4 | 15 | |