Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.61ms] Passed 4 tests
Server-side resources used by WP Login Logo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.06 | 43.03 ▼0.64 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.85 ▲3.21 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 44.85 ▼11.48 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 90.78 ▼4.30 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 39.90 ▲1.97 |
WP Login Logo /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php | 3.24 | 33.43 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Login Logo
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.34 ▼1.04 | 4.26 ▲2.15 | 38.86 ▼6.84 |
Dashboard /wp-admin | 2,213 ▲24 | 4.87 ▼0.09 | 98.70 ▼9.49 | 41.51 ▲0.01 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.00 | 36.42 ▼0.86 | 34.73 ▲3.85 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 18.15 ▼5.02 | 602.97 ▼68.87 | 73.55 ▲16.78 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.30 ▲0.05 | 96.57 ▼9.44 | 41.73 ▼2.82 |
WP Login Logo /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php | 1,347 | 4.00 | 85.60 | 72.56 |
Uninstaller [IO: ▲0.08MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Incomplete uninstall procedure, leaving 10 files (0.08MB) in the plugin directory
- (new file) wp-login-logo.php
- (new file) screenshot-2.png
- (new file) languages/wp-login-logo.pot
- (new file) images/dev_logo.png
- (new file) screenshot-1.png
- (new file) readme.txt
- (new file) screenshot-3.png
- (new file) wp-login-logo-min.css
- (new file) screenshot-4.png
- (new file) wp-login-logo-min.js
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=wp-login-logo/wp-login-logo.php
- > Network (severe)
http://workstation.nerdnet.it/wp-content/uploads/2015/06/donate-button.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #3 (Menu Version 1.0.2), #4 (How to Works Versions 1.0.2)
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wp-login-logo/wp-login-logo.php Passed 13 tests
The principal PHP file in "WP Login Logo" v. 1.0.4 is loaded by WordPress automatically on each request
33 characters long description:
Change login logo (wp-login.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
No dangerous file extensions were detected250 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 105 | 244 |
JavaScript | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.08 |
▷ 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 | 13 | |
▷ Static methods | 13 | 100.00% |
▷ Public methods | 13 | 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 | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/dev_logo.png | 22.02KB | 10.27KB | ▼ 53.37% |
(invalid) screenshot-4.png | 0.00KB | 0.00KB | 0.00% |
screenshot-1.png | 18.04KB | 9.15KB | ▼ 49.26% |
(invalid) screenshot-3.png | 0.00KB | 0.00KB | 0.00% |
screenshot-2.png | 23.64KB | 13.76KB | ▼ 41.77% |