-
Home
-
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory
-
2.8.118 (latest)
-
Code
-
Classes
- GeoDir_Post_Data
Total Complexity |
525 |
Dependencies |
10 |
Dependents |
8 |
Total lines |
2,546 |
Lines of code |
1,436 |
Logical lines of code |
856 |
Comment lines |
762 |
Methods |
46 |
Properties |
2 |
Methods 46
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
save_post() |
D |
13 |
95 |
222 |
add_listing_form() |
D |
20 |
48 |
208 |
schema() |
D |
23 |
41 |
161 |
save_files() |
D |
33 |
44 |
75 |
ajax_save_post() |
C |
38 |
29 |
57 |
wp_insert_post_data() |
B |
48 |
26 |
25 |
check_logged_out_author() |
B |
38 |
22 |
62 |
restore_post_revision() |
B |
35 |
20 |
87 |
auto_save_post() |
B |
42 |
17 |
48 |
get_post_class() |
A |
46 |
13 |
39 |
can_edit() |
A |
47 |
13 |
35 |
has_private_address() |
A |
48 |
13 |
34 |
set_post_to_publish() |
A |
55 |
10 |
17 |
delete_post() |
A |
49 |
9 |
30 |
set_public_status() |
S |
61 |
9 |
10 |
owner_check() |
S |
56 |
7 |
18 |
set_closed_status() |
S |
64 |
8 |
8 |
dynamically_add_post_meta() |
S |
57 |
7 |
15 |
the_gd_post() |
S |
63 |
7 |
9 |
ajax_save_post_message() |
S |
51 |
5 |
25 |
check_display_map() |
S |
65 |
6 |
8 |
transition_post_status() |
S |
62 |
6 |
10 |
on_gd_post_saved() |
S |
63 |
6 |
10 |
get_preview_link() |
S |
59 |
5 |
14 |
show_public_preview() |
S |
61 |
5 |
13 |
output_user_notes() |
S |
56 |
4 |
19 |
get_user_auto_drafts() |
S |
50 |
3 |
32 |
delete_revision() |
S |
58 |
4 |
14 |
remove_post_revisions() |
S |
61 |
4 |
11 |
get_post_preview_id() |
S |
56 |
3 |
19 |
setup_guest_cookie() |
S |
63 |
4 |
10 |
init() |
S |
53 |
2 |
21 |
reset_closed_status() |
S |
66 |
3 |
8 |
reset_public_status() |
S |
66 |
3 |
8 |
skip_spamblocker() |
S |
70 |
3 |
6 |
create_auto_draft() |
S |
63 |
3 |
9 |
embed_thumbnail_id() |
S |
66 |
3 |
7 |
save_auto_draft() |
S |
71 |
3 |
5 |
init_gd_post() |
S |
69 |
3 |
6 |
on_clean_post_cache() |
S |
72 |
3 |
5 |
add_listing_mandatory_note() |
S |
76 |
1 |
4 |
get_post_default_status() |
S |
79 |
1 |
3 |
post_class() |
S |
77 |
1 |
3 |
get_post_autosave() |
S |
89 |
1 |
2 |
update_post_meta() |
S |
89 |
1 |
2 |
set_object_terms() |
S |
89 |
1 |
2 |