OriginCode Photo Gallery 1.0.7

Does OriginCode Photo Gallery work with WordPress 5.8 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.076 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8
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=20e1817cff
Aspect after-activation
HTTP status 200
Load time 16.248 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.608 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.792 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.351 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.507 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.335 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 2.059 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.347 s0.665 s+0.318 s3.08 MiB3.57 MiB+ 499.27 KiB
/wp-admin/edit.php0.180 s0.293 s+0.113 s3.11 MiB3.6 MiB+ 499.48 KiB
/wp-admin/post-new.php1.255 s1.670 s+0.415 s5.26 MiB5.75 MiB+ 494.59 KiB
/wp-admin/upload.php0.668 s0.664 s-0.004 s3.03 MiB3.51 MiB+ 490.17 KiB
/wp-admin/options-writing.php0.178 s0.210 s+0.032 s3.02 MiB3.42 MiB+ 410.3 KiB
/wp-admin/media-new.php0.300 s0.233 s-0.067 s3.01 MiB3.42 MiB+ 426.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.260 s+0.061 s3.04 MiB3.52 MiB+ 499.14 KiB
/wp-admin/post-new.php?post_type=page1.294 s1.266 s-0.028 s5.25 MiB5.74 MiB+ 494.18 KiB
/wp-admin/options-discussion.php0.364 s0.407 s+0.043 s3 MiB3.42 MiB+ 425.85 KiB
/wp-admin/edit-comments.php0.259 s0.280 s+0.021 s3.04 MiB3.53 MiB+ 497.43 KiB
/0.367 s0.294 s-0.073 s2.96 MiB3.36 MiB+ 415.64 KiB
Average 0.492 s0.567 s+0.076 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,62977443
JavaScript28.3%7,68242427
CSS11.3%3,0589511
SVG10.2%2,777015
HTML0.0%901
Total 27,155 1,293 97

PHP Code Analysis | More results »

Lines of code 6,753
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

[21-Jul-2021 11:05: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 5458
[21-Jul-2021 11:05: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 5458
[21-Jul-2021 11:05:56 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 5458
[21-Jul-2021 11:05:56 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 5458
See also: All tests for this plugin, How to Hide OriginCode Photo Gallery Admin Menus