Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.07ms] Passed 4 tests
A check of server-side resources used by URL Params
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.38 ▼4.39 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.76 ▼4.66 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.25 ▼3.51 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.27 ▼15.71 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.50 ▲4.65 |
URL Params /wp-admin/options-general.php?page=urlparams | 3.23 | 34.86 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for URL Params
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.31 ▼0.04 | 1.78 ▲0.17 | 44.52 ▲3.58 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▲0.08 | 97.37 ▲4.67 | 44.65 ▼1.28 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▲0.01 | 35.55 ▼4.89 | 35.56 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 23.08 ▲0.24 | 675.83 ▲42.80 | 57.75 ▼10.25 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.23 ▲0.05 | 99.65 ▲0.37 | 43.42 ▼0.31 |
URL Params /wp-admin/options-general.php?page=urlparams | 844 | 1.96 | 24.71 | 31.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/url-params/urlparams.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/url-params/options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== url-params ===
) - Tags: You are using too many tags: 12 tag instead of maximum 10
url-params/urlparams.php 92% from 13 tests
The main PHP script in "URL Params" version 2.5 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("url-params.php" instead of "urlparams.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin199 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 60 | 39 | 199 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin