Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/rua-blog-subscriber-lite/rua-blog-subscriber-lite.php+664
Function create_function() is deprecated
Server metrics [RAM: ▼1.73MB] [CPU: ▼58.69ms] Passed 4 tests
A check of server-side resources used by RUA Blog Subscriber Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.31 ▼1.19 | 7.99 ▼38.10 |
Dashboard /wp-admin | 2.33 ▼1.06 | 8.28 ▼60.41 |
Posts /wp-admin/edit.php | 2.33 ▼1.07 | 7.96 ▼42.08 |
Add New Post /wp-admin/post-new.php | 2.33 ▼3.60 | 7.51 ▼94.15 |
Media Library /wp-admin/upload.php | 2.33 ▼0.94 | 8.93 ▼28.79 |
Email Subscribers Settings /wp-admin/options-general.php?page=rua-subscribers-settings | 2.33 | 8.11 |
Server storage [IO: ▲1.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 39 new files
Database: 1 new table, 22 new options
New tables |
---|
wp_rua_blog_subscriber |
New WordPress options |
---|
widget_theysaidso_widget |
rua_company_state |
rua_from_email_address |
rua_company_phone_number |
rua_blog_subscriber_db_version |
widget_recent-comments |
rua_custom_message |
rua_site_url |
rua_email_subject |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for RUA Blog Subscriber Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲185 | 13.87 ▼0.54 | 10.62 ▲8.92 | 41.53 ▼10.07 |
Dashboard /wp-admin | 2,211 ▲34 | 5.61 ▼0.03 | 103.06 ▲7.61 | 45.13 ▲2.54 |
Posts /wp-admin/edit.php | 2,116 ▲19 | 2.03 ▲0.04 | 34.96 ▼2.65 | 35.21 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.78 ▲0.72 | 670.98 ▼53.52 | 57.54 ▲7.58 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.20 ▼0.04 | 112.52 ▲8.20 | 49.31 ▼0.30 |
Email Subscribers Settings /wp-admin/options-general.php?page=rua-subscribers-settings | 1,380 | 2.16 | 34.06 | 76.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/rua-blog-subscriber-lite/rua-blog-subscriber-lite.php+664
Function create_function() is deprecated
- Zombie tables detected upon uninstall: 1 table
- wp_rua_blog_subscriber
- This plugin did not uninstall successfully, leaving 22 options in the database
- rua_blog_subscriber_db_version
- widget_theysaidso_widget
- theysaidso_admin_options
- rua_company_state
- rua_from_email_address
- rua_company_zip
- rua_form_header
- rua_company_city
- rua_custom_message
- rua_email_logo
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=rua-subscribers-settings
- > Deprecated in wp-content/plugins/rua-blog-subscriber-lite/rua-blog-subscriber-lite.php+664
Function create_function() is deprecated
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rua-subscribers-settings
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rua-subscribers-settings
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rua-blog-subscriber-lite/includes/register-settings.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/rua-blog-subscriber-lite/templates/unsubscribe.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/rua-blog-subscriber-lite/templates/subscribe.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/rua-blog-subscriber-lite/includes/install.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/rua-blog-subscriber-lite/uninstall.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #6 is required in rua-blog-subscriber-lite/assets to your readme.txt
rua-blog-subscriber-lite/rua-blog-subscriber-lite.php Passed 13 tests
The main file in "RUA Blog Subscriber Lite" v. 1.5.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
115 characters long description:
WordPress plugin that displays a subscribe to blog form using a shortcode. You can place the shortcode in a page or
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
Good job! No executable or dangerous file extensions detected3,131 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 138 | 158 | 1,241 |
SVG | 2 | 0 | 0 | 943 |
CSS | 5 | 59 | 28 | 538 |
JavaScript | 6 | 28 | 40 | 409 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 2 | 22.22% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/images/email.png | 10.34KB | 4.23KB | ▼ 59.10% |
templates/images/success.png | 1.96KB | 0.99KB | ▼ 49.35% |
images/email.png | 10.34KB | 4.23KB | ▼ 59.10% |
images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
images/sort_both.png | 0.20KB | 0.29KB | 0.00% |