Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.64ms] Passed 4 tests
Analyzing server-side resources used by WP Email Subscribe
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.96 ▼9.67 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.43 ▼0.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.12 ▼5.08 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.95 ▼7.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.40 ▲1.76 |
Server storage [IO: ▲7.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 203 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_wpulist_emails |
wp_wpulist_emails_lists |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
wpulist_list_managers |
wpulist_list_managers_details |
Browser metrics Passed 4 tests
WP Email Subscribe: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.35 ▼1.29 | 1.58 ▼0.38 | 35.27 ▼14.80 |
Dashboard /wp-admin | 2,200 ▲18 | 5.91 ▲1.06 | 107.68 ▲2.83 | 42.60 ▼1.10 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.14 | 39.53 ▼1.29 | 34.86 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.52 ▼5.56 | 685.58 ▲76.28 | 55.20 ▼0.38 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.21 ▼0.00 | 95.50 ▼8.78 | 42.03 ▼2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_wpulist_emails_lists
- wp_wpulist_emails
- The uninstall procedure has failed, leaving 8 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- wpulist_list_managers
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- wpulist_list_managers_details
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-ultimate-list/integration/aweber/get_access_tokens.php
- > /wp-content/plugins/wp-ultimate-list/integration/aweber/--get_access_tokens.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: accessSecret in wp-content/plugins/wp-ultimate-list/integration/aweber/--get_access_tokens.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'AWeberAPIBase' not found in wp-content/plugins/wp-ultimate-list/integration/aweber/aweber_api/aweber_response.php:14
- > PHP Notice
Undefined index: site_url in wp-content/plugins/wp-ultimate-list/integration/aweber/--get_access_tokens.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/wp-ultimate-list/integration/aweber/aweber_api/aweber_entry.php:3
- > PHP Notice
Undefined index: accessKey in wp-content/plugins/wp-ultimate-list/integration/aweber/--get_access_tokens.php on line 4
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/wp-ultimate-list/integration/aweber/aweber_api/oauth_application.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-ultimate-list/index.php:137
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/wp-ultimate-list/integration/aweber/aweber_api/aweber_collection.php:2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% 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
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 50 tag instead of maximum 10
wp-ultimate-list/index.php 85% from 13 tests
"WP Email Subscribe" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-ultimate-list.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin21,094 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 15,225 |
PHP | 44 | 754 | 1,214 | 3,920 |
CSS | 18 | 225 | 77 | 1,292 |
JavaScript | 8 | 53 | 36 | 657 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 137 | |
▷ Static methods | 2 | 1.46% |
▷ Public methods | 114 | 83.21% |
▷ Protected methods | 21 | 15.33% |
▷ Private methods | 2 | 1.46% |
Functions | 54 | |
▷ Named functions | 54 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 0.77MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/theme63/images/hero.png | 46.85KB | 22.91KB | ▼ 51.09% |
themes/theme79/images/hero.png | 89.60KB | 33.95KB | ▼ 62.11% |
themes/theme3/images/bg.png | 478.47KB | 149.98KB | ▼ 68.65% |
integration/logos/4.png | 13.83KB | 6.34KB | ▼ 54.15% |
integration/logos/1.png | 3.81KB | 1.86KB | ▼ 51.17% |