Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.96ms] Passed 4 tests
Analyzing server-side resources used by azurecurve Multisite Favicon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.89 ▼4.55 |
Dashboard /wp-admin | 3.32 ▲0.02 | 40.68 ▼6.52 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.71 ▲0.21 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.67 ▼12.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.68 ▲5.80 |
Multisite Favicon /wp-admin/admin.php?page=azc-msfi | 3.21 | 27.02 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 3.21 | 25.81 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
azc_msfi_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for azurecurve Multisite Favicon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲93 | 13.71 ▼1.09 | 1.64 ▼0.56 | 37.62 ▼12.76 |
Dashboard /wp-admin | 2,234 ▲49 | 5.04 ▼0.83 | 110.05 ▲0.51 | 93.01 ▲52.84 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.01 ▼0.02 | 35.69 ▼0.95 | 34.09 ▲1.23 |
Add New Post /wp-admin/post-new.php | 1,546 ▲4 | 23.19 ▲4.98 | 763.77 ▲158.91 | 51.50 ▼18.89 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.23 ▼0.00 | 98.35 ▼1.93 | 71.16 ▲25.25 |
Multisite Favicon /wp-admin/admin.php?page=azc-msfi | 856 | 2.03 | 26.84 | 25.64 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 850 | 2.02 | 24.00 | 24.46 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
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 no errors were found, this is by no means an exhaustive test
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-multisite-favicon/includes/menu.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-multisite-favicon/includes/menu.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% 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 to be fixed:
- Screenshots: Add an image for screenshot #1 (Plugin settings page.)
azurecurve-multisite-favicon/azurecurve-multisite-favicon.php Passed 13 tests
This is the main PHP file of "azurecurve Multisite Favicon" version 2.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
76 characters long description:
Allows Setting of Separate Favicon For Each Site In A Multisite Installation
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
Everything looks great! No dangerous files found in this plugin435 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 77 | 51 | 413 |
CSS | 2 | 0 | 4 | 22 |
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.64 |
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 | 14 | |
▷ Named functions | 14 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Favicon-16x16.png | 0.40KB | 0.34KB | ▼ 14.81% |