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.01MB] [CPU: ▼5.73ms] Passed 4 tests
A check of server-side resources used by Favicon on external URLs
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.47 ▼1.45 |
Dashboard /wp-admin | 3.33 ▼0.02 | 49.43 ▼17.20 |
Posts /wp-admin/edit.php | 3.39 ▲0.02 | 50.19 ▼3.65 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.02 | 94.03 ▼0.61 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 37.12 ▲2.12 |
Favicon on ext. URLs /wp-admin/options-general.php?page=favic | 3.22 | 33.72 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options |
---|
service_url |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
post_content_selector |
Browser metrics Passed 4 tests
Favicon on external URLs: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲133 | 13.72 ▼0.64 | 9.27 ▲7.65 | 39.14 ▼1.35 |
Dashboard /wp-admin | 2,201 ▲21 | 5.64 ▲0.01 | 84.88 ▼5.24 | 39.22 ▼0.45 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.01 ▲0.06 | 41.10 ▲2.21 | 36.02 ▲1.27 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.63 ▲0.47 | 640.18 ▼47.27 | 57.89 ▲0.72 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.19 ▼0.06 | 97.01 ▼23.69 | 43.78 ▼6.24 |
Favicon on ext. URLs /wp-admin/options-general.php?page=favic | 832 | 2.03 | 25.33 | 29.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- service_url
- widget_recent-posts
- post_content_selector
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/favicon-on-external-urls/admin_page.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: service_url in wp-content/plugins/favicon-on-external-urls/admin_page.php on line 9
- > PHP Notice
Undefined variable: icon_position in wp-content/plugins/favicon-on-external-urls/admin_page.php on line 11
- > PHP Notice
Undefined variable: post_content_selector in wp-content/plugins/favicon-on-external-urls/admin_page.php on line 7
- > PHP Notice
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
2 plugin tags: favicon, url
favicon-on-external-urls/favicon_on_external_urls.php 77% from 13 tests
The principal PHP file in "Favicon on external URLs" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("favicon-on-external-urls.php" instead of "favicon_on_external_urls.php")
- 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
- Description: Keep the plugin description shorter than 140 characters (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected124 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 11 | 14 | 95 |
JavaScript | 1 | 1 | 0 | 23 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin