Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/customize-external-links-and-add-icon/customizer-external-links-initiate.php+91
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.84MB] [CPU: ▼49.56ms] Passed 4 tests
Server-side resources used by Customize External Links and add Icon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 5.84 ▼31.98 |
Dashboard /wp-admin | 2.17 ▼1.13 | 6.21 ▼42.72 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 6.72 ▼41.72 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 7.09 ▼81.83 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 7.20 ▼28.58 |
Customize External links /wp-admin/options-general.php?page=cuexlinks_option_page | 2.17 | 6.86 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Customize External Links and add Icon
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 14.44 ▲0.06 | 1.59 ▲0.03 | 38.62 ▼2.87 |
Dashboard /wp-admin | 2,216 ▲31 | 5.85 ▲0.99 | 105.75 ▲5.65 | 39.71 ▼3.54 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.03 ▲0.02 | 34.13 ▼3.41 | 34.42 ▲0.98 |
Add New Post /wp-admin/post-new.php | 1,523 ▲9 | 23.08 ▲5.35 | 653.73 ▲0.15 | 51.21 ▲0.95 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.23 ▲0.03 | 99.96 ▲1.24 | 42.67 ▲0.88 |
Customize External links /wp-admin/options-general.php?page=cuexlinks_option_page | 910 | 2.20 | 24.21 | 74.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/customize-external-links-and-add-icon/customizer-external-links-initiate.php+91
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cuexlinks_option_page
- > Notice in wp-content/plugins/customize-external-links-and-add-icon/customize-external-links-form.php+10
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function cuexlinks_options_page_fn() in wp-content/plugins/customize-external-links-and-add-icon/customize-external-links-form.php:117
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-external-links-and-add-icon/customizer-external-links-initiate.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-external-links-and-add-icon/customizer-external-links-initiate.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Requires at least: Invalid version format
- Donate link: Please fix this invalid URI: ""
customize-external-links-and-add-icon/customize-external-links.php 85% from 13 tests
"Customize External Links and add Icon" version 2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("customize-external-links-and-add-icon.php" instead of "customize-external-links.php")
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
There were no executable files found in this plugin581 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 152 | 59 | 516 |
PO File | 1 | 18 | 19 | 58 |
CSS | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 40 | |
▷ Named functions | 39 | 97.50% |
▷ Anonymous functions | 1 | 2.50% |
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
No PNG images were found in this plugin