Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.65ms] Passed 4 tests
This is a short check of server-side resources used by Change Login Page Logo
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.05 | 49.32 ▲2.60 |
Dashboard /wp-admin | 3.70 ▲0.06 | 56.95 ▼11.55 |
Posts /wp-admin/edit.php | 3.75 ▲0.07 | 62.47 ▲9.34 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.05 | 93.28 ▼19.61 |
Media Library /wp-admin/upload.php | 3.54 ▲0.05 | 42.88 ▲1.95 |
Change Login Logo /wp-admin/options-general.php?page=clpl_settings | 3.55 | 40.47 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Change Login Page Logo
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲189 | 14.53 ▲0.23 | 1.70 ▼0.00 | 40.75 ▼9.57 |
Dashboard /wp-admin | 2,338 ▲161 | 6.18 ▲0.46 | 115.87 ▲13.38 | 39.25 ▲1.79 |
Posts /wp-admin/edit.php | 2,263 ▲163 | 3.33 ▲1.30 | 49.38 ▲12.45 | 32.75 ▼2.91 |
Add New Post /wp-admin/post-new.php | 1,545 ▼4 | 23.32 ▲0.36 | 676.07 ▲23.38 | 37.07 ▼18.92 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.12 ▼0.04 | 86.46 ▼30.27 | 41.95 ▼8.07 |
Change Login Logo /wp-admin/options-general.php?page=clpl_settings | 1,144 | 3.35 | 44.05 | 42.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/change-login-page-logo/admin/pages/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (**Settings Page** - Here you can manage login logo settings.), #2 (**Help Page** - List of FAQ and support contact information.), #3 (**WordPress Login Page** - Changed login logo.)
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
change-login-page-logo/CLPL.php 77% from 13 tests
The entry point to "Change Login Page Logo" version 1.0.2 is a PHP file that has certain tags in its header comment area
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-login-page-logo.php" instead of "CLPL.php")
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 151 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin446 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 62 | 130 | 332 |
CSS | 1 | 0 | 0 | 114 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 2 | 13.33% |
▷ Public methods | 15 | 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 | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin