Benchmarks
Plugin footprint 48% 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.04MB] [CPU: ▼5.29ms] Passed 4 tests
Server-side resources used by Change My Admin Login Logo
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.23 ▼4.62 |
Dashboard /wp-admin | 3.36 ▲0.05 | 52.55 ▼2.41 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 52.18 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.50 ▼13.35 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.35 ▲3.75 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Change My Admin Login Logo
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲180 | 14.66 ▲0.31 | 1.71 ▼1.07 | 27.64 ▼15.86 |
Dashboard /wp-admin | 2,332 ▲155 | 6.38 ▲0.76 | 115.61 ▲20.94 | 95.76 ▲50.39 |
Posts /wp-admin/edit.php | 2,275 ▲175 | 3.62 ▲1.64 | 54.55 ▲17.29 | 79.72 ▲43.69 |
Add New Post /wp-admin/post-new.php | 1,694 ▲162 | 22.80 ▼0.65 | 639.04 ▼54.77 | 41.66 ▼5.24 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.39 ▲0.17 | 84.77 ▼22.11 | 93.11 ▲49.00 |
Uninstaller [IO: ▲0.26MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the followingThis plugin did not uninstall successfully, leaving 7 options in the database
- Uninstall procedure validation failed for this plugin
- > Compile error in wp-content/plugins/change-my-admin-login-logo/uninstall.php+10
Cannot redeclare cmywll_deactivate_on_change_my_login_logo() (previously declared in wp-content/plugins/change-my-admin-login-logo/change-my-admin-login-loogo.php:29)
- Incomplete uninstall procedure, leaving 12 files (0.26MB) in the plugin directory
- (new file) includes/css/bootstrap.min.css
- (new file) includes/images/mychangelogo.png
- (new file) includes/option_constants.php
- (new file) includes/change_admin_login.php
- (new file) includes/images/cmywll.png
- (new file) includes/js/bootstrap.min.js
- (new file) includes/wp_login_logo_operation.php
- (new file) change-my-admin-login-loogo.php
- (new file) includes/index.php
- (new file) includes/loader.php
- ...
- widget_recent-posts
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/change-my-admin-login-logo/change-my-admin-login-loogo.php
- > /wp-content/plugins/change-my-admin-login-logo/includes/wp_login_logo_operation.php
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 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (My Wordpress Login Logo Settings Page), #2 (Wordpress Login Page)
- Plugin Name: Please specify the plugin name on the first line (
=== change-my-admin-login-logo ===
)
change-my-admin-login-logo/change-my-admin-login-loogo.php 92% from 13 tests
"Change My Admin Login Logo" version 1.0'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:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("change-my-admin-login-logo.php" instead of "change-my-admin-login-loogo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected200 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 38 | 49 | 198 |
CSS | 1 | 0 | 6 | 1 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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 | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/mychangelogo.png | 37.80KB | 12.40KB | ▼ 67.19% |
includes/images/cmywll.png | 0.53KB | 0.78KB | 0.00% |