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
- The plugin cannot be installed
- > Notice in wp-content/plugins/thank-money-post/thank_money_post.php+42
Undefined index: getupdate
Server metrics [RAM: ▼1.93MB] [CPU: ▼47.86ms] Passed 4 tests
A check of server-side resources used by Thank Money Post
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 5.72 ▼32.80 |
Dashboard /wp-admin | 2.08 ▼1.22 | 9.50 ▼37.09 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 5.43 ▼38.33 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.45 ▼83.23 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.39 ▼31.05 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 10 new options
New WordPress options |
---|
thank_project |
thank_summ |
thank_cel |
db_upgraded |
widget_recent-posts |
thank_account |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Thank Money Post: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▲0.02 | 1.70 ▼0.36 | 43.63 ▲8.25 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▲0.03 | 81.10 ▼7.73 | 38.00 ▼1.40 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.01 | 32.93 ▼1.04 | 35.73 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.09 ▼0.43 | 678.05 ▼13.82 | 48.13 ▼10.41 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.21 ▲0.02 | 93.23 ▼11.82 | 44.44 ▼0.51 |
Кнопка пожертвовать /wp-admin/thank_money_post.php | 26 | 0.42 | 0.10 | 14.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/thank-money-post/thank_money_post.php+42
Undefined index: getupdate
- Zombie WordPress options were found after uninstall: 10 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- thank_account
- thank_cel
- thank_summ
- widget_recent-posts
- thank_project
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× 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/thank-money-post/thank_money_post.php:29
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/thank_money_post.php
- > Network (severe)
wp-admin/thank_money_post.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Requires at least: The plugin version is formatted incorrectly
thank-money-post/thank_money_post.php 92% from 13 tests
"Thank Money Post" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("thank-money-post.php" instead of "thank_money_post.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin61 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 21 | 61 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin