-
Home
-
DeepL API translation plugin
-
2.4.5 (latest)
-
Code
-
Classes
- DeepLApi
Total Complexity |
72 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
456 |
Lines of code |
280 |
Logical lines of code |
168 |
Comment lines |
62 |
Methods |
20 |
Properties |
27 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
request() |
D |
30 |
31 |
114 |
doRequest() |
S |
58 |
5 |
17 |
doGETRequest() |
S |
51 |
4 |
26 |
getEndPointURL() |
S |
59 |
4 |
15 |
__construct() |
S |
61 |
3 |
13 |
getRequestTime() |
S |
64 |
3 |
11 |
doPOSTRequest() |
S |
53 |
2 |
24 |
getCacheFile() |
S |
68 |
3 |
8 |
getRequestUniqueID() |
S |
67 |
3 |
9 |
saveRequest() |
S |
73 |
2 |
5 |
setCachePrefix() |
S |
68 |
2 |
8 |
setCacheNames() |
S |
65 |
2 |
9 |
isValidRequest() |
S |
82 |
1 |
3 |
addHeaders() |
S |
82 |
1 |
3 |
buildBody() |
S |
100 |
1 |
0 |
allowCache() |
S |
79 |
1 |
3 |
setCacheID() |
S |
81 |
1 |
3 |
getTimeElapsed() |
S |
82 |
1 |
3 |
wasItCached() |
S |
80 |
1 |
3 |
getInstance() |
S |
81 |
1 |
3 |