Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▲3.67ms] Passed 4 tests
This is a short check of server-side resources used by CleanUp WP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.02 | 33.15 ▼15.66 |
Dashboard /wp-admin | 3.31 ▲0.01 | 58.91 ▲14.66 |
Posts /wp-admin/edit.php | 3.35 ▼0.01 | 57.36 ▲9.41 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 98.47 ▲6.26 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 57.14 ▲23.10 |
Server storage [IO: ▲0.01MB] [DB: ▼0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- There were 342 files (0.00KB) illegally modified outside of "wp-content/plugins/cleanup-wp/" and "wp-content/uploads/"
- (deleted) wp-content/themes/twentynineteen/fonts/NonBreakingSpaceOverride.woff2
- (deleted) wp-content/themes/twentynineteen/classes/class-twentynineteen-walker-comment.php
- (deleted) wp-content/themes/twentynineteen/functions.php
- (deleted) wp-content/themes/twentynineteen/archive.php
- (deleted) wp-content/themes/twentynineteen/footer.php
- (deleted) wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php
- (deleted) wp-content/themes/twentynineteen/comments.php
- (deleted) wp-content/themes/twentynineteen/404.php
- (deleted) wp-content/plugins/hello.php
- (deleted) wp-content/themes/twentynineteen/fonts/NonBreakingSpaceOverride.woff
- ...
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
cleared_widgets |
db_upgraded |
widget_recent-comments |
category_children |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CleanUp WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,251 ▼495 | 14.76 ▲0.18 | 1.63 ▼0.79 | 20.63 ▼25.15 |
Dashboard /wp-admin | 1,728 ▼460 | 5.55 ▲0.64 | 95.32 ▼21.71 | 38.03 ▼7.83 |
Posts /wp-admin/edit.php | 1,239 ▼850 | 2.01 ▲0.02 | 33.12 ▼1.38 | 33.47 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 22.66 ▲4.81 | 611.99 ▼26.86 | 61.73 ▲7.82 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.26 ▲0.09 | 95.62 ▼2.44 | 42.45 ▲1.08 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- category_children
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- cleared_widgets
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 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 Passed 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
The SRP test was a success
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: robots, simple, permalinks, remove, menu...
cleanup-wp/cleanupwp.php 85% from 13 tests
Analyzing the main PHP file in "CleanUp WP" version 1.3
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 ("cleanup-wp.php" instead of "cleanupwp.php")
- Description: The description should be shorter than 140 characters (currently 214 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected93 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 72 | 43 | 93 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin