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