-
Home
-
BuddyPress
-
14.2.1
-
Code
-
Classes
- BP_Attachment
Total Complexity |
86 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
746 |
Lines of code |
332 |
Logical lines of code |
161 |
Comment lines |
302 |
Methods |
15 |
Properties |
2 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
edit_image() |
A |
45 |
13 |
43 |
crop() |
A |
40 |
11 |
64 |
upload() |
A |
49 |
9 |
31 |
__construct() |
A |
51 |
9 |
25 |
add_revision() |
A |
45 |
8 |
40 |
get_image_data() |
S |
55 |
6 |
18 |
validate_mime_types() |
S |
61 |
5 |
12 |
sanitize_utf8_filename() |
S |
62 |
5 |
11 |
set_upload_dir() |
S |
58 |
4 |
16 |
create_dir() |
S |
64 |
4 |
11 |
set_upload_error_strings() |
S |
55 |
3 |
19 |
validate_upload() |
S |
65 |
4 |
9 |
includes() |
S |
66 |
3 |
8 |
upload_dir_filter() |
S |
61 |
1 |
14 |
script_data() |
S |
63 |
1 |
11 |