Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼13.23ms] Passed 4 tests
A check of server-side resources used by Bobs Custom Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.21 | 41.14 ▼1.64 |
Dashboard /wp-admin | 3.44 ▲0.10 | 33.23 ▼16.81 |
Posts /wp-admin/edit.php | 3.51 ▲0.12 | 33.26 ▼16.03 |
Add New Post /wp-admin/post-new.php | 5.70 ▼0.22 | 70.58 ▼16.44 |
Media Library /wp-admin/upload.php | 3.45 ▲0.18 | 31.19 ▼3.65 |
bobs Custom Login /wp-admin/themes.php?page=bobs_custom_login_settings | 3.45 | 31.29 |
Server storage [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: no files
Database: no new tables, 13 new options
New WordPress options |
---|
db_upgraded |
bcl_notice_section |
bcl_form_section |
theysaidso_admin_options |
bcl_custom_css_section |
widget_recent-comments |
bcl_elements_section |
bcl_below_form_section |
widget_recent-posts |
bcl_login_messages_section |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Bobs Custom Login
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 13.77 ▼0.79 | 1.87 ▲0.07 | 42.86 ▲1.53 |
Dashboard /wp-admin | 2,217 ▲29 | 4.88 ▼0.98 | 99.26 ▼3.70 | 37.88 ▼4.39 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.01 ▲0.00 | 33.66 ▼6.12 | 34.77 ▼3.99 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 23.25 ▲4.91 | 669.44 ▲52.04 | 49.37 ▼9.31 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.18 ▼0.02 | 92.62 ▼3.65 | 41.02 ▼2.31 |
bobs Custom Login /wp-admin/themes.php?page=bobs_custom_login_settings | 2,611 | 3.97 | 125.60 | 94.13 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 13 options
- bcl_preview_section
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- bcl_elements_section
- can_compress_scripts
- bcl_notice_section
- widget_recent-posts
- bcl_form_section
- bcl_custom_css_section
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 6 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=bobs_custom_login_settings
- > Notice in wp-content/plugins/bobs-custom-login/admin/settings/apply-css.php+104
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bobs-custom-login/admin/settings/apply-css.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/bobs-custom-login/admin/settings/settings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bobs-custom-login/admin/settings/class-settings.php:401
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/themes.php?page=bobs_custom_login_settings
- > Network (severe)
wp-content/plugins/bobs-custom-login/admin/js/jquery.backstretch.min.js - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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 require attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
- Screenshots: Please add images for these screenshots: #1 (Settings are under the Appearance menu.), #2 (Custom Login Settings - Tab 1 - Logo & Background), #3 (Custom Login Settings - Tab 2 - Form), #4 (Custom Login Settings - Tab 3 - Below Form Links), #5 (Custom Login Settings - Tab 4 - Message Boxes), #6 (Custom Login Settings - Tab 5 - Preview), #7 (Demo Login Page #1), #8 (Demo Login Page #2), #9 (Demo Login Page #3)
bobs-custom-login/bobs-custom-login.php Passed 13 tests
"Bobs Custom Login" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
95 characters long description:
Bobs Custom Login allows you to easily customize your admin login page according to your needs.
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 detected2,139 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 98 | 127 | 1,151 |
PO File | 3 | 372 | 540 | 740 |
JavaScript | 1 | 0 | 0 | 179 |
CSS | 1 | 0 | 0 | 69 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 4.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 26 | |
▷ Static methods | 5 | 19.23% |
▷ Public methods | 22 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 15.38% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 1.95MB with 1.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-8.png | 538.01KB | 242.73KB | ▼ 54.88% |
screenshot-5.png | 90.30KB | 31.70KB | ▼ 64.89% |
screenshot-4.png | 118.69KB | 42.68KB | ▼ 64.04% |
admin/images/w-logo-blue.png | 19.01KB | 2.67KB | ▼ 85.98% |
screenshot-2.png | 130.96KB | 44.03KB | ▼ 66.38% |