Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼32.78ms] Passed 4 tests
Analyzing server-side resources used by WP Resources URL Optimization
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.80 ▲0.62 |
Dashboard /wp-admin | 3.00 ▼0.30 | 21.43 ▼24.91 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 23.12 ▼22.62 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 23.93 ▼72.22 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 23.09 ▼11.37 |
WP Resources URL Optimization /wp-admin/options-general.php?page=wp-resources-url-optimization/wp-resources-url-optimization.php | 3.00 | 22.49 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- There were 1 file (0.00KB) illegally modified outside of "wp-content/plugins/wp-resources-url-optimization/" and "wp-content/uploads/"
- (new file) wp-content/wp-resources-back/1.5.0
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
wpruo_option |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Resources URL Optimization: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.26 ▼1.15 | 1.82 ▼0.34 | 42.91 ▼0.83 |
Dashboard /wp-admin | 2,210 ▲28 | 4.88 ▼1.00 | 108.27 ▲3.96 | 39.12 ▼3.89 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.98 ▼0.01 | 34.43 ▼2.87 | 29.87 ▼5.01 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.28 ▼4.94 | 587.73 ▼90.86 | 52.60 ▼0.22 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.17 ▼0.05 | 95.63 ▼3.84 | 41.68 ▼2.07 |
WP Resources URL Optimization /wp-admin/options-general.php?page=wp-resources-url-optimization/wp-resources-url-optimization.php | 858 | 2.03 | 28.44 | 26.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin did not uninstall successfully, leaving 7 options in the database
- wpruo_option
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-resources-url-optimization/wp-resources-url-optimization.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-resources-url-optimization/wp-resources-url-optimization.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: resources, plugins, script, query-string, style...
wp-resources-url-optimization/wp-resources-url-optimization.php 92% from 13 tests
The entry point to "WP Resources URL Optimization" version 1.6 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 789 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin362 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 41 | 26 | 278 |
Markdown | 2 | 55 | 0 | 84 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin