Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.88ms] Passed 4 tests
Server-side resources used by ESB URL Extension
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.06 | 51.00 ▲7.06 |
Dashboard /wp-admin | 3.41 ▲0.02 | 56.32 ▼7.58 |
Posts /wp-admin/edit.php | 3.51 ▲0.10 | 58.19 ▲3.92 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.06 | 96.16 ▼5.58 |
Media Library /wp-admin/upload.php | 3.33 ▲0.06 | 44.72 ▲5.72 |
Extension Settings /wp-admin/options-general.php?page=esb-eu-settings | 3.30 | 42.02 |
Server storage [IO: ▲0.01MB] [DB: ▼0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
esb_eu_settings |
widget_theysaidso_widget |
esb_eu_set_option |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ESB URL Extension
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.25 ▼0.03 | 2.17 ▲0.42 | 45.34 ▲2.47 |
Dashboard /wp-admin | 2,201 ▲24 | 5.64 ▲0.10 | 90.80 ▼6.48 | 40.90 ▲0.82 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.00 | 36.25 ▼4.82 | 36.20 ▼4.82 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 21.21 ▼1.81 | 639.31 ▲11.12 | 59.45 ▼0.09 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.19 ▲0.02 | 101.93 ▼8.25 | 43.30 ▼2.19 |
Extension Settings /wp-admin/options-general.php?page=esb-eu-settings | 813 | 2.03 | 24.85 | 31.94 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=esb-eu-settings
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=esb-eu-settings
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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
Congratulations! This plugin passed the SRP test
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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
esb-url-extension/esb-url-extension.php Passed 13 tests
This is the main PHP file of "ESB URL Extension" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
61 characters long description:
Extend your url with .html, .htm, .php, .jsp, .asp, .xml etc.
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 plugin202 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 99 | 118 | 189 |
CSS | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin