Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/doggus-clean-heads/includes/do-functions.php+3
Trying to access array offset on value of type null
Server metrics [RAM: ▼1.94MB] [CPU: ▼50.22ms] Passed 4 tests
Server-side resources used by Doggus WP Heads Cleaner
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 5.21 ▼35.62 |
Dashboard /wp-admin | 2.06 ▼1.24 | 6.90 ▼43.63 |
Posts /wp-admin/edit.php | 2.07 ▼1.29 | 5.95 ▼37.45 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 5.85 ▼84.17 |
Media Library /wp-admin/upload.php | 2.06 ▼1.16 | 5.55 ▼29.56 |
Doggus Head Cleaner /wp-admin/options-general.php?page=doggusclean-options | 2.07 | 6.75 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Doggus WP Heads Cleaner
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.14 ▼0.51 | 1.96 ▲0.27 | 43.55 ▼0.33 |
Dashboard /wp-admin | 2,196 ▲19 | 5.64 ▼0.00 | 91.34 ▲4.61 | 41.13 ▼0.29 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.01 | 33.04 ▼2.02 | 39.31 ▲2.27 |
Add New Post /wp-admin/post-new.php | 1,542 ▲7 | 18.23 ▼0.04 | 640.43 ▲17.92 | 59.49 ▼7.27 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.28 ▲0.07 | 106.76 ▲12.96 | 46.71 ▲5.64 |
Doggus Head Cleaner /wp-admin/options-general.php?page=doggusclean-options | 825 | 2.17 | 27.76 | 27.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/doggus-clean-heads/includes/do-functions.php+3
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=doggusclean-options
- > Notice in wp-content/plugins/doggus-clean-heads/includes/options_page.php+22
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 12× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/doggus-clean-heads/trunk/includes/do-functions.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/doggus-clean-heads/trunk/includes/options_page.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/doggus-clean-heads/includes/options_page.php:38
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/doggus-clean-heads/includes/do-functions.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/doggus-clean-heads/includes/do-functions.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/doggus-clean-heads/trunk/doggus-clean-heads.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/doggus-clean-heads/includes/do-functions.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/doggus-clean-heads/trunk/includes/do-functions.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/doggus-clean-heads/trunk/includes/do-functions.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/doggus-clean-heads/includes/do-functions.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
1 plugin tags: remove unwanted tags
doggus-clean-heads/doggus-clean-heads.php Passed 13 tests
The main PHP file in "Doggus WP Heads Cleaner" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
26 characters long description:
Doggus header clean plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin82 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 17 | 11 | 82 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin