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.17MB] [CPU: ▼2.99ms] Passed 4 tests
Server-side resources used by Custom Login Page Customizer | admin login, client login and forgot password forms/pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 36.18 ▼3.13 |
Dashboard /wp-admin | 3.48 ▲0.17 | 43.74 ▼3.77 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 44.97 ▼3.68 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 87.45 ▼1.39 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 35.56 ▲0.90 |
Arrow Login Page Customizer /wp-admin/themes.php?page=arrow_login_page_customizer | 3.49 | 33.17 |
Support /wp-admin/admin.php?page=arrow_login_page_customizer_support | 3.40 | 30.48 |
Arrow Login /wp-admin/admin.php?page=arrow_login_page_customizer | 3.37 | 30.51 |
Server storage [IO: ▲2.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
arrowPluginFirstTime |
widget_recent-posts |
Browser metrics Passed 4 tests
Custom Login Page Customizer | admin login, client login and forgot password forms/pages: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 14.78 ▲0.38 | 1.77 ▼0.02 | 45.16 ▲5.65 |
Dashboard /wp-admin | 2,230 ▲42 | 5.83 ▲0.92 | 98.49 ▼14.22 | 39.27 ▼4.51 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.02 ▼0.08 | 34.44 ▼11.88 | 34.08 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 23.59 ▲0.49 | 679.94 ▼26.60 | 61.36 ▲4.54 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.22 ▼0.00 | 98.24 ▼11.16 | 42.88 ▼3.33 |
Arrow Login Page Customizer /wp-admin/themes.php?page=arrow_login_page_customizer | 814 | 2.06 | 23.76 | 26.41 |
Support /wp-admin/admin.php?page=arrow_login_page_customizer_support | 883 | 1.70 | 25.81 | 37.30 |
Arrow Login /wp-admin/admin.php?page=arrow_login_page_customizer | 814 | 2.03 | 23.67 | 24.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- arrowPluginFirstTime
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=arrow_login_page_customizer_support
- > Notice in wp-content/plugins/arrow-login-page/includes/arrowlogin-support-page.php+462
Undefined variable: _SESSION
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 take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arrow-login-page/includes/arrowlogin_customizer.php:1427
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arrow-login-page/includes/arrowlogin_option_menu.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/arrow-login-page/arrowlogin-customize.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: custom login, login customizer, login page, login, video background...
arrow-login-page/arrowlogin-customize.php 92% from 13 tests
The main PHP script in "Custom Login Page Customizer | admin login, client login and forgot password forms/pages" version 1.0.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("arrow-login-page.php" instead of "arrowlogin-customize.php")
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
There were no executable files found in this plugin1,484 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 383 | 447 | 1,417 |
JavaScript | 1 | 13 | 6 | 35 |
CSS | 1 | 3 | 0 | 32 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 75.00% |
▷ Protected methods | 1 | 25.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 24 | 80.00% |
▷ Anonymous functions | 6 | 20.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.28MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/template1_bootstrap_bg.png | 280.17KB | 310.66KB | 0.00% |
includes/images/user.png | 0.36KB | 0.42KB | 0.00% |
includes/images/wp_grey.png | 4.90KB | 3.42KB | ▼ 30.27% |
includes/images/template1_bootstrap_logo.png | 2.95KB | 1.43KB | ▼ 51.47% |