Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▲8.95ms] Passed 4 tests
Server-side resources used by WP CleanFix
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 54.92 ▲12.35 |
Dashboard /wp-admin | 3.49 ▲0.19 | 56.10 ▲8.60 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 63.19 ▲14.28 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 97.52 ▲0.56 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 51.77 ▲19.86 |
Tools /wp-admin/admin.php?page=wpcleanfix_1 | 3.54 | 55.49 |
CleanFix /wp-admin/admin.php?page=wp_cleanfix_slug_menu | 3.45 | 45.41 |
Settings /wp-admin/admin.php?page=wpcleanfix_settings | 3.44 | 47.29 |
Server storage [IO: ▲15.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 230 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
wp_cleanfix_slug |
Browser metrics Passed 4 tests
WP CleanFix: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲121 | 13.68 ▼0.70 | 2.18 ▲0.50 | 43.20 ▼1.70 |
Dashboard /wp-admin | 2,237 ▲52 | 5.00 ▼0.88 | 110.06 ▲4.20 | 39.91 ▼4.25 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.03 ▲0.05 | 39.96 ▼0.81 | 35.10 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,558 ▲21 | 23.19 ▲5.00 | 666.98 ▲56.06 | 50.46 ▼3.79 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.22 ▲0.00 | 99.03 ▲0.80 | 42.11 ▼0.04 |
Tools /wp-admin/admin.php?page=wpcleanfix_1 | 1,304 | 2.05 | 28.05 | 29.20 |
CleanFix /wp-admin/admin.php?page=wp_cleanfix_slug_menu | 2,597 | 2.25 | 44.44 | 51.27 |
Settings /wp-admin/admin.php?page=wpcleanfix_settings | 930 | 2.04 | 24.58 | 26.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- wp_cleanfix_slug
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 52× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPCleanFix\\Modules\\Test' not found in wp-content/plugins/wp-cleanfix/plugin/Modules/Posts/PostsWithoutUserTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPCleanFix\\WPBones\\Support\\ServiceProvider' not found in wp-content/plugins/wp-cleanfix/plugin/Providers/WPCleanFixModulesProviders.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPCleanFix\\Http\\Controllers\\Controller' not found in wp-content/plugins/wp-cleanfix/plugin/Http/Controllers/SettingsController.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPCleanFix\\Modules\\Module' not found in wp-content/plugins/wp-cleanfix/plugin/Modules/Comments/CommentsModule.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPCleanFix\\Modules\\Test' not found in wp-content/plugins/wp-cleanfix/plugin/Modules/Users/OrphanUserMetaTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPCleanFix\\Modules\\Test' not found in wp-content/plugins/wp-cleanfix/plugin/Modules/Taxonomies/ConsistentTermsTaxonomiesTest.php:7
- > PHP Fatal error
Trait 'WPCleanFix\\WPBones\\Support\\Traits\\HasAttributes' not found in wp-content/plugins/wp-cleanfix/vendor/wpbones/wpbones/src/Html/HtmlTag.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WPCleanFix\\Modules\\Module' not found in wp-content/plugins/wp-cleanfix/plugin/Modules/Users/UsersModule.php:7
- > PHP Fatal error
Trait 'WPCleanFix\\WPBones\\Support\\Traits\\HasAttributes' not found in wp-content/plugins/wp-cleanfix/vendor/wpbones/wpbones/src/Console/Command.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WPCleanFix\\Modules\\Test' not found in wp-content/plugins/wp-cleanfix/plugin/Modules/Options/ExpiredTransientTest.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 23 tag instead of maximum 10
wp-cleanfix/index.php 77% from 13 tests
The main PHP file in "WP CleanFix" ver. 5.5.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-cleanfix.php" instead of "index.php")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("localization")
- Domain Path: The domain path must begin with a forward slash character ("/localization")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected12,730 lines of code in 180 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 135 | 2,643 | 3,884 | 9,206 |
PO File | 2 | 335 | 442 | 936 |
CSS | 17 | 11 | 46 | 908 |
JavaScript | 7 | 155 | 152 | 522 |
Markdown | 8 | 198 | 0 | 441 |
LESS | 5 | 56 | 18 | 360 |
JSON | 6 | 0 | 0 | 357 |
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.34 |
Average class complexity | 7.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 34 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 93 | |
▷ Abstract classes | 15 | 16.13% |
▷ Concrete classes | 78 | 83.87% |
▷ Final classes | 1 | 1.28% |
Methods | 540 | |
▷ Static methods | 68 | 12.59% |
▷ Public methods | 458 | 84.81% |
▷ Protected methods | 55 | 10.19% |
▷ Private methods | 27 | 5.00% |
Functions | 29 | |
▷ Named functions | 14 | 48.28% |
▷ Anonymous functions | 15 | 51.72% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 compressed PNG files occupy 0.35MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 41.20KB | 42.66KB | 0.00% |
assets/screenshot-6.png | 17.91KB | 18.58KB | 0.00% |
assets/screenshot-5.png | 28.18KB | 29.34KB | 0.00% |
assets/screenshot-11.png | 35.72KB | 36.92KB | 0.00% |
assets/screenshot-4.png | 54.59KB | 57.66KB | 0.00% |