Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.99ms] Passed 4 tests
A check of server-side resources used by SIP Social Proof for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.54 ▼4.30 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.76 ▲0.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.99 ▼4.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.28 ▼11.76 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.23 ▲1.08 |
ShopitPress Extras /wp-admin/admin.php?page=sip-extras | 3.00 | 26.96 |
Social Proof /wp-admin/admin.php?page=sip-social-proof-settings | 3.00 | 21.99 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
refresh_stats_every_x_hours |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by SIP Social Proof for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.26 ▼1.39 | 1.74 ▼0.16 | 43.50 ▼0.80 |
Dashboard /wp-admin | 2,206 ▲18 | 5.87 ▼0.04 | 107.59 ▲3.25 | 41.59 ▲2.93 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▼0.06 | 39.95 ▲0.33 | 35.76 ▼4.56 |
Add New Post /wp-admin/post-new.php | 1,542 ▲6 | 18.04 ▼5.21 | 587.36 ▼79.96 | 63.43 ▲14.01 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.31 ▲0.09 | 96.48 ▼10.17 | 43.36 ▼4.05 |
ShopitPress Extras /wp-admin/admin.php?page=sip-extras | 28 | 0.44 | 0.09 | 3.62 |
Social Proof /wp-admin/admin.php?page=sip-social-proof-settings | 28 | 0.44 | 0.09 | 4.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- refresh_stats_every_x_hours
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/sip-social-proof-woocommerce/admin/ui/addon.php
- 21× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant SIP_SPWC_PLUGIN_VERSION - assumed 'SIP_SPWC_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-social-proof-woocommerce/admin/ui/plugin.php on line 8
- > PHP Warning
Use of undefined constant SIP_SPWC_PLUGIN - assumed 'SIP_SPWC_PLUGIN' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-social-proof-woocommerce/admin/ui/plugin.php on line 9
- > PHP Warning
Use of undefined constant SIP_SPWC_PLUGIN_PURCHASE_URL - assumed 'SIP_SPWC_PLUGIN_PURCHASE_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-social-proof-woocommerce/admin/ui/help.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sip-social-proof-woocommerce/admin/ui/help.php:13
- > PHP Warning
Use of undefined constant SIP_SPWC_PLUGIN_URL - assumed 'SIP_SPWC_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-social-proof-woocommerce/admin/ui/plugin.php on line 8
- > PHP Warning
Use of undefined constant SIP_SPWC_URL - assumed 'SIP_SPWC_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-social-proof-woocommerce/admin/ui/themes.php on line 3
- > PHP Warning
Use of undefined constant SIP_SPWC_ADMIN_VERSION - assumed 'SIP_SPWC_ADMIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-social-proof-woocommerce/admin/ui/addon.php on line 110
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sip-social-proof-woocommerce/admin/sip-social-proof-admin.php:51
- > PHP Warning
Use of undefined constant SIP_WPGUMBY_THEME - assumed 'SIP_WPGUMBY_THEME' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-social-proof-woocommerce/admin/ui/themes.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sip-social-proof-woocommerce/admin/ui/themes.php:10
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=sip-extras
- > Network (severe)
wp-admin/admin.php?page=sip-extras - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=sip-social-proof-settings
- > Network (severe)
wp-admin/admin.php?page=sip-social-proof-settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: sip social proof woocommerce, sales count, daily sales, monthly sales, social-proof...
sip-social-proof-woocommerce/sip-social-proof-wc.php 69% from 13 tests
The entry point to "SIP Social Proof for WooCommerce" version 1.0.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sip-social-proof-woocommerce.php" instead of "sip-social-proof-wc.php")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version must match the one declared in readme.txt ("4.1" instead of "2.6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin879 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 127 | 155 | 609 |
CSS | 3 | 37 | 5 | 221 |
JavaScript | 2 | 7 | 3 | 49 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/icon-social-proof.png | 8.71KB | 9.18KB | 0.00% |
admin/assets/images/icon.png | 1.56KB | 1.04KB | ▼ 33.27% |
admin/assets/images/icon-reviews-shortcode.png | 7.81KB | 8.36KB | 0.00% |
admin/assets/images/icon-advanced-email.png | 21.89KB | 9.25KB | ▼ 57.75% |
admin/assets/images/icon-cookie-check.png | 21.19KB | 8.71KB | ▼ 58.89% |