Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.75ms] Passed 4 tests
A check of server-side resources used by Favicon by RealFaviconGenerator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.34 ▼3.74 |
Dashboard /wp-admin | 3.57 ▲0.27 | 47.56 ▼6.05 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 52.68 ▲5.52 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 84.59 ▼10.72 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 41.03 ▲6.15 |
Favicon /wp-admin/options-general.php?page=favicon-by-realfavicongenerator/admin/class-favicon-by-realfavicongenerator-admin.phpfavicon_settings_menu | 3.40 | 33.11 |
Favicon /wp-admin/themes.php?page=favicon-by-realfavicongenerator/admin/class-favicon-by-realfavicongenerator-admin.phpfavicon_appearance_menu | 3.47 | 37.82 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Favicon by RealFaviconGenerator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲36 | 14.29 ▲0.05 | 1.66 ▼0.14 | 37.90 ▼6.80 |
Dashboard /wp-admin | 2,203 ▲26 | 5.60 ▼0.04 | 92.93 ▲3.11 | 40.72 ▼5.43 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.95 ▼0.01 | 38.87 ▼3.39 | 38.24 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.18 ▲0.03 | 684.42 ▼4.77 | 54.85 ▼0.53 |
Media Library /wp-admin/upload.php | 1,402 ▲5 | 4.20 ▲0.05 | 97.19 ▼5.86 | 42.40 ▼0.49 |
Favicon /wp-admin/options-general.php?page=favicon-by-realfavicongenerator/admin/class-favicon-by-realfavicongenerator-admin.phpfavicon_settings_menu | 814 | 2.00 | 26.57 | 26.54 |
Favicon /wp-admin/themes.php?page=favicon-by-realfavicongenerator/admin/class-favicon-by-realfavicongenerator-admin.phpfavicon_appearance_menu | 1,028 | 3.11 | 44.41 | 24.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/favicon-by-realfavicongenerator/public/class-favicon-by-realfavicongenerator.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/favicon-by-realfavicongenerator/admin/views/settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/favicon-by-realfavicongenerator/admin/views/appearance.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/favicon-by-realfavicongenerator/admin/views/keep_active_notice.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/favicon-by-realfavicongenerator/admin/class-favicon-by-realfavicongenerator-admin.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
favicon-by-realfavicongenerator/favicon-by-realfavicongenerator.php Passed 13 tests
The main PHP script in "Favicon by RealFaviconGenerator" version 1.3.28 is automatically included on every request by WordPress
131 characters long description:
Create and install your favicon for all platforms: PC/Mac of course, but also iPhone/iPad, Android devices, Windows 8 tablets, etc.
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
Everything looks great! No dangerous files found in this plugin2,523 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 302 | 263 | 1,359 |
PO File | 9 | 381 | 436 | 1,161 |
CSS | 1 | 1 | 1 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 9 | 10.71% |
▷ Public methods | 79 | 94.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.95% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 38 | |
▷ Global constants | 15 | 39.47% |
▷ Class constants | 23 | 60.53% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected