Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/favicon-xt-manager/index.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; phpxtFaviconXtManager has a deprecated constructor
Server metrics [RAM: ▼0.95MB] [CPU: ▼35.67ms] Passed 4 tests
Server-side resources used by Favicon XT-Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 26.93 ▼18.90 |
Dashboard /wp-admin | 3.00 ▼0.31 | 26.10 ▼30.22 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 23.56 ▼26.05 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 26.00 ▼67.51 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 22.59 ▼12.67 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
phpxtFaviconXtManagerOptions |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Favicon XT-Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.78 ▲0.40 | 1.62 ▼0.15 | 45.68 ▲5.97 |
Dashboard /wp-admin | 2,232 ▲26 | 5.79 ▲0.93 | 102.56 ▼0.36 | 36.56 ▼4.46 |
Posts /wp-admin/edit.php | 2,117 ▲38 | 2.06 ▼0.07 | 34.03 ▼5.79 | 33.83 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,559 ▲27 | 23.35 ▲0.12 | 630.46 ▼10.16 | 62.41 ▲12.79 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.24 ▲0.00 | 103.79 ▼1.51 | 44.35 ▼3.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/favicon-xt-manager/index.php+170
Non-static method phpxtFaviconXtManager::phpxtFaviconXtManagerMenu() should not be called statically
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- phpxtFaviconXtManagerOptions
- widget_recent-posts
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
Everything seems fine, however 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/favicon-xt-manager/index.php:162
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
favicon-xt-manager/index.php 85% from 13 tests
"Favicon XT-Manager" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 324 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("favicon-xt-manager.php" instead of "index.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
Good job! No executable or dangerous file extensions detected138 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 22 | 138 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/favicon.png | 17.98KB | 0.34KB | ▼ 98.10% |