Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/4-author-cheer-up-donate/4-author-cheer-up-donate.php+127
mkdir(): File exists
Server metrics [RAM: ▲0.03MB] [CPU: ▼296.62ms] Passed 4 tests
Server-side resources used by 4 author cheer up donate
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.09 | 55.12 ▲2.10 |
Dashboard /wp-admin | 3.47 ▲0.06 | 35.06 ▲1.27 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 38.69 ▲0.36 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.04 | 97.46 ▼1,185.51 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 23.04 ▼2.60 |
4-author-cheer-up-donate /wp-admin/options-general.php?page=AcuD_options | 3.45 | 30.08 |
Server storage [IO: ▲0.13MB] [DB: ▲0.03MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: 1 new table, 30 new options
New tables |
---|
wp_acud_thank_names |
New WordPress options |
---|
Acud_is_gratitude |
AcuD_logo_imgID |
Acud_text_logo |
AcuD_popUp_img_level_3 |
Acud_mrh_login |
Acud_mrh_pass1 |
Acud_mrh_pass2 |
Acud_logo_befor_post_select |
AcuD_popUp_price_level_2 |
Acud_is_gratitude_OnRules |
... |
Browser metrics Passed 4 tests
Checking browser requirements for 4 author cheer up donate
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,776 ▲22 | 16.14 ▲0.53 | 6.00 ▲0.03 | 2.52 ▲0.27 |
Dashboard /wp-admin | 2,894 ▲33 | 6.01 ▼0.18 | 119.44 ▼19.75 | 155.05 ▼4.22 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.23 ▼0.01 | 61.81 ▼1.89 | 138.54 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,664 ▼4 | 17.21 ▼1.84 | 423.26 ▲19.42 | 158.92 ▲5.36 |
Media Library /wp-admin/upload.php | 2,192 ▲494 | 6.62 ▲1.12 | 165.48 ▲17.42 | 179.20 ▼14.75 |
4-author-cheer-up-donate /wp-admin/options-general.php?page=AcuD_options | 1,885 | 5.00 | 82.86 | 179.54 |
Uninstaller [IO: ▲9.98MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 4 options in the database
- AcuD_unnamed_text
- AcuD_popUp_price_level_3
- AcuD_popUp_price_level_2
- AcuD_popUp_price_level_1
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 9× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/4-author-cheer-up-donate/result.php
- > /wp-content/plugins/4-author-cheer-up-donate/popUp.php
- > /wp-content/plugins/4-author-cheer-up-donate/logo_content.php
- > /wp-content/plugins/4-author-cheer-up-donate/admin/logo_options.php
- > /wp-content/plugins/4-author-cheer-up-donate/admin/admin_options.php
- > /wp-content/plugins/4-author-cheer-up-donate/thank_you_content.php
- > /wp-content/plugins/4-author-cheer-up-donate/admin/table_thank.php
- > /wp-content/plugins/4-author-cheer-up-donate/admin/payment_options.php
- > /wp-content/plugins/4-author-cheer-up-donate/4-author-cheer-up-donate.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_verify_nonce() in wp-content/plugins/4-author-cheer-up-donate/send.php:2
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #12, #13, #14, #15, #16, #17 in 4-author-cheer-up-donate/assets to your readme.txt
4-author-cheer-up-donate/4-author-cheer-up-donate.php 85% from 13 tests
The principal PHP file in "4 author cheer up donate" v. 1.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,409 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 38 | 50 | 1,317 |
PHP | 11 | 102 | 53 | 875 |
PO File | 1 | 82 | 75 | 196 |
JavaScript | 2 | 5 | 6 | 21 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 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 | 12 | |
▷ Named functions | 12 | 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
PNG images were not found in this plugin