Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-roids/wp-roids.php+2575
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▼1.06MB] [CPU: ▼53.10ms] Passed 4 tests
Server-side resources used by WP Roids
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▼0.53 | 7.52 ▼30.99 |
Dashboard /wp-admin | 2.96 ▼0.39 | 8.03 ▼54.55 |
Posts /wp-admin/edit.php | 2.96 ▼0.40 | 8.13 ▼33.81 |
Add New Post /wp-admin/post-new.php | 2.96 ▼2.93 | 8.76 ▼93.05 |
Media Library /wp-admin/upload.php | 2.96 ▼0.27 | 8.53 ▼26.62 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- The plugin illegally modified 2 files (7.01KB) outside of "wp-content/plugins/wp-roids/" and "wp-content/uploads/"
- (new file) wp-roids-cache/img/.empty
- (modified) .htaccess
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Roids
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 13.31 ▼1.22 | 1.95 ▲0.27 | 44.62 ▼0.23 |
Dashboard /wp-admin | 2,357 ▲180 | 4.98 ▼0.69 | 96.91 ▼0.73 | 58.18 ▲15.90 |
Posts /wp-admin/edit.php | 2,263 ▲160 | 2.36 ▲0.33 | 44.67 ▲3.67 | 66.98 ▲28.50 |
Add New Post /wp-admin/post-new.php | 1,713 ▲176 | 22.44 ▲4.19 | 650.64 ▲34.12 | 64.48 ▼10.06 |
Media Library /wp-admin/upload.php | 1,633 ▲233 | 4.52 ▲0.30 | 96.62 ▼2.98 | 52.56 ▲10.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-roids/wp-roids.php+2575
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: cache, pagespeed, caching, optimize, performance
wp-roids/wp-roids.php Passed 13 tests
The main PHP script in "WP Roids" version 4.0.2 is automatically included on every request by WordPress
41 characters long description:
The fastest caching plugin for WordPress!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,507 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 253 | 373 | 2,055 |
CSS | 1 | 92 | 99 | 354 |
Markdown | 1 | 69 | 0 | 95 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 501.00 |
▷ Minimum class complexity | 501.00 |
▷ Maximum class complexity | 501.00 |
Average method complexity | 10.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 2 | 4.08% |
▷ Public methods | 35 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 28.57% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin