Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.01ms] Passed 4 tests
Server-side resources used by Static Resource Cleanup by Removing Query Strings
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.47 ▲1.98 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.58 ▼0.17 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.20 ▼6.01 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.87 ▼3.83 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.23 ▲3.20 |
Query String Cleanup Settings /wp-admin/tools.php?page=srcrqs_cleanup | 3.22 | 30.86 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
srcrqs_query_string_remove_ques |
db_upgraded |
srcrqs_query_string_remove_amp |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Static Resource Cleanup by Removing Query Strings
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.22 ▼1.15 | 2.00 ▲0.03 | 44.05 ▲1.17 |
Dashboard /wp-admin | 2,213 ▲25 | 5.83 ▲0.96 | 108.08 ▲3.38 | 40.72 ▼1.39 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.00 ▼0.05 | 34.32 ▼6.04 | 31.88 ▼6.41 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.13 ▼0.09 | 620.30 ▼44.74 | 59.10 ▼2.11 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.17 ▲0.00 | 94.28 ▼4.37 | 44.41 ▼1.92 |
Query String Cleanup Settings /wp-admin/tools.php?page=srcrqs_cleanup | 789 | 2.06 | 25.18 | 23.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 3× 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/wp-speed-booster/includes/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-speed-booster/includes/cleanup.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-speed-booster/includes/admin.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
wp-speed-booster/wp-speed-booster.php 92% from 13 tests
The principal PHP file in "Static Resource Cleanup by Removing Query Strings" v. 1.0.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 228 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected73 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 22 | 8 | 73 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 10 | |
▷ Named functions | 10 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin