Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼9.39ms] Passed 4 tests
A check of server-side resources used by Cache Cleaner - Scheduled
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 36.31 ▼2.26 |
Dashboard /wp-admin | 3.38 ▲0.03 | 43.46 ▼15.83 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.25 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 79.82 ▼19.57 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.85 ▲2.85 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 17 new options
New WordPress options |
---|
widget_theysaidso_widget |
wplocalseo_cleaner_rocket |
widget_recent-comments |
wplocalseo_cleaner_time |
wplocalseo_cleaner_notify |
wplocalseo_cleaner_time_old |
can_compress_scripts |
wplocalseo_cleaner_cometcache |
wplocalseo_cleaner_autoptimize |
wplocalseo_cleaner_notificationsemail |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cache Cleaner - Scheduled
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.51 ▼0.10 | 1.91 ▲0.31 | 41.73 ▲1.45 |
Dashboard /wp-admin | 2,213 ▲35 | 5.56 ▼0.14 | 82.67 ▼17.41 | 82.89 ▲38.47 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.97 ▼0.04 | 34.87 ▼3.33 | 33.70 ▲0.30 |
Add New Post /wp-admin/post-new.php | 1,693 ▲167 | 22.37 ▼0.83 | 723.92 ▲72.48 | 49.18 ▼14.56 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.20 ▲0.03 | 97.90 ▲0.59 | 78.88 ▲35.38 |
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 does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: cache cleaner, clean cache, delete cache, purge cache, scheduled cache clean...
cache-cleaner/cache-cleaner.php Passed 13 tests
The principal PHP file in "Cache Cleaner - Scheduled" v. 1.0.7 is loaded by WordPress automatically on each request
56 characters long description:
Scheduled Cache Clean UP. Keep your Cache Folders Fresh.
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
There were no executable files found in this plugin575 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 103 | 39 | 328 |
CSS | 1 | 27 | 8 | 247 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wplocalseo-cleaner.png | 16.09KB | 1.11KB | ▼ 93.09% |
images/icon-help.png | 0.68KB | 0.70KB | 0.00% |