Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/wp-static-cache/cache-mgr.php+82
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.88MB] [CPU: ▼50.37ms] Passed 4 tests
Analyzing server-side resources used by WP Static Cache
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 5.71 ▼35.50 |
Dashboard /wp-admin | 2.12 ▼1.18 | 5.50 ▼43.07 |
Posts /wp-admin/edit.php | 2.13 ▼1.22 | 6.32 ▼42.07 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.76 | 5.96 ▼80.82 |
Media Library /wp-admin/upload.php | 2.13 ▼1.10 | 6.58 ▼31.13 |
Cahce Manager /wp-admin/admin.php?page=cachemange | 2.12 | 6.23 |
Set up filter /wp-admin/admin.php?page=setupfilter | 2.12 | 6.35 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- You have illegally modified 10 files (212.64KB) outside of "wp-content/plugins/wp-static-cache/" and "wp-content/uploads/"
- (new file) wp-content/static-cache-files/d4/4c/d44c34cfed9d779feaaeb753fb76c2f0.html
- (new file) wp-content/static-cache-files/2e/fc/2efc90e8b9edaf744ed8e2251bb8fa4e.html
- (new file) wp-content/advanced-cache.php
- (new file) wp-content/static-cache-files/5c/86/5c86515300035c114610c54975e8160d.html
- (new file) wp-content/static-cache-files/32/56/32564733bbac22e16cad5b679d951951.html
- (new file) wp-content/static-cache-files/c2/c8/c2c87cdbdb995cdf332032017b1c2d1f.html
- (new file) wp-content/static-cache-files/2f/2e/2f2e29192f02977a5d140198afca0a12.html
- (new file) wp-content/static-cache-files/66/e1/66e1314aef25fedea2b40e87e3a1b54c.html
- (new file) wp-content/static-cache-files/a0/44/a044fbbdb1fc40cd0055bc187e6d5efd.html
- (modified) wp-config.php
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Static Cache
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲56 | 13.64 ▼0.74 | 1.71 ▼0.31 | 43.72 ▼1.56 |
Dashboard /wp-admin | 2,236 ▲45 | 5.89 ▲1.03 | 96.40 ▼25.84 | 36.97 ▼11.68 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.01 ▼0.03 | 34.66 ▼1.89 | 34.40 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,546 ▲32 | 23.39 ▲5.91 | 679.28 ▼4.62 | 56.56 ▼0.46 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.29 ▲0.07 | 99.40 ▼5.45 | 43.36 ▼3.04 |
Cahce Manager /wp-admin/admin.php?page=cachemange | 858 | 2.06 | 23.55 | 28.55 |
Set up filter /wp-admin/admin.php?page=setupfilter | 804 | 2.03 | 23.86 | 55.40 |
Uninstaller [IO: ▲0.21MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-static-cache/cache-mgr.php+82
Array and string offset access syntax with curly braces is deprecated
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=setupfilter
- > Deprecated in wp-content/plugins/wp-static-cache/cache-mgr.php+82
Array and string offset access syntax with curly braces is deprecated
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
4 plugin tags: caching, performance, static cache, cache
wp-static-cache/cache-mgr.php 92% from 13 tests
"WP Static Cache" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-static-cache.php" instead of "cache-mgr.php")
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
Everything looks great! No dangerous files found in this plugin503 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 51 | 31 | 503 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin