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.25MB] [CPU: ▼318.85ms] Passed 4 tests
Analyzing server-side resources used by Thank Me Later
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.29 | 61.04 ▲6.88 |
Dashboard /wp-admin | 3.66 ▲0.25 | 86.13 ▲44.48 |
Posts /wp-admin/edit.php | 3.88 ▲0.24 | 42.86 ▲0.27 |
Add New Post /wp-admin/post-new.php | 7.19 ▲0.22 | 99.18 ▼1,305.00 |
Media Library /wp-admin/upload.php | 3.60 ▲0.31 | 53.15 ▲22.44 |
Messages /wp-admin/admin.php?page=bbpp_thankmelater | 3.66 | 37.21 |
Install /wp-admin/admin.php?page=bbpp_thankmelater_install | 3.52 | 25.17 |
Stats /wp-admin/admin.php?page=bbpp_thankmelater_statistics | 3.59 | 49.93 |
Opt out /wp-admin/admin.php?page=bbpp_thankmelater_opt_out | 3.57 | 30.89 |
Server storage [IO: ▲0.63MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 86 new files
Database: 4 new tables, 4 new options
New tables |
---|
wp_bbpp_thankmelater_messages |
wp_bbpp_thankmelater_opens |
wp_bbpp_thankmelater_opt_outs |
wp_bbpp_thankmelater_schedules |
New WordPress options |
---|
bbpp_thankmelater_show_install_screen |
bbpp_thankmelater_version |
bbpp_thankmelater_last_legacy_tick |
bbpp_thankmelater_opt_out_level |
Browser metrics Passed 4 tests
A check of browser resources used by Thank Me Later
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,819 ▲97 | 15.78 ▲0.19 | 6.10 ▼0.03 | 2.29 ▼0.37 |
Dashboard /wp-admin | 2,948 ▲87 | 6.13 ▼0.05 | 115.02 ▼20.26 | 156.30 ▼5.94 |
Posts /wp-admin/edit.php | 2,738 ▲50 | 3.24 ▲0.01 | 65.77 ▼1.79 | 200.36 ▲56.00 |
Add New Post /wp-admin/post-new.php | 1,796 ▲96 | 17.18 ▼4.59 | 430.11 ▲20.77 | 157.71 ▼29.64 |
Media Library /wp-admin/upload.php | 1,756 ▲58 | 5.54 ▼0.02 | 134.22 ▼3.87 | 184.43 ▼52.71 |
Messages /wp-admin/admin.php?page=bbpp_thankmelater | 1,337 | 2.78 | 55.62 | 149.47 |
Install /wp-admin/admin.php?page=bbpp_thankmelater_install | 1,080 | 2.40 | 53.96 | 114.55 |
Stats /wp-admin/admin.php?page=bbpp_thankmelater_statistics | 1,423 | 3.36 | 68.18 | 154.95 |
Opt out /wp-admin/admin.php?page=bbpp_thankmelater_opt_out | 1,263 | 2.56 | 61.65 | 114.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 1 option
- bbpp_thankmelater_show_install_screen
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 35× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/thank-me-later/admin/messages/MessageListTable.php on line 4
- > PHP Warning
Use of undefined constant BBPP_THANKMELATER_PLUGIN_PATH - assumed 'BBPP_THANKMELATER_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/thank-me-later/shortcodes/t_part.php on line 4
- > PHP Warning
Use of undefined constant BBPP_THANKMELATER_PLUGIN_PATH - assumed 'BBPP_THANKMELATER_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/thank-me-later/Shortcoder.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/thank-me-later/admin/messages/shortcode_reference.php:1
- > PHP Fatal error
Uncaught Error: Class 'Bbpp_ThankMeLater_Shortcoder' not found in wp-content/plugins/thank-me-later/shortcodes/comment_url.php:27
- > PHP Fatal error
Uncaught Error: Class 'Bbpp_ThankMeLater_Shortcoder' not found in wp-content/plugins/thank-me-later/shortcodes/email.php:22
- > PHP Warning
require_once(BBPP_THANKMELATER_PLUGIN_PATHlib/instyle/instyle.php): failed to open stream: No such file or directory in wp-content/plugins/thank-me-later/TemplateHelper.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Bbpp_ThankMeLater_Shortcoder' not found in wp-content/plugins/thank-me-later/shortcodes/name.php:21
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/thank-me-later/admin/messages/MessageListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Bbpp_ThankMeLater_Shortcoder' not found in wp-content/plugins/thank-me-later/shortcodes/user_agent.php:22
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: comments, social, newsletter, comment, email
thank-me-later/thankmelater.php 85% from 13 tests
"Thank Me Later" version 3.3.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("thank-me-later.php" instead of "thankmelater.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected10,483 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 1,124 | 1,604 | 5,191 |
PO File | 7 | 1,008 | 1,220 | 2,640 |
JavaScript | 3 | 462 | 349 | 2,370 |
CSS | 1 | 29 | 1 | 282 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 21.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 262 | |
▷ Static methods | 10 | 3.82% |
▷ Public methods | 221 | 84.35% |
▷ Protected methods | 16 | 6.11% |
▷ Private methods | 25 | 9.54% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imgs/thank-you-banner.png | 5.13KB | 2.33KB | ▼ 54.61% |