Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼14.84ms] Passed 4 tests
Analyzing server-side resources used by WP Favicons plug-in
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 38.24 ▼3.59 |
Dashboard /wp-admin | 3.52 ▲0.22 | 37.44 ▼12.65 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 39.81 ▼10.67 |
Add New Post /wp-admin/post-new.php | 5.77 ▼0.12 | 76.01 ▼32.43 |
Media Library /wp-admin/upload.php | 3.52 ▲0.30 | 34.31 ▲3.17 |
Server Settings /wp-admin/admin.php?page=wp_favicons_client_xmlrpcserver_page | 3.49 | 32.67 |
Context /wp-admin/admin.php?page=wp_favicons_client_context_page | 3.49 | 34.68 |
Icon Client /wp-admin/admin.php?page=WP-Favicons-Client-Menu | 3.49 | 31.19 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 72 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
wp_favicons_client_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Favicons plug-in
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,768 ▲11 | 13.26 ▼1.49 | 1.11 ▼0.94 | 24.84 ▼18.83 |
Dashboard /wp-admin | 2,261 ▲73 | 5.11 ▲0.23 | 108.67 ▼4.74 | 71.16 ▲30.76 |
Posts /wp-admin/edit.php | 2,159 ▲70 | 2.00 ▼0.02 | 36.26 ▼4.62 | 30.93 ▼9.12 |
Add New Post /wp-admin/post-new.php | 1,585 ▲43 | 17.64 ▼0.58 | 791.56 ▲161.51 | 65.12 ▲6.67 |
Media Library /wp-admin/upload.php | 1,455 ▲73 | 4.14 ▼0.03 | 102.69 ▼1.26 | 52.13 ▲8.91 |
Server Settings /wp-admin/admin.php?page=wp_favicons_client_xmlrpcserver_page | 900 | 2.03 | 29.73 | 25.37 |
Context /wp-admin/admin.php?page=wp_favicons_client_context_page | 986 | 1.71 | 27.12 | 23.47 |
Icon Client /wp-admin/admin.php?page=WP-Favicons-Client-Menu | 835 | 2.07 | 30.31 | 27.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WP-Favicons-Client-Menu
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
SRP 50% from 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
Please fix the following
- 37× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'leau\\co\\wp_favicons_server\\Plugin' not found in wp-content/plugins/wp-favicons/includes/server/plugins/information/logfile.php:21
- > PHP Fatal error
Uncaught Error: Class 'leau\\co\\wp_favicons_server\\default_generic_plugin' not found in wp-content/plugins/wp-favicons/includes/server/plugins/default/wavatar.php:24
- > PHP Fatal error
Uncaught Error: Class 'leau\\co\\wp_favicons_server\\Plugin' not found in wp-content/plugins/wp-favicons/includes/server/plugins/metadata_favicon/empty_disk_cache.php:18
- > PHP Fatal error
Uncaught Error: Class 'leau\\co\\wp_favicons_server\\MasterXMLRPC' not found in wp-content/plugins/wp-favicons/includes/server/class-uri-xmlrpc.php:20
- > PHP Fatal error
Uncaught Error: Class 'leau\\co\\wp_favicons_client\\context_generic_plugin' not found in wp-content/plugins/wp-favicons/includes/client/plugins/context/get_comment_author_link.php:20
- > PHP Fatal error
Uncaught Error: Class 'leau\\co\\wp_favicons_client\\context_generic_plugin' not found in wp-content/plugins/wp-favicons/includes/client/plugins/context/bookmark_list.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/wp-favicons/includes/server/plugins/statuscodes/class-list-table-status.php:5
- > PHP Fatal error
Uncaught Error: Class 'leau\\co\\wp_favicons_server\\sources_generic_plugin' not found in wp-content/plugins/wp-favicons/includes/server/plugins/sources/google_s2.php:26
- > PHP Fatal error
Uncaught Error: Class 'leau\\co\\wp_favicons_server\\Plugin' not found in wp-content/plugins/wp-favicons/includes/server/plugins/information/sources.php:20
- > PHP Fatal error
Uncaught Error: Class 'leau\\co\\wp_favicons_server\\default_generic_plugin' not found in wp-content/plugins/wp-favicons/includes/server/plugins/default/retro.php:24
- > 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 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Example of my sidebar "lifeline" (accidently these are all coming from my delicious account) see what differences it makes!), #2 (Example of my site: http://populair.eu : 4.5 million users really liked the layout with the icons to be much more useable (!))
wp-favicons/wp-favicons-server.php 92% from 13 tests
The main PHP file in "WP Favicons plug-in" ver. 0.6.6 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-favicons.php" instead of "wp-favicons-server.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin5,730 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 58 | 935 | 2,696 | 5,702 |
XML | 1 | 0 | 0 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 64 | |
▷ Abstract classes | 8 | 12.50% |
▷ Concrete classes | 56 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 338 | |
▷ Static methods | 147 | 43.49% |
▷ Public methods | 323 | 95.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 4.44% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 3 | 21.43% |
▷ Class constants | 11 | 78.57% |
▷ Public constants | 11 | 100.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
12 compressed PNG files occupy 0.11MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/server/config/img/wpfavicons.png | 0.29KB | 0.23KB | ▼ 18.84% |
includes/server/img/200.png | 0.19KB | 0.17KB | ▼ 8.76% |
includes/server/img/418.png | 0.73KB | 0.74KB | 0.00% |
includes/server/img/400.png | 0.19KB | 0.17KB | ▼ 9.23% |
includes/server/img/wpfavicons.png | 0.29KB | 0.23KB | ▼ 18.84% |