Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼6.53ms] Passed 4 tests
Server-side resources used by BitMate Author Donations
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 40.60 ▼1.68 |
Dashboard /wp-admin | 3.49 ▲0.14 | 51.93 ▼13.17 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 52.29 ▲4.46 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 92.32 ▼12.93 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 38.35 ▲1.68 |
Getting Started /wp-admin/admin.php?page=bm_welcome | 3.42 | 36.09 |
Display Settings /wp-admin/admin.php?page=bm_settings | 3.37 | 35.96 |
Server storage [IO: ▲0.96MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_bm_donation_widget |
bitmate_author_donations_display_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BitMate Author Donations
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲71 | 14.26 ▲0.09 | 1.46 ▼0.55 | 41.29 ▼0.21 |
Dashboard /wp-admin | 2,244 ▲69 | 5.59 ▼0.01 | 90.33 ▼19.03 | 59.95 ▲18.82 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 2.05 ▲0.07 | 36.15 ▲1.79 | 33.68 ▼4.59 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 23.12 ▼0.04 | 699.07 ▲30.47 | 54.73 ▼6.06 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.17 ▲0.04 | 101.59 ▼16.24 | 77.40 ▲28.99 |
Getting Started /wp-admin/admin.php?page=bm_welcome | 1,316 | 1.84 | 26.89 | 91.63 |
Display Settings /wp-admin/admin.php?page=bm_settings | 1,188 | 1.76 | 28.62 | 40.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- can_compress_scripts
- widget_recent-posts
- widget_bm_donation_widget
- db_upgraded
- bitmate_author_donations_display_options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=bm_welcome
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
bitmate-author-donations/bitmate-author-donations.php 85% from 13 tests
Analyzing the main PHP file in "BitMate Author Donations" version 2.0.2
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 161 characters long)
- Domain Path: The domain path folder was not found ("/languages")
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
Everything looks great! No dangerous files found in this plugin4,537 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 840 | 627 | 3,812 |
CSS | 3 | 64 | 19 | 592 |
SVG | 1 | 0 | 0 | 120 |
JavaScript | 1 | 0 | 1 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 22.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 138 | |
▷ Static methods | 61 | 44.20% |
▷ Public methods | 136 | 98.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.45% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 37 | |
▷ Global constants | 37 | 100.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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/donate.png | 8.30KB | 4.12KB | ▼ 50.39% |
images/bitcoin.png | 3.46KB | 0.93KB | ▼ 73.02% |