-
Home
-
Translate Multilingual sites – TranslatePress
-
2.4.2
-
Code
-
Classes
- TRP_Google_Translate_V2_Machine_Translator
Total Complexity |
37 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
198 |
Lines of code |
125 |
Logical lines of code |
65 |
Comment lines |
36 |
Methods |
8 |
Properties |
0 |
Methods 8
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
translate_array() |
A |
44 |
16 |
40 |
check_api_key_validity() |
A |
49 |
7 |
32 |
get_supported_languages() |
S |
53 |
7 |
21 |
send_request() |
S |
55 |
2 |
19 |
get_api_key() |
S |
77 |
2 |
3 |
test_request() |
S |
79 |
1 |
3 |
get_engine_specific_language_codes() |
S |
80 |
1 |
3 |
check_formality() |
S |
77 |
1 |
4 |