Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.12ms] Passed 4 tests
An overview of server-side resources used by Clear Autoptimize Cache Automatically
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 46.45 ▲6.09 |
Dashboard /wp-admin | 3.39 ▲0.04 | 43.83 ▼20.81 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.89 ▲2.52 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 80.44 ▼12.42 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.20 ▲2.23 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Clear Autoptimize Cache Automatically: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.01 | 1.72 ▼0.01 | 44.70 ▼0.30 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▼0.01 | 87.30 ▼13.88 | 36.41 ▼9.20 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 35.52 ▼0.47 | 34.17 ▼3.23 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.20 ▲0.15 | 630.15 ▲10.47 | 47.63 ▼4.73 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.02 | 101.21 ▲6.48 | 42.35 ▼3.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Add multiple image URLs), #2 (Add single image URL)
clear-autoptimize-cache-automatically/clear-autoptimize-cache-automatically.php Passed 13 tests
"Clear Autoptimize Cache Automatically" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
73 characters long description:
Automatically clear Autoptimize cache at a specific time of selected days
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 plugin4,333 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 163 | 80 | 2,184 |
PHP | 4 | 127 | 131 | 1,379 |
SVG | 1 | 0 | 0 | 565 |
CSS | 13 | 36 | 98 | 205 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 45.25 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 5.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 42 | |
▷ Static methods | 3 | 7.14% |
▷ Public methods | 37 | 88.10% |
▷ Protected methods | 2 | 4.76% |
▷ Private methods | 3 | 7.14% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
PNG images were not found in this plugin