Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.94ms] Passed 4 tests
An overview of server-side resources used by Subscription Form for Feedblitz
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.45 ▲1.91 |
Dashboard /wp-admin | 3.36 ▲0.05 | 51.40 ▼5.05 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 53.92 ▲5.80 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.53 ▼12.63 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.80 ▲4.00 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_feedblitz-email-subscription |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Subscription Form for Feedblitz: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.29 ▼0.30 | 1.90 ▲0.02 | 45.00 ▲4.37 |
Dashboard /wp-admin | 2,214 ▲34 | 5.65 ▼0.09 | 89.11 ▼4.03 | 43.28 ▼0.95 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.00 ▼0.00 | 42.48 ▲8.52 | 35.97 ▼1.99 |
Add New Post /wp-admin/post-new.php | 1,558 ▲13 | 22.79 ▼0.35 | 611.30 ▼46.83 | 66.20 ▲7.71 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.23 ▲0.04 | 101.53 ▼8.72 | 45.76 ▼2.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_feedblitz-email-subscription
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feedblitz-email-subscription/lib/settings.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/feedblitz-email-subscription/lib/dw_widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/feedblitz-email-subscription/feedblitz_form.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/feedblitz-email-subscription/lib/feedblitz_email_widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/feedblitz-email-subscription/lib/feedblitz_email_subscription_shortcode.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 to be fixed:
- Screenshots: These screenshots do not have images: #1 (Widget Settings), #2 (Widget in frontend), #3 (Example of FeedBlitz.com settings)
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
feedblitz-email-subscription/feedblitz_form.php 92% from 13 tests
The primary PHP file in "Subscription Form for Feedblitz" version 1.0.9 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("feedblitz-email-subscription.php" instead of "feedblitz_form.php")
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
Everything looks great! No dangerous files found in this plugin253 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 36 | 34 | 242 |
CSS | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 7.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin