Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▲1,032.77ms] 50% from 4 tests
An overview of server-side resources used by Image Comparison Addon for Elementor
Please have a look at the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 654.69ms on /wp-admin/options-general.php?page=image-comparison-elementor-addon-recommended-plugins)
- Extra CPU: The extra CPU usage should be kept under 200.00ms (currently 1,032.77ms on /wp-admin/options-general.php?page=image-comparison-elementor-addon-recommended-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 609.53 ▲560.33 |
Dashboard /wp-admin | 3.60 ▲0.30 | 1,479.41 ▲1,431.32 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 1,245.37 ▲1,197.51 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 1,276.57 ▲1,186.05 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 1,218.86 ▲1,187.19 |
Recommended /wp-admin/options-general.php?page=image-comparison-elementor-addon-recommended-plugins | 3.36 | 654.69 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 13 new options
New WordPress options |
---|
jlticel_notice_what_we_collect |
widget_recent-posts |
jlticel_sheet_promo_data |
jlticel_sheet_promo_data_hash |
theysaidso_admin_options |
image_comparison_elementor_addon_version |
db_upgraded |
widget_theysaidso_widget |
jlticel_activation_time |
jlticel_notice_subscribe |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Image Comparison Addon for Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,013 ▲267 | 13.37 ▼1.00 | 1.80 ▼0.37 | 38.07 ▼5.82 |
Dashboard /wp-admin | 2,392 ▲204 | 4.85 ▼0.05 | 100.15 ▼15.75 | 40.99 ▼1.79 |
Posts /wp-admin/edit.php | 2,206 ▲114 | 2.11 ▲0.09 | 39.80 ▲2.48 | 32.63 ▼3.02 |
Add New Post /wp-admin/post-new.php | 1,623 ▲103 | 21.20 ▼2.00 | 568.66 ▼111.07 | 53.92 ▼2.17 |
Media Library /wp-admin/upload.php | 1,503 ▲112 | 4.22 ▲0.02 | 97.09 ▼4.67 | 41.34 ▼1.22 |
Recommended /wp-admin/options-general.php?page=image-comparison-elementor-addon-recommended-plugins | 1,284 | 2.01 | 29.56 | 28.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 13 options in the database
- can_compress_scripts
- widget_recent-comments
- jlticel_sheet_promo_data
- widget_theysaidso_widget
- jlticel_notice_ask_for_rating
- image_comparison_elementor_addon_version
- theysaidso_admin_options
- widget_recent-posts
- jlticel_notice_what_we_collect
- jlticel_notice_subscribe
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=image-comparison-elementor-addon-recommended-plugins
- > Notice in wp-admin/includes/plugin-install.php+498
Undefined property: stdClass::$version
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'JLTELIC\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/image-comparison-elementor-addon/Inc/Classes/Notifications/Upgrade_Notice.php:14
- > PHP Fatal error
Uncaught Error: Class 'JLTELIC\\Libs\\Recommended' not found in wp-content/plugins/image-comparison-elementor-addon/Inc/Classes/Recommended_Plugins.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/image-comparison-elementor-addon/image-comparison-elementor-addon.php:21
- > PHP Fatal error
Uncaught Error: Class 'JLTELIC\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/image-comparison-elementor-addon/Inc/Classes/Notifications/Subscribe.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTELIC\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/image-comparison-elementor-addon/Inc/Classes/Notifications/Ask_For_Rating.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTELIC\\Libs\\Upgrader' not found in wp-content/plugins/image-comparison-elementor-addon/Inc/Classes/Upgrade_Plugin.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTELIC\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/image-comparison-elementor-addon/Inc/Classes/Notifications/What_We_Collect.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTELIC\\Libs\\RowLinks' not found in wp-content/plugins/image-comparison-elementor-addon/Inc/Classes/Row_Links.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=image-comparison-elementor-addon-recommended-plugins
- > Network (severe)
https://ps.w.org/ultimate-blocks-for-gutenberg/assets/icon-128x128.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: image, after before, elementor addon, image comparison addon, image comparison...
image-comparison-elementor-addon/image-comparison-elementor-addon.php 85% from 13 tests
"Image Comparison Addon for Elementor" version 1.0.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages/")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin5,195 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 928 | 1,479 | 3,858 |
JavaScript | 4 | 172 | 93 | 702 |
CSS | 4 | 122 | 17 | 635 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 27 | |
▷ Abstract classes | 4 | 14.81% |
▷ Concrete classes | 23 | 85.19% |
▷ Final classes | 1 | 4.35% |
Methods | 205 | |
▷ Static methods | 32 | 15.61% |
▷ Public methods | 199 | 97.07% |
▷ Protected methods | 4 | 1.95% |
▷ Private methods | 2 | 0.98% |
Functions | 9 | |
▷ Named functions | 5 | 55.56% |
▷ Anonymous functions | 4 | 44.44% |
Constants | 18 | |
▷ Global constants | 15 | 83.33% |
▷ Class constants | 3 | 16.67% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.19MB with 0.19MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/images/after.png | 5.58KB | 0.00KB | ▼ 100.00% |
(invalid) assets/images/before.png | 5.74KB | 0.00KB | ▼ 100.00% |
(invalid) assets/images/promo-image.png | 185.79KB | 0.00KB | ▼ 100.00% |