Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.54ms] Passed 4 tests
A check of server-side resources used by All In One Favicon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 44.74 ▲2.10 |
Dashboard /wp-admin | 3.44 ▲0.14 | 53.67 ▼3.83 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 51.90 ▼0.33 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.13 | 92.04 ▼19.72 |
Media Library /wp-admin/upload.php | 3.37 ▲0.13 | 38.32 ▲1.74 |
Other Tools /wp-admin/admin.php?page=all-in-one-favicon-plugin-other-tools | 3.33 | 34.52 |
AppSumo /wp-admin/admin.php?page=aiof_go_appsumo_pro | 3.21 | 29.35 |
All in one Favicon /wp-admin/admin.php?page=all-in-one-favicon | 3.35 | 36.33 |
Server storage [IO: ▲0.33MB] [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: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for All In One Favicon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲43 | 14.17 ▼0.39 | 1.72 ▼0.52 | 33.07 ▼8.98 |
Dashboard /wp-admin | 2,237 ▲60 | 5.62 ▲0.02 | 93.14 ▼13.90 | 48.53 ▲4.82 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.02 ▲0.03 | 40.02 ▲3.99 | 38.97 ▲2.26 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.07 ▼0.07 | 712.40 ▲44.45 | 51.74 ▲3.67 |
Media Library /wp-admin/upload.php | 1,433 ▲30 | 4.12 ▼0.11 | 99.94 ▼2.01 | 49.16 ▲7.08 |
Other Tools /wp-admin/admin.php?page=all-in-one-favicon-plugin-other-tools | 1,014 | 2.04 | 24.60 | 47.20 |
AppSumo /wp-admin/admin.php?page=aiof_go_appsumo_pro | 2,221 | 15.10 | 599.61 | 172.34 |
All in one Favicon /wp-admin/admin.php?page=all-in-one-favicon | 1,460 | 2.04 | 23.69 | 44.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AllInOneFavicon::uninstallAioFavicon() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/all-in-one-favicon/includes/appsumo-capture-form.php
- > /wp-content/plugins/all-in-one-favicon/appsumo-capture-form.php
- > /wp-content/plugins/all-in-one-favicon/includes/settings-page/sp-footer.php
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_thickbox() in wp-content/plugins/all-in-one-favicon/appsumo.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-favicon/includes/settings-page/sp-translation.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/all-in-one-favicon/all-in-one-favicon.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-favicon/includes/settings-page/sp-tipps-box.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-favicon/includes/settings-page/sp-donations.php:14
- > PHP Warning
Use of undefined constant AIOFAVICON_NAME - assumed 'AIOFAVICON_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/all-in-one-favicon/includes/settings-page.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_thickbox() in wp-content/plugins/all-in-one-favicon/other_tools.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-favicon/includes/settings-page/sp-delete-settings.php:15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/all-in-one-favicon/includes/settings-page/sp-plugin-favicon-settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/all-in-one-favicon/includes/settings-page/sp-right-column.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=aiof_go_appsumo_pro
- > Network (severe)
https://appsumo.com/tools/wordpress/?utm_source=sumo&utm_medium=wp-widget&utm_campaign=all-in-one-favicon - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=aiof_go_appsumo_pro
- > Javascript (severe) in unknown
https://appsumo2-cdn.appsumo.com/static/dist/js/vue_bridge.61ea1a9c.js 6:75186 Uncaught TypeError: (void 0) is not a function
- > GET request to /wp-admin/admin.php?page=aiof_go_appsumo_pro
- > Console-api (warning) in unknown
https://accounts.google.com/gsi/client 41:457 "[GSI_LOGGER]: Relative login_uri was provided. Use absolute url instead. Relative login_uri may be considered invalid in the future."
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
all-in-one-favicon/all-in-one-favicon.php 92% from 13 tests
"All In One Favicon" version 4.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 178 characters long)
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
Good job! No executable or dangerous file extensions detected4,211 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 17 | 868 | 1,169 | 2,696 |
PHP | 20 | 201 | 675 | 837 |
CSS | 2 | 34 | 2 | 323 |
Markdown | 1 | 40 | 0 | 133 |
JavaScript | 5 | 31 | 87 | 118 |
SVG | 3 | 0 | 2 | 104 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 14.83 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/products/appsumo-logo.png | 5.92KB | 6.11KB | 0.00% |
images/products/sumo-logo.png | 6.58KB | 3.19KB | ▼ 51.51% |