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.01MB] [CPU: ▼0.83ms] Passed 4 tests
A check of server-side resources used by My WordPress Login Logo
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.28 ▼0.51 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.05 ▼4.27 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.49 ▲2.01 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.80 ▲1.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.30 ▲0.07 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for My WordPress Login Logo
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲195 | 13.80 ▼0.56 | 1.74 ▼0.24 | 41.39 ▼4.27 |
Dashboard /wp-admin | 2,222 ▲34 | 4.90 ▼0.07 | 108.41 ▼13.20 | 43.78 ▼8.31 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.01 ▼0.02 | 41.27 ▼5.15 | 35.76 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 23.12 ▲4.94 | 631.23 ▼3.79 | 59.98 ▲7.66 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.21 ▼0.03 | 96.42 ▼18.30 | 40.32 ▼4.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/my-wp-login-logo/views/dashboard.php
- > /wp-content/plugins/my-wp-login-logo/views/faq.php
- > /wp-content/plugins/my-wp-login-logo/views/plugin-info.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/my-wp-login-logo/core/custom-styles.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/my-wp-login-logo/core/custom-js.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/my-wp-login-logo/dc-custom-login-logo.php:12
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: custom logo, wordpress login logo, change login page logo, login page logo, logo changer
my-wp-login-logo/dc-custom-login-logo.php 92% from 13 tests
"My WordPress Login Logo" version 2.4.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("my-wp-login-logo.php" instead of "dc-custom-login-logo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected313 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 52 | 14 | 311 |
CSS | 1 | 1 | 1 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/email.png | 0.63KB | 0.61KB | ▼ 3.10% |
css/images/sprites.png | 2.11KB | 1.69KB | ▼ 19.79% |
images/digitcodes-icon.png | 0.57KB | 0.66KB | 0.00% |
images/mylogo.png | 6.18KB | 4.19KB | ▼ 32.10% |
css/images/pattern-chronicl.png | 0.14KB | 0.13KB | ▼ 2.82% |