OriginCode Photo Gallery 1.0.8

Does OriginCode Photo Gallery work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 468.4 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.035 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/photo-contest/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=photo-contest%2Fgallery-photo.php&plugin_status=all&paged=1&s&_wpnonce=4856228a09
Aspect after-activation
HTTP status 200
Load time 6.573 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Photo Gallery WP

Page screenshot: Photo Gallery WP
URL /wp-admin/admin.php?page=origincode_photo_gallery_wp_gallery
Aspect menu-item
HTTP status 200
Load time 0.512 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Photo Gallery WP → General Options

Page screenshot: Photo Gallery WP → General Options
URL /wp-admin/admin.php?page=origincode_photo_gallery_wp_general_options
Aspect menu-item
HTTP status 200
Load time 0.767 s
Memory usage 3.79 MiB
JS errors None
Resource errors None

Photo Gallery WP → Lightbox Options

Page screenshot: Photo Gallery WP → Lightbox Options
URL /wp-admin/admin.php?page=origincode_photo_gallery_wp_lightbox_options
Aspect menu-item
HTTP status 200
Load time 0.300 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Photo Gallery WP → Albums PRO

Page screenshot: Photo Gallery WP → Albums PRO
URL /wp-admin/admin.php?page=origin_code_ph_gallery_albums
Aspect menu-item
HTTP status 200
Load time 0.513 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.340 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.770 s
Memory usage 4.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.311 s0.480 s+0.169 s3.08 MiB3.57 MiB+ 499.27 KiB
/wp-admin/edit.php0.178 s0.277 s+0.099 s3.11 MiB3.6 MiB+ 499.48 KiB
/wp-admin/post-new.php0.870 s1.251 s+0.381 s5.27 MiB5.75 MiB+ 494.59 KiB
/wp-admin/upload.php0.395 s0.465 s+0.070 s3.03 MiB3.51 MiB+ 490.17 KiB
/wp-admin/options-writing.php0.162 s0.232 s+0.070 s3.02 MiB3.42 MiB+ 410.3 KiB
/wp-admin/media-new.php0.252 s0.205 s-0.047 s3.01 MiB3.42 MiB+ 426.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.229 s+0.057 s3.04 MiB3.52 MiB+ 499.14 KiB
/wp-admin/post-new.php?post_type=page1.122 s0.720 s-0.402 s5.26 MiB5.74 MiB+ 494.18 KiB
/wp-admin/options-discussion.php0.310 s0.365 s+0.055 s3 MiB3.42 MiB+ 425.85 KiB
/wp-admin/edit-comments.php0.235 s0.246 s+0.011 s3.04 MiB3.53 MiB+ 497.43 KiB
/0.358 s0.283 s-0.075 s2.96 MiB3.36 MiB+ 415.64 KiB
Average 0.397 s0.432 s+0.035 s3.44 MiB3.89 MiB+ 468.4 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
CSS
SVG
Language % Lines of code Comment lines Files
PHP50.2%13,63077343
JavaScript28.3%7,68242427
CSS11.3%3,0589511
SVG10.2%2,777015
HTML0.0%901
Total 27,156 1,292 97

PHP Code Analysis | More results »

Lines of code 6,754
Total complexity 815
Median class complexity 19.5
Median method complexity 1.0
Most complex class OriginCode_Photo_Gallery_WP_Ajax
Most complex function OriginCode_Photo_Gallery_WP_Ajax::like_dislike()
Classes 16
Methods 133
Functions 12

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 3

Options wp_options 347

Sidebar Widgets 1

ID Name
origincode_photo_gallery_wp_widgetPhoto Gallery WP

PHP Error Log 4 lines

[09-Sep-2021 20:50:47 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5586
[09-Sep-2021 20:50:47 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5586
[09-Sep-2021 20:50:51 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5586
[09-Sep-2021 20:50:51 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5586
See also: All tests for this plugin, How to Hide OriginCode Photo Gallery Admin Menus