Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/woocommerce-userfollowup/woocommerce-userfollowup.php+20
Methods with the same name as their class will not be constructors in a future version of PHP; wp_userfollowup has a deprecated constructor
Server metrics [RAM: ▼0.89MB] [CPU: ▼49.77ms] Passed 4 tests
Server-side resources used by WooCommerce UserFollowUp
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.11 ▼0.35 | 7.59 ▼32.28 |
Dashboard /wp-admin | 3.13 ▼0.22 | 8.26 ▼51.16 |
Posts /wp-admin/edit.php | 3.13 ▼0.23 | 10.22 ▼33.08 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.76 | 9.41 ▼82.57 |
Media Library /wp-admin/upload.php | 3.13 ▼0.10 | 8.20 ▼26.57 |
WP UserFollowUp /wp-admin/options-general.php?page=wp_userfollowup | 3.13 | 7.71 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce UserFollowUp
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.45 ▲0.07 | 1.83 ▲0.02 | 44.89 ▲8.18 |
Dashboard /wp-admin | 2,204 ▲16 | 5.84 ▲0.99 | 101.96 ▼13.44 | 40.25 ▼6.10 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.00 | 35.98 ▼4.89 | 34.85 ▼3.02 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.57 ▼0.58 | 641.30 ▲4.70 | 51.22 ▲0.31 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.18 ▼0.05 | 97.62 ▼1.16 | 42.15 ▼3.03 |
WP UserFollowUp /wp-admin/options-general.php?page=wp_userfollowup | 907 | 2.06 | 24.32 | 26.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/woocommerce-userfollowup/woocommerce-userfollowup.php+20
Methods with the same name as their class will not be constructors in a future version of PHP; wp_userfollowup has a deprecated constructor
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp_userfollowup
- > Deprecated in wp-content/plugins/woocommerce-userfollowup/woocommerce-userfollowup.php+20
Methods with the same name as their class will not be constructors in a future version of PHP; wp_userfollowup has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=wp_userfollowup
- > 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=wp_userfollowup
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp_userfollowup
- > Notice in wp-content/plugins/woocommerce-userfollowup/woocommerce-userfollowup.php+699
Trying to access array offset on value of type bool
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 items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woocommerce-userfollowup/woocommerce-userfollowup.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== woocommerce-userfollowup ===
)
woocommerce-userfollowup/woocommerce-userfollowup.php 92% from 13 tests
The main PHP script in "WooCommerce UserFollowUp" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 233 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected2,090 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 428 | 240 | 2,090 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 392.00 |
▷ Minimum class complexity | 392.00 |
▷ Maximum class complexity | 392.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 200 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 200 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin