-
Home
-
rtMedia for WordPress, BuddyPress and bbPress
-
4.7.1 (latest)
-
Code
-
Classes
- RTMediaMigration
Total Complexity |
180 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
1,285 |
Lines of code |
995 |
Logical lines of code |
500 |
Comment lines |
160 |
Methods |
20 |
Properties |
1 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
importmedia() |
D |
21 |
55 |
185 |
migrate_single_media() |
D |
24 |
29 |
187 |
manage_album() |
B |
35 |
16 |
87 |
test() |
B |
32 |
9 |
153 |
__construct() |
A |
46 |
13 |
36 |
migrate_to_new_db() |
A |
42 |
10 |
61 |
get_done_count() |
A |
42 |
10 |
54 |
format_seconds() |
A |
49 |
10 |
31 |
get_total_count() |
S |
44 |
4 |
54 |
return_migration() |
S |
52 |
4 |
27 |
insert_comment() |
S |
51 |
4 |
26 |
migrate_encoding_options() |
S |
57 |
3 |
17 |
get_last_imported() |
S |
56 |
2 |
19 |
add_migration_notice() |
S |
60 |
2 |
15 |
table_exists() |
S |
68 |
2 |
7 |
search_and_replace() |
S |
63 |
2 |
10 |
migrate_image_size_fix() |
S |
67 |
2 |
7 |
menu() |
S |
63 |
1 |
13 |
hide_migration_notice() |
S |
80 |
1 |
3 |
create_notice() |
S |
78 |
1 |
3 |