Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼5.23ms] Passed 4 tests
Analyzing server-side resources used by WP Spider Cache
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 40.80 ▼1.62 |
Dashboard /wp-admin | 3.46 ▲0.11 | 46.68 ▼17.34 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 52.58 ▲6.82 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 96.24 ▼1.29 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 34.78 ▼0.68 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Spider Cache
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲45 | 13.29 ▼1.31 | 1.61 ▼0.44 | 42.73 ▼12.13 |
Dashboard /wp-admin | 2,222 ▲34 | 5.79 ▲0.86 | 99.70 ▼20.13 | 41.71 ▼2.26 |
Posts /wp-admin/edit.php | 2,108 ▲37 | 1.99 ▼0.01 | 39.47 ▲3.57 | 37.25 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,555 ▲41 | 18.08 ▲0.54 | 596.86 ▼85.71 | 62.94 ▲2.26 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.20 ▲0.01 | 97.36 ▼7.73 | 40.72 ▼5.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Admin UI), #2 (Servers), #3 (Data View)
wp-spider-cache/wp-spider-cache.php 92% from 13 tests
"WP Spider Cache" version 4.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/wp-spider-cache/assets/lang/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,219 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 689 | 2,525 | 1,994 |
JavaScript | 1 | 26 | 14 | 146 |
CSS | 1 | 14 | 0 | 79 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 66.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 12 | 9.92% |
▷ Public methods | 82 | 67.77% |
▷ Protected methods | 10 | 8.26% |
▷ Private methods | 29 | 23.97% |
Functions | 54 | |
▷ Named functions | 54 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.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
No PNG files were detected