Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.14MB] [CPU: ▼15.99ms] Passed 4 tests
Server-side resources used by Extra Options - Favicons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.04 | 28.53 ▼15.65 |
Dashboard /wp-admin | 3.24 ▼0.07 | 32.24 ▼15.01 |
Posts /wp-admin/edit.php | 3.31 ▼0.05 | 39.26 ▼11.40 |
Add New Post /wp-admin/post-new.php | 5.48 ▼0.41 | 72.64 ▼21.88 |
Media Library /wp-admin/upload.php | 3.22 ▼0.01 | 30.77 ▼3.65 |
Extra Options /wp-admin/admin.php?page=extra-options | 3.22 | 29.21 |
Favicons /wp-admin/admin.php?page=extra-options-favicons | 3.22 | 30.67 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
extra-options-sub-menus |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Extra Options - Favicons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,970 ▲199 | 14.72 ▼0.03 | 1.71 ▼0.67 | 43.09 ▲2.11 |
Dashboard /wp-admin | 2,376 ▲188 | 6.46 ▲0.52 | 131.13 ▲12.34 | 42.46 ▲1.60 |
Posts /wp-admin/edit.php | 2,285 ▲193 | 3.51 ▲1.53 | 55.16 ▲13.53 | 36.65 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,542 ▲5 | 23.44 ▲0.42 | 678.70 ▲64.07 | 37.55 ▼17.58 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.23 ▼0.01 | 80.11 ▼24.36 | 40.41 ▼2.31 |
Extra Options /wp-admin/admin.php?page=extra-options | 1,002 | 3.14 | 40.81 | 24.22 |
Favicons /wp-admin/admin.php?page=extra-options-favicons | 1,053 | 3.02 | 43.87 | 39.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- extra-options-sub-menus
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=extra-options-favicons
- > Notice in wp-content/plugins/extra-options-favicons/extra-options-favicons.php+182
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/extra-options-favicons/extra-options-favicons.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=extra-options-favicons
- > Network (severe)
wp-content/plugins/extra-options-favicons//styles/jquery-ui.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: favicons for wordpress, favicons, custom favicons for wordpress, wordpress admin favicon, set wordpress favicons...
extra-options-favicons/extra-options-favicons.php Passed 13 tests
The main PHP script in "Extra Options - Favicons" version 1.1.0 is automatically included on every request by WordPress
73 characters long description:
Allows you to upload and set fav icons for the dashboard and the website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin238 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 42 | 172 |
CSS | 1 | 0 | 0 | 48 |
JavaScript | 1 | 3 | 0 | 18 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 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 were not PNG files found in your plugin