Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wp-burner-user/admin/class-bu-admin.php+16
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.07ms] Passed 4 tests
A check of server-side resources used by WP Burner User
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 3.76 ▼40.47 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.13 ▼41.99 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.48 ▼40.20 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.45 ▼89.62 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.74 ▼30.05 |
WP Burner User /wp-admin/options-general.php?page= | 2.05 | 5.10 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
WP Burner User: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.25 ▼1.33 | 1.58 ▼0.24 | 40.82 ▼6.02 |
Dashboard /wp-admin | 2,213 ▲22 | 4.85 ▼0.05 | 111.62 ▲8.55 | 39.33 ▼7.00 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.02 | 40.07 ▲3.65 | 34.10 ▲1.80 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.42 ▼4.99 | 588.93 ▼86.67 | 53.24 ▼3.42 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.24 ▲0.07 | 98.24 ▼3.15 | 42.88 ▼4.87 |
WP Burner User /wp-admin/options-general.php?page= | 932 | 2.05 | 22.73 | 27.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-burner-user/admin/class-bu-admin.php+16
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=
- > Deprecated in wp-content/plugins/wp-burner-user/admin/class-bu-admin.php+16
Function create_function() is deprecated
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
Almost there! Just fix the following items
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-burner-user/wp-burner-user.php
- > /wp-content/plugins/wp-burner-user/admin/class-bu-admin.php
- > /wp-content/plugins/wp-burner-user/lib/bu-functions.php
- > /wp-content/plugins/wp-burner-user/admin/bu-admin-create-user.php
- > /wp-content/plugins/wp-burner-user/lib/class-bu-message.php
- > /wp-content/plugins/wp-burner-user/admin/bu-admin-help.php
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: account, burner, user
wp-burner-user/wp-burner-user.php Passed 13 tests
The main PHP file in "WP Burner User" ver. 0.1.0 adds more information about the plugin and also serves as the entry point for this plugin
92 characters long description:
WP Burner User allows a WP admin to create an anonymous account with randomly generated data
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected284 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 102 | 282 | 249 |
CSS | 1 | 8 | 2 | 35 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 6 | 42.86% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin