Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.26MB] [CPU: ▲1.06ms] Passed 4 tests
An overview of server-side resources used by Varnish/Nginx Proxy Caching
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 39.53 ▲0.23 |
Dashboard /wp-admin | 3.56 ▲0.26 | 49.08 ▼0.18 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 51.31 ▲0.81 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 97.18 ▲4.77 |
Media Library /wp-admin/upload.php | 3.49 ▲0.25 | 39.60 ▲3.37 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Varnish/Nginx Proxy Caching
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲93 | 14.47 ▼0.09 | 1.61 ▼0.12 | 37.98 ▼2.94 |
Dashboard /wp-admin | 2,239 ▲51 | 5.82 ▲0.94 | 97.63 ▼3.76 | 72.41 ▲34.08 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.01 ▲0.02 | 39.41 ▼3.27 | 36.08 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,529 ▼13 | 17.55 ▼0.82 | 659.31 ▲50.15 | 56.57 ▲2.65 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.20 ▲0.01 | 93.46 ▼15.93 | 72.25 ▲28.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vcaching/vcaching.php:47
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: traffic, performance, cache, optimization, purge...
vcaching/vcaching.php Passed 13 tests
The main PHP file in "Varnish/Nginx Proxy Caching" ver. 1.8.3 adds more information about the plugin and also serves as the entry point for this plugin
36 characters long description:
WordPress Varnish Cache integration.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,260 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 109 | 52 | 976 |
PO File | 2 | 77 | 81 | 172 |
reStructuredText | 1 | 36 | 0 | 112 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 75.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 149.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 51 | 94.44% |
▷ Protected methods | 2 | 3.70% |
▷ Private methods | 1 | 1.85% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 1.33KB | 1.31KB | ▼ 1.68% |