Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/login-screen-manager/inc/display.php+223
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.95MB] [CPU: ▼57.45ms] Passed 4 tests
This is a short check of server-side resources used by Login Screen Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.42 | 5.75 ▼39.48 |
Dashboard /wp-admin | 2.07 ▼1.28 | 8.36 ▼54.38 |
Posts /wp-admin/edit.php | 2.07 ▼1.29 | 7.17 ▼44.48 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.82 | 7.36 ▼91.47 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 7.31 ▼31.20 |
Login Screen /wp-admin/options-general.php?page=cwlsm-options | 2.07 | 6.82 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Login Screen Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲53 | 14.24 ▼0.19 | 1.87 ▼0.04 | 48.56 ▼0.92 |
Dashboard /wp-admin | 2,196 ▲19 | 5.55 ▼0.13 | 92.06 ▼9.32 | 41.94 ▼6.78 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.01 | 36.50 ▼1.13 | 35.31 ▼7.69 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.70 ▲0.38 | 669.41 ▼27.57 | 61.50 ▼0.31 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.23 ▲0.00 | 95.84 ▼28.86 | 43.24 ▼6.74 |
Login Screen /wp-admin/options-general.php?page=cwlsm-options | 1,080 | 2.85 | 41.64 | 28.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/login-screen-manager/inc/display.php+223
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cwlsm-options
- > Notice in wp-content/plugins/login-screen-manager/inc/admin.php+79
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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/login-screen-manager/inc/admin.php:135
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/login-screen-manager/login-screen-manager.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/login-screen-manager/inc/display.php:195
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cwlsm-options
- > Javascript (warning) in unknown
https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?ver=1.9.0 30 A parser-blocking, cross site (i.e. different eTLD+1) script, https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/builder.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
- > GET request to /wp-admin/options-general.php?page=cwlsm-options
- > Javascript (warning) in unknown
https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?ver=1.9.0 30 A parser-blocking, cross site (i.e. different eTLD+1) script, https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/effects.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
- > GET request to /wp-admin/options-general.php?page=cwlsm-options
- > Javascript (warning) in unknown
https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?ver=1.9.0 30 A parser-blocking, cross site (i.e. different eTLD+1) script, https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/dragdrop.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
- > GET request to /wp-admin/options-general.php?page=cwlsm-options
- > Javascript (warning) in unknown
https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?ver=1.9.0 30 A parser-blocking, cross site (i.e. different eTLD+1) script, https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/controls.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
- > GET request to /wp-admin/options-general.php?page=cwlsm-options
- > Javascript (warning) in unknown
https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?ver=1.9.0 30 A parser-blocking, cross site (i.e. different eTLD+1) script, https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/slider.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
- > GET request to /wp-admin/options-general.php?page=cwlsm-options
- > Javascript (warning) in unknown
https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?ver=1.9.0 30 A parser-blocking, cross site (i.e. different eTLD+1) script, https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/sound.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
- > GET request to /wp-admin/options-general.php?page=cwlsm-options
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=cwlsm-options
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (A Login Screen), #2 (Option Page), #3 (Favicon)
login-screen-manager/login-screen-manager.php 92% from 13 tests
The main PHP script in "Login Screen Manager" version 3.5.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 453 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin917 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 140 | 37 | 795 |
PHP | 3 | 35 | 24 | 83 |
PO File | 1 | 11 | 11 | 39 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.16MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/js/hv.png | 2.80KB | 7.32KB | 0.00% |
screenshot-1.png | 44.03KB | 17.00KB | ▼ 61.39% |
inc/images/hs.png | 2.62KB | 7.54KB | 0.00% |
screenshot-2.png | 79.55KB | 26.96KB | ▼ 66.10% |
inc/js/hs.png | 2.62KB | 7.54KB | 0.00% |