Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼32.81ms] Passed 4 tests
Analyzing server-side resources used by Social Shop for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 32.86 ▼3.84 |
Dashboard /wp-admin | 3.00 ▼0.30 | 20.65 ▼28.11 |
Posts /wp-admin/edit.php | 3.00 ▼0.35 | 23.58 ▼23.91 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.88 | 19.43 ▼67.22 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 21.67 ▼11.98 |
StoreYa Social Shop for WooCommerce /wp-admin/options-general.php?page=facebook-shop-by-storeyacom | 3.00 | 21.80 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Social Shop for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.26 ▼1.12 | 1.61 ▼0.16 | 37.80 ▼8.64 |
Dashboard /wp-admin | 2,210 ▲19 | 5.08 ▲0.18 | 114.67 ▲11.41 | 41.63 ▼2.75 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.97 ▼0.09 | 35.16 ▼1.12 | 33.93 ▲0.96 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.35 ▲0.02 | 646.18 ▼16.70 | 53.50 ▼0.04 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▼0.04 | 92.93 ▼8.41 | 40.99 ▼4.99 |
StoreYa Social Shop for WooCommerce /wp-admin/options-general.php?page=facebook-shop-by-storeyacom | 782 | 2.03 | 28.54 | 29.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/facebook-shop-by-storeyacom/woocommerce-storeya-admin.php+185
Undefined variable: ws_domain
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=facebook-shop-by-storeyacom
- > Notice in wp-content/plugins/facebook-shop-by-storeyacom/woocommerce-storeya-admin.php+185
Undefined variable: ws_domain
- > GET request to /wp-admin/options-general.php?page=facebook-shop-by-storeyacom
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=facebook-shop-by-storeyacom
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/facebook-shop-by-storeyacom/woocommerce-storeya-frontend.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/facebook-shop-by-storeyacom/woocommerce-storeya.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/facebook-shop-by-storeyacom/woocommerce-storeya-admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/facebook-shop-by-storeyacom/woocommerce-storeya-common.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: You are using too many tags: 34 tag instead of maximum 10
facebook-shop-by-storeyacom/woocommerce-storeya.php 85% from 13 tests
The principal PHP file in "Social Shop for WooCommerce" v. 2.6 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 345 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("facebook-shop-by-storeyacom.php" instead of "woocommerce-storeya.php")
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
No dangerous file extensions were detected395 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 198 | 15 | 395 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 25.33 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 5.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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