Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.70ms] Passed 4 tests
Server-side resources used by WP Version in Query String Modifier
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.07 ▼1.48 |
Dashboard /wp-admin | 3.34 ▼0.01 | 43.73 ▼12.13 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.80 ▲1.74 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.64 ▼10.94 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.64 ▲2.00 |
WP Version Modifier /wp-admin/options-general.php?page=wpvqsm_ | 3.23 | 30.60 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
wpvqsm_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Version in Query String Modifier
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.38 ▼0.18 | 1.76 ▲0.04 | 44.55 ▼2.00 |
Dashboard /wp-admin | 2,198 ▲18 | 5.50 ▼0.16 | 81.65 ▼4.40 | 38.90 ▼1.66 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.00 | 35.89 ▲2.06 | 33.77 ▼2.60 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.95 ▼0.28 | 685.56 ▲16.23 | 77.24 ▲9.44 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.17 ▼0.04 | 100.82 ▼5.18 | 43.69 ▼2.52 |
WP Version Modifier /wp-admin/options-general.php?page=wpvqsm_ | 881 | 2.04 | 24.13 | 29.33 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_url() in wp-content/plugins/wp-version-in-query-string-modifier/tmpl/menu.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: link, query string, remove query string, version, optimization...
wp-version-in-query-string-modifier/wp-version-in-query-string-modifier.php 92% from 13 tests
The main PHP file in "WP Version in Query String Modifier" ver. 1.0.0.7 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 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
Success! There were no dangerous files found in this plugin205 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 90 | 205 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin