-
Home
-
Leyka
-
3.27
-
Code
-
Classes
- Punycode
| Total Complexity |
96 |
| Dependencies |
1 |
| Dependents |
2 |
| Total lines |
440 |
| Lines of code |
279 |
| Logical lines of code |
221 |
| Comment lines |
30 |
| Methods |
15 |
| Properties |
0 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| encode() |
B |
37 |
19 |
77 |
| decode() |
A |
39 |
13 |
64 |
| is_valid_utf8() |
A |
53 |
15 |
17 |
| uniord() |
A |
62 |
11 |
8 |
| encodeHostName() |
A |
52 |
8 |
23 |
| decodeHostName() |
A |
54 |
8 |
19 |
| utf8() |
S |
63 |
7 |
8 |
| adapt() |
S |
62 |
3 |
10 |
| digit2codepoint() |
S |
65 |
3 |
9 |
| codepoint2digit() |
S |
64 |
3 |
9 |
| rstrpos() |
S |
68 |
2 |
7 |
| mb_strinsert() |
S |
68 |
1 |
7 |
| mb_substr() |
S |
68 |
1 |
7 |
| mb_strlen() |
S |
69 |
1 |
7 |
| mb_strtolower() |
S |
69 |
1 |
7 |