-
Home
-
Comments – wpDiscuz
-
7.5.2
-
Code
-
Classes
- WpdiscuzHelperUpload
Total Complexity |
249 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
893 |
Lines of code |
767 |
Logical lines of code |
516 |
Comment lines |
17 |
Methods |
42 |
Properties |
9 |
Methods 42
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
uploadFiles() |
D |
28 |
39 |
119 |
getAttachedImages() |
B |
34 |
18 |
85 |
removeAttachmentPreview() |
B |
41 |
17 |
49 |
addAttachments() |
A |
53 |
12 |
21 |
deleteAttachment() |
A |
50 |
9 |
26 |
exportPersonalData() |
A |
53 |
9 |
21 |
imageFixOrientation() |
A |
53 |
9 |
21 |
uploadSingleFile() |
A |
43 |
7 |
43 |
isUploadingAllowed() |
A |
56 |
8 |
16 |
getFileName() |
A |
56 |
8 |
16 |
deleteLinkedAttachments() |
S |
59 |
8 |
14 |
deleteAttachmentIdFromMeta() |
S |
53 |
7 |
23 |
getAttachments() |
S |
53 |
7 |
20 |
getMimeType() |
S |
55 |
7 |
18 |
getMimeTypeFromContent() |
S |
57 |
6 |
15 |
isAllowedFileType() |
S |
60 |
6 |
13 |
hasAttachments() |
S |
62 |
6 |
12 |
canUserUpload() |
S |
59 |
5 |
14 |
__construct() |
S |
47 |
3 |
33 |
getImageSizes() |
S |
57 |
4 |
16 |
getImagesSizes() |
S |
64 |
5 |
10 |
getWpdiscuzMedia() |
S |
62 |
5 |
10 |
deleteUnattachedFiles() |
S |
54 |
3 |
21 |
isAllowedPostType() |
S |
73 |
4 |
4 |
canEditAttachments() |
S |
63 |
4 |
9 |
commentText() |
S |
69 |
4 |
6 |
decrypt() |
S |
58 |
3 |
14 |
uploadButtons() |
S |
57 |
3 |
14 |
wpdiscuzMediaFiler() |
S |
59 |
3 |
13 |
wpdiscuzMediaCommentColumn() |
S |
70 |
3 |
6 |
combineArray() |
S |
66 |
3 |
9 |
getDeleteHtml() |
S |
69 |
2 |
5 |
uploadPreview() |
S |
65 |
2 |
9 |
commentListArgs() |
S |
67 |
2 |
8 |
afterReadMore() |
S |
79 |
1 |
3 |
setCurrentUser() |
S |
81 |
1 |
3 |
getDefaultPostTypes() |
S |
79 |
1 |
3 |
getDefaultRoles() |
S |
78 |
1 |
3 |
isImage() |
S |
79 |
1 |
3 |
postComment() |
S |
73 |
1 |
5 |
wmuImageCallbacks() |
S |
76 |
1 |
4 |
encrypt() |
S |
62 |
1 |
10 |