-
Home
-
WP Trip Summary
-
0.3.2 (latest)
-
Code
-
Classes
- Abp01_Transfer_Uploader
| Total Complexity |
52 |
| Dependencies |
7 |
| Dependents |
1 |
| Total lines |
392 |
| Lines of code |
177 |
| Logical lines of code |
99 |
| Comment lines |
121 |
| Methods |
18 |
| Properties |
14 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| receive() |
B |
38 |
17 |
72 |
| _detectTypeAndValidate() |
S |
57 |
6 |
17 |
| hasUploadedFile() |
S |
71 |
4 |
5 |
| setCustomValidator() |
S |
69 |
4 |
6 |
| _calculateFileSize() |
S |
66 |
3 |
9 |
| _haveAllChunksBeenUploaded() |
S |
77 |
2 |
3 |
| _processFileUploadReady() |
S |
64 |
2 |
10 |
| _isFileSizeValid() |
S |
71 |
2 |
6 |
| _passesFinalValidation() |
S |
77 |
2 |
4 |
| _passesCustomValidator() |
S |
71 |
2 |
6 |
| __construct() |
S |
62 |
1 |
11 |
| _getUploadedFileDeclaredMimeType() |
S |
80 |
1 |
3 |
| _processFileUploadFailed() |
S |
69 |
1 |
7 |
| isReady() |
S |
82 |
1 |
3 |
| _passesFileValidator() |
S |
72 |
1 |
6 |
| _getUploadedFileTmpPath() |
S |
80 |
1 |
3 |
| getDetectedType() |
S |
82 |
1 |
3 |
| getDestinationPath() |
S |
82 |
1 |
3 |