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
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.23ms] Passed 4 tests
Analyzing server-side resources used by Simple Cache Killer
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 28.36 ▼11.44 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.96 ▼5.29 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.18 ▼3.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.29 ▼9.06 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.71 ▼2.81 |
SCK Options /wp-admin/options-general.php?page=sck | 3.19 | 35.88 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Cache Killer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.42 ▲0.04 | 2.15 ▼0.00 | 45.81 ▼1.17 |
Dashboard /wp-admin | 2,199 ▲22 | 5.57 ▲0.05 | 94.17 ▲3.08 | 43.63 ▼0.38 |
Posts /wp-admin/edit.php | 2,086 ▼14 | 1.99 ▲0.02 | 35.67 ▼1.15 | 37.08 ▼0.71 |
Add New Post /wp-admin/post-new.php | 1,529 ▼0 | 23.85 ▲0.74 | 679.60 ▲18.93 | 57.53 ▲7.37 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▼0.09 | 109.13 ▼1.83 | 48.42 ▲2.72 |
SCK Options /wp-admin/options-general.php?page=sck | 919 | 2.00 | 23.95 | 40.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=sck
- > Notice in wp-content/plugins/simple-cache-killer/sck-options.php+54
Trying to access array offset on value of type bool
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
The following issues need your attention
- 2× 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/simple-cache-killer/sck-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-cache-killer/sck-options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: caching, cache, pragma no-cache, cache-control, meta http-equiv
simple-cache-killer/simple-cache-killer.php 92% from 13 tests
This is the main PHP file of "Simple Cache Killer" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected82 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 8 | 22 | 82 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 5 | |
▷ Named functions | 5 | 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
PNG images were not found in this plugin