Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/change-admin-login-logo/Change_Admin_Login_Logo.php+56
Undefined variable: tables
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.22ms] Passed 4 tests
Analyzing server-side resources used by Admin-Logo-Title-URL Changer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.65 ▲1.35 |
Dashboard /wp-admin | 3.38 ▲0.08 | 53.48 ▲0.34 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.71 ▼1.59 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 84.16 ▼16.97 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 51.34 ▲14.41 |
Add Image /wp-admin/admin.php?page=submenu-first | 3.29 | 36.67 |
Server storage [IO: ▲5.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 169 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Admin-Logo-Title-URL Changer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲158 | 14.03 ▼0.35 | 5.33 ▲3.40 | 45.40 ▲4.48 |
Dashboard /wp-admin | 2,235 ▲44 | 5.56 ▼0.32 | 103.09 ▲2.33 | 36.92 ▼10.87 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.48 ▲0.43 | 36.72 ▼3.25 | 34.33 ▼5.00 |
Add New Post /wp-admin/post-new.php | 1,695 ▲167 | 22.98 ▲4.69 | 681.91 ▲53.40 | 42.48 ▼9.37 |
Media Library /wp-admin/upload.php | 1,417 ▲32 | 4.61 ▲0.43 | 113.77 ▲7.34 | 50.75 ▲3.57 |
Add Image /wp-admin/admin.php?page=submenu-first | 1,019 | 3.58 | 43.20 | 24.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/change-admin-login-logo/Change_Admin_Login_Logo.php+68
Undefined variable: tables
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/change-admin-login-logo/public/partials/Change-Admin-Login-Logo-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_media() in wp-content/plugins/change-admin-login-logo/admin/partials/Change_Admin_Login_Logo_add_playlist.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6 in change-admin-login-logo/assets to your readme.txt
- Plugin Name: You should set the name of your plugin on the first line (
=== change-admin-login-logo ===
)
change-admin-login-logo/Change_Admin_Login_Logo.php 85% from 13 tests
"Admin-Logo-Title-URL Changer" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("change-admin-login-logo.php" instead of "Change_Admin_Login_Logo.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin21,600 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 32 | 529 | 365 | 15,881 |
JavaScript | 43 | 898 | 851 | 3,461 |
SVG | 4 | 0 | 0 | 1,461 |
HTML | 1 | 162 | 195 | 485 |
PHP | 12 | 147 | 549 | 303 |
Markdown | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
39 PNG files occupy 2.25MB with 0.87MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
documentation-html-template-master/images/prettyPhoto/dark_rounded/sprite.png | 3.98KB | 2.56KB | ▼ 35.79% |
documentation-html-template-master/images/prettyPhoto/default/sprite_y.png | 1.13KB | 0.13KB | ▼ 88.81% |
documentation-html-template-master/images/prettyPhoto/dark_square/btnNext.png | 1.38KB | 1.14KB | ▼ 17.29% |
documentation-html-template-master/images/prettyPhoto/facebook/contentPatternTop.png | 0.14KB | 0.11KB | ▼ 21.13% |
documentation-html-template-master/images/prettyPhoto/facebook/btnNext.png | 0.83KB | 0.57KB | ▼ 30.77% |