-
Home
-
DeepL API translation plugin
-
2.4.5 (latest)
-
Code
-
Classes
- DeepLApiTranslate
Total Complexity |
79 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
469 |
Lines of code |
305 |
Logical lines of code |
197 |
Comment lines |
46 |
Methods |
20 |
Properties |
6 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getTranslations() |
B |
36 |
21 |
82 |
requestTranslation() |
A |
44 |
10 |
45 |
splitString() |
A |
45 |
8 |
45 |
buildBody() |
S |
52 |
7 |
24 |
setLangTo() |
S |
61 |
3 |
13 |
setLangFrom() |
S |
62 |
3 |
13 |
getMessage() |
S |
70 |
3 |
6 |
getDetectedLanguage() |
S |
70 |
3 |
6 |
setTagHandling() |
S |
70 |
3 |
6 |
getTranslatedText() |
S |
70 |
3 |
6 |
prepareString() |
S |
58 |
2 |
15 |
setSplitSentences() |
S |
67 |
2 |
8 |
setFormality() |
S |
68 |
2 |
7 |
setGlossary() |
S |
76 |
2 |
4 |
setPreserveFormatting() |
S |
67 |
2 |
8 |
resetTexts() |
S |
80 |
1 |
3 |
getRequestUniqueID() |
S |
74 |
1 |
4 |
addText() |
S |
74 |
1 |
4 |
finalPrepareRequest() |
S |
83 |
1 |
3 |
getRequest() |
S |
82 |
1 |
3 |