-
Home
-
Gallery Plugin for WordPress – Envira Photo Gallery
-
1.8.11
-
Code
-
Classes
- Envira_Gallery_Shortcode
Total Complexity |
263 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
2,061 |
Lines of code |
1,160 |
Logical lines of code |
677 |
Comment lines |
546 |
Methods |
27 |
Properties |
11 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
gallery_init() |
D |
12 |
49 |
494 |
generate_gallery_item_markup() |
D |
24 |
57 |
120 |
shortcode() |
D |
30 |
31 |
99 |
get_image_src() |
D |
32 |
31 |
91 |
maybe_sort_gallery() |
B |
39 |
19 |
63 |
add_image_srcset_attributes() |
A |
51 |
8 |
26 |
find_clostest_size() |
S |
52 |
7 |
23 |
get_image_sizes() |
S |
51 |
6 |
26 |
maybe_change_link() |
S |
58 |
5 |
15 |
do_feed_output() |
S |
58 |
5 |
13 |
load_gallery_theme() |
S |
59 |
4 |
13 |
load_lightbox_theme() |
S |
59 |
4 |
13 |
description() |
S |
55 |
3 |
19 |
emr_clear_envira_cache() |
S |
65 |
4 |
8 |
plugin_humility() |
S |
65 |
4 |
8 |
get_gallery_classes() |
S |
58 |
3 |
14 |
get_indexable_images() |
S |
60 |
3 |
12 |
is_image() |
S |
60 |
3 |
12 |
get_gallery_item_classes() |
S |
61 |
3 |
11 |
get_toolbar_template() |
S |
55 |
2 |
19 |
get_instance() |
S |
70 |
3 |
6 |
minify() |
S |
61 |
2 |
11 |
get_lightbox_template() |
S |
55 |
1 |
19 |
get_config() |
S |
77 |
2 |
3 |
add_stylesheet_property_attribute() |
S |
70 |
2 |
6 |
__construct() |
S |
58 |
1 |
13 |
usort_callback() |
S |
78 |
1 |
3 |