Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.18MB] [CPU: ▲3.67ms] Passed 4 tests
Server-side resources used by Bluff Post
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.62 ▲1.16 | 46.89 ▲8.24 |
Dashboard /wp-admin | 4.50 ▲1.19 | 49.42 ▲5.14 |
Posts /wp-admin/edit.php | 4.55 ▲1.19 | 52.23 ▲4.02 |
Add New Post /wp-admin/post-new.php | 7.08 ▲1.19 | 101.56 ▼2.74 |
Media Library /wp-admin/upload.php | 4.42 ▲1.19 | 43.88 ▲11.04 |
Reservation list /wp-admin/admin.php?page=blfpst-send-mail-reserves | 4.46 | 39.59 |
Registration recipient /wp-admin/admin.php?page=blfpst-target-register | 4.50 | 50.66 |
Outbox /wp-admin/admin.php?page=blfpst-send-mail-histories | 4.46 | 37.95 |
All Mails /wp-admin/edit.php?post_type=blfpst_mail | 4.47 | 43.44 |
Sending e-mail /wp-admin/admin.php?page=blfpst-send-mail-sending | 4.46 | 39.96 |
Recipients /wp-admin/admin.php?page=blfpst-targets | 4.41 | 38.08 |
Registration template /wp-admin/admin.php?page=blfpst-mail-template-create | 4.50 | 41.07 |
Bluff Post /wp-admin/options-general.php?page=blfpst-target-option | 4.58 | 39.02 |
Exclusion recipients /wp-admin/admin.php?page=blfpst-target-exclude-recipient | 4.44 | 36.05 |
Failure /wp-admin/admin.php?page=blfpst-send-mail-failures | 4.46 | 40.45 |
Server storage [IO: ▲1.57MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 146 new files
Database: 8 new tables, 11 new options
New tables |
---|
wp_blfpst_target_conditionals |
wp_blfpst_send_mails |
wp_blfpst_recipients |
wp_blfpst_mail_froms |
wp_blfpst_logs |
wp_blfpst_targets |
wp_blfpst_mail_templates |
wp_blfpst_exclude_recipients |
New WordPress options |
---|
widget_theysaidso_widget |
widget_bluff_subscribe_widget |
widget_recent-comments |
_blfpst_db_lock |
_blfpst_db_version |
theysaidso_admin_options |
blfpst_options |
widget_recent-posts |
db_upgraded |
_blfpst_plugin_version |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bluff Post
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,967 ▲232 | 13.26 ▼1.11 | 4.34 ▲2.66 | 44.09 ▲3.91 |
Dashboard /wp-admin | 2,352 ▲167 | 5.82 ▼0.02 | 102.63 ▲0.68 | 38.11 ▼1.27 |
Posts /wp-admin/edit.php | 2,241 ▲152 | 2.07 ▲0.09 | 36.93 ▲2.00 | 37.02 ▲2.86 |
Add New Post /wp-admin/post-new.php | 1,658 ▲115 | 23.38 ▲4.92 | 643.05 ▲29.47 | 63.12 ▲10.77 |
Media Library /wp-admin/upload.php | 1,537 ▲155 | 4.20 ▼0.03 | 98.43 ▼3.06 | 45.03 ▲1.70 |
Reservation list /wp-admin/admin.php?page=blfpst-send-mail-reserves | 944 | 1.84 | 26.80 | 51.17 |
Registration recipient /wp-admin/admin.php?page=blfpst-target-register | 1,047 | 2.06 | 32.91 | 31.21 |
Outbox /wp-admin/admin.php?page=blfpst-send-mail-histories | 949 | 1.84 | 24.92 | 29.44 |
All Mails /wp-admin/edit.php?post_type=blfpst_mail | 1,211 | 1.97 | 31.50 | 29.69 |
Sending e-mail /wp-admin/admin.php?page=blfpst-send-mail-sending | 949 | 1.86 | 25.03 | 31.99 |
Recipients /wp-admin/admin.php?page=blfpst-targets | 966 | 1.84 | 28.08 | 30.66 |
Registration template /wp-admin/admin.php?page=blfpst-mail-template-create | 1,485 | 3.80 | 54.54 | 36.89 |
Bluff Post /wp-admin/options-general.php?page=blfpst-target-option | 1,614 | 2.21 | 40.98 | 36.89 |
Exclusion recipients /wp-admin/admin.php?page=blfpst-target-exclude-recipient | 980 | 1.98 | 31.54 | 32.45 |
Failure /wp-admin/admin.php?page=blfpst-send-mail-failures | 948 | 1.90 | 26.47 | 33.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The plugin did not uninstall successfully, leaving 8 tables in the database
- wp_blfpst_mail_froms
- wp_blfpst_mail_templates
- wp_blfpst_target_conditionals
- wp_blfpst_targets
- wp_blfpst_recipients
- wp_blfpst_logs
- wp_blfpst_exclude_recipients
- wp_blfpst_send_mails
- Zombie WordPress options detected upon uninstall: 11 options
- blfpst_options
- widget_bluff_subscribe_widget
- _blfpst_plugin_version
- _blfpst_db_lock
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- _blfpst_db_version
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 129× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/bluff-post/views/home.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/bluff-post/themes/blfpst-default/single-blfpst_mail.php:2
- > PHP Notice
Undefined variable: data in wp-content/plugins/bluff-post/views/send/create.php on line 28
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bluff-post/views/send/create.php on line 25
- > PHP Notice
Undefined variable: data in wp-content/plugins/bluff-post/views/target/create.php on line 23
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bluff-post/views/target/create.php on line 19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bluff-post/views/options/option.php on line 21
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bluff-post/views/send/create.php on line 29
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bluff-post/views/template/templates.php on line 19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/bluff-post/views/target/create.php on line 23
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #2 is missing in bluff-post/assets to your readme.txt
bluff-post/bluff-post.php Passed 13 tests
Analyzing the main PHP file in "Bluff Post" version 1.1.1
49 characters long description:
Publish the e-mail magazine plugin for WordPress.
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 detected17,238 lines of code in 138 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 2,303 | 3,016 | 10,342 |
JavaScript | 64 | 1,022 | 614 | 5,161 |
PO File | 1 | 379 | 601 | 712 |
CSS | 5 | 59 | 3 | 577 |
HTML | 2 | 0 | 22 | 286 |
JSON | 4 | 0 | 0 | 160 |
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.46 |
Average class complexity | 34.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 256.00 |
Average method complexity | 4.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 1 | 2.86% |
▷ Concrete classes | 34 | 97.14% |
▷ Final classes | 0 | 0.00% |
Methods | 328 | |
▷ Static methods | 126 | 38.41% |
▷ Public methods | 274 | 83.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 54 | 16.46% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.20MB with 0.14MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 150.01KB | 48.85KB | ▼ 67.44% |
assets/screenshot-1.png | 59.08KB | 15.06KB | ▼ 74.51% |