Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲3.52ms] 75% from 4 tests
An overview of server-side resources used by Gallery – Photo Albums Plugin
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 716.67ms on /wp-admin/edit.php?post_type=easymediagallery&page=emg-premium-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.12 ▼0.43 |
Dashboard /wp-admin | 3.57 ▲0.26 | 505.10 ▲449.70 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 48.66 ▲1.50 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 102.49 ▲7.29 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 39.18 ▲5.72 |
Easy Media Gallery Lite Changelog /wp-admin/edit.php?post_type=easymediagallery&page=emg-changelog | 3.48 | 36.52 |
Demo /wp-admin/edit.php?post_type=easymediagallery&page=emg-demo | 3.38 | 34.97 |
Earn EXTRA MONEY /wp-admin/edit.php?post_type=easymediagallery&page=emg-earn-xtra-money | 3.37 | 34.60 |
Free Install Plugins /wp-admin/edit.php?post_type=easymediagallery&page=emg-free-plugins | 3.44 | 612.09 |
Categories /wp-admin/edit-tags.php?taxonomy=emediagallery&post_type=easymediagallery | 3.40 | 37.11 |
Sorter /wp-admin/edit.php?post_type=easymediagallery&page=easymedia-order | 3.38 | 33.81 |
UPGRADE to PRO /wp-admin/edit.php?post_type=easymediagallery&page=comparison | 3.37 | 31.73 |
Settings /wp-admin/edit.php?post_type=easymediagallery&page=emg_settings | 3.39 | 34.83 |
What's NewNEW /wp-admin/edit.php?post_type=easymediagallery&page=emg-whats-new | 3.40 | 905.63 |
Premium Plugins /wp-admin/edit.php?post_type=easymediagallery&page=emg-premium-plugins | 3.40 | 716.67 |
Server storage [IO: ▲3.89MB] [DB: ▲0.03MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 304 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_emg-widget |
widget_theysaidso_widget |
easy_media_opt |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Gallery – Photo Albums Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,133 ▲376 | 13.73 ▼0.66 | 6.97 ▲4.78 | 42.28 ▼4.86 |
Dashboard /wp-admin | 2,389 ▲198 | 4.99 ▼0.91 | 105.26 ▼4.12 | 89.42 ▲41.68 |
Posts /wp-admin/edit.php | 2,203 ▲114 | 2.09 ▲0.06 | 37.35 ▼1.50 | 33.26 ▼0.62 |
Add New Post /wp-admin/post-new.php | 6,783 ▲5,248 | 22.24 ▼1.06 | 861.68 ▲181.18 | 120.94 ▲65.33 |
Media Library /wp-admin/upload.php | 1,502 ▲114 | 4.27 ▲0.09 | 115.69 ▲8.17 | 45.90 ▼2.59 |
Easy Media Gallery Lite Changelog /wp-admin/edit.php?post_type=easymediagallery&page=emg-changelog | 3,715 | 1.81 | 28.97 | 80.51 |
Demo /wp-admin/edit.php?post_type=easymediagallery&page=emg-demo | 1,526 | 8.84 | 242.41 | 85.72 |
Earn EXTRA MONEY /wp-admin/edit.php?post_type=easymediagallery&page=emg-earn-xtra-money | 1,052 | 2.10 | 27.75 | 70.02 |
Free Install Plugins /wp-admin/edit.php?post_type=easymediagallery&page=emg-free-plugins | 1,517 | 2.18 | 29.88 | 45.28 |
Categories /wp-admin/edit-tags.php?taxonomy=emediagallery&post_type=easymediagallery | 1,376 | 2.21 | 29.55 | 33.47 |
Sorter /wp-admin/edit.php?post_type=easymediagallery&page=easymedia-order | 950 | 1.88 | 29.19 | 27.67 |
UPGRADE to PRO /wp-admin/edit.php?post_type=easymediagallery&page=comparison | 1,969 | 1.68 | 27.06 | 60.38 |
Settings /wp-admin/edit.php?post_type=easymediagallery&page=emg_settings | 2,312 | 2.74 | 60.10 | 80.77 |
What's NewNEW /wp-admin/edit.php?post_type=easymediagallery&page=emg-whats-new | 1,018 | 1.72 | 26.13 | 46.30 |
Premium Plugins /wp-admin/edit.php?post_type=easymediagallery&page=emg-premium-plugins | 1,020 | 1.87 | 26.32 | 43.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- easy_media_opt
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_emg-widget
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/easy-media-gallery/easy-media-gallery.php
- > /wp-content/plugins/easy-media-gallery/includes/tinymce_plugin/register_mce_button.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-media-gallery/includes/frontend.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-media-gallery/includes/pages/emg-pricing.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-media-gallery/includes/emg-settings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-media-gallery/includes/shortcode.php:264
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-media-gallery/includes/metaboxes.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-media-gallery/includes/easywidget.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=easymediagallery&page=emg-demo
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/edit.php?post_type=easymediagallery&page=emg-demo
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
easy-media-gallery/easy-media-gallery.php 92% from 13 tests
The main file in "Gallery – Photo Albums Plugin" v. 1.3.170 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 351 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin26,581 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 27 | 4,344 | 5,500 | 12,624 |
PHP | 23 | 1,685 | 720 | 6,060 |
CSS | 25 | 674 | 250 | 4,501 |
JavaScript | 31 | 421 | 419 | 3,152 |
SVG | 2 | 0 | 1 | 244 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 130 | |
▷ Named functions | 129 | 99.23% |
▷ Anonymous functions | 1 | 0.77% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
138 PNG files occupy 1.07MB with 0.55MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/gray-grad.png | 0.21KB | 0.18KB | ▼ 11.74% |
css/images/magnify/Icon-4.png | 3.50KB | 1.20KB | ▼ 65.81% |
css/images/arrow_left.png | 3.35KB | 0.70KB | ▼ 79.07% |
includes/images/colorpicker/custom_hsb_h.png | 0.95KB | 0.73KB | ▼ 23.40% |
css/images/arrow_right_minimal.png | 3.41KB | 0.81KB | ▼ 76.18% |