Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.52ms] Passed 4 tests
Analyzing server-side resources used by WUCO - WP Ultimate Cleanup & Optimization
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.59 ▼7.10 |
Dashboard /wp-admin | 3.43 ▲0.12 | 49.21 ▼5.96 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 54.58 ▲3.55 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 94.22 ▼5.94 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 39.87 ▲0.94 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
wuco_version |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WUCO - WP Ultimate Cleanup & Optimization
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.70 ▲0.36 | 1.86 ▼0.07 | 42.22 ▼2.50 |
Dashboard /wp-admin | 2,210 ▲33 | 5.59 ▼0.03 | 94.82 ▲3.82 | 46.01 ▲2.79 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.02 ▲0.02 | 40.34 ▲0.48 | 40.11 ▲3.68 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.31 ▲0.38 | 681.76 ▼50.99 | 65.07 ▲9.04 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.17 ▲0.01 | 106.84 ▼0.80 | 47.85 ▼0.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- wuco_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wuco-wp-ultimate-cleanup-optimization/lib/wuco-admin-panel.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wuco-wp-ultimate-cleanup-optimization/templates/wuco-about.php:1
- > PHP Warning
Use of undefined constant WUCO_PATH - assumed 'WUCO_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wuco-wp-ultimate-cleanup-optimization/lib/wuco-admin-panel.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wuco-wp-ultimate-cleanup-optimization/lib/wuco-database-cleanup.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wuco-wp-ultimate-cleanup-optimization/templates/wuco-dashboard.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 your attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (WUCO Admin Panel), #2 (Either run cleanup or schedule it for later), #3 (Monitor the plugin activity)
wuco-wp-ultimate-cleanup-optimization/index.php 92% from 13 tests
The main PHP script in "WUCO - WP Ultimate Cleanup & Optimization" version 2.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wuco-wp-ultimate-cleanup-optimization.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin855 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 181 | 103 | 597 |
CSS | 1 | 0 | 0 | 193 |
JavaScript | 1 | 22 | 0 | 65 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected