Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.85ms] Passed 4 tests
Analyzing server-side resources used by Product Display for Prestashop
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.23 ▼8.76 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.57 ▼2.06 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 54.15 ▲1.87 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.69 ▼14.05 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.95 ▲1.49 |
Product Display for Prestashop /wp-admin/options-general.php?page=ps_product_display_ | 3.20 | 30.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Product Display for Prestashop
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 14.48 ▼0.28 | 1.66 ▼0.05 | 39.85 ▼2.90 |
Dashboard /wp-admin | 2,212 ▲24 | 5.86 ▲0.01 | 110.43 ▲5.77 | 41.31 ▲1.15 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.02 ▼0.04 | 40.61 ▼1.62 | 39.32 ▲2.69 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.25 ▲0.03 | 658.96 ▼29.46 | 58.10 ▲3.25 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.21 ▼0.05 | 98.77 ▼8.06 | 45.19 ▲2.82 |
Product Display for Prestashop /wp-admin/options-general.php?page=ps_product_display_ | 806 | 2.02 | 21.79 | 25.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ps_product_display_
- > Notice in wp-content/plugins/product-display-for-prestashop/product_display_for_prestashop.php+182
Trying to access array offset on value of type bool
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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-display-for-prestashop/product_display_for_prestashop.php:113
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% 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
1 plugin tags: prestashop
product-display-for-prestashop/product_display_for_prestashop.php 77% from 13 tests
Analyzing the main PHP file in "Product Display for Prestashop" version 1.0
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("product-display-for-prestashop.php" instead of "product_display_for_prestashop.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin157 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 49 | 24 | 147 |
CSS | 1 | 0 | 5 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin