Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲1.27ms] Passed 4 tests
A check of server-side resources used by Product Image Hover Effects WOOC - WPSHARE247
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 44.13 ▼0.54 |
Dashboard /wp-admin | 3.39 ▲0.09 | 55.38 ▼0.98 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 72.25 ▲19.84 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 97.05 ▲3.48 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 40.92 ▲3.11 |
Configure Piew /wp-admin/admin.php?page=ws247-piew-options | 3.33 | 39.69 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Product Image Hover Effects WOOC - WPSHARE247
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲136 | 14.01 ▼0.36 | 11.87 ▲10.19 | 40.56 ▼3.56 |
Dashboard /wp-admin | 2,216 ▲36 | 4.88 ▼0.80 | 99.09 ▲7.97 | 40.88 ▲0.26 |
Posts /wp-admin/edit.php | 2,130 ▲33 | 2.30 ▲0.32 | 48.25 ▲8.35 | 40.99 ▲4.21 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.65 ▼0.14 | 686.59 ▼34.21 | 36.09 ▼32.19 |
Media Library /wp-admin/upload.php | 1,418 ▲15 | 4.43 ▲0.20 | 102.08 ▼3.67 | 43.29 ▼1.11 |
Configure Piew /wp-admin/admin.php?page=ws247-piew-options | 2,329 | 3.31 | 92.87 | 22.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/theme_functions.php:19
- > PHP Notice
Undefined variable: field in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/tabs/group_effect.php on line 1
- > PHP Notice
Undefined variable: checked in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/tabs/group_effect.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/tabs/tab_pro_general.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/class.setting.page.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/option-form-template.php:8
- > PHP Notice
Undefined variable: field in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/tabs/group_effect.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/tabs/group_effect.php:6
- > PHP Notice
Undefined variable: checked in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/tabs/group_gallery.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/product-image-hover-effects-wooc-wpshare247/inc/define.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== product-image-hover-effects-wooc-wpshare247 ===
) - Screenshots: These screenshots lack descriptions #5, #6 in product-image-hover-effects-wooc-wpshare247/assets to your readme.txt
product-image-hover-effects-wooc-wpshare247/wooc-product-img-effects-wpshare247.php 85% from 13 tests
The primary PHP file in "Product Image Hover Effects WOOC - WPSHARE247" version 1.0.7 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("product-image-hover-effects-wooc-wpshare247.php" instead of "wooc-product-img-effects-wpshare247.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin10,057 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 2,364 | 1,290 | 7,643 |
CSS | 9 | 288 | 51 | 1,646 |
PHP | 9 | 119 | 35 | 687 |
PO File | 1 | 33 | 1 | 81 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 7 | 77.78% |
▷ Class constants | 2 | 22.22% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin