Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼174.80ms] Passed 4 tests
This is a short check of server-side resources used by Custom Admin Login Page | WPZest
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.26 | 42.14 ▲18.24 |
Dashboard /wp-admin | 3.27 ▲0.21 | 45.09 ▼3.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.26 | 47.48 ▲0.41 |
Add New Post /wp-admin/post-new.php | 5.85 ▲0.42 | 92.59 ▼695.10 |
Media Library /wp-admin/upload.php | 3.23 ▲0.22 | 36.58 ▼0.61 |
Server storage [IO: ▲8.37MB] [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: 30 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Admin Login Page | WPZest
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,722 ▲126 | 16.55 ▲1.10 | 7.37 ▼0.96 | 50.54 ▼1.88 |
Dashboard /wp-admin | 3,013 ▲82 | 6.56 ▲0.62 | 141.85 ▼13.26 | 120.35 ▲2.74 |
Posts /wp-admin/edit.php | 2,782 ▲43 | 2.72 ▲0.03 | 77.51 ▲5.51 | 98.41 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,614 ▼69 | 21.23 ▲2.66 | 464.96 ▲76.33 | 156.83 ▲43.21 |
Media Library /wp-admin/upload.php | 1,866 ▲59 | 5.21 ▲0.20 | 150.67 ▼12.95 | 120.88 ▼16.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-admin-login-styler-wpzest/lpsFiltersAndActions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-admin-login-styler-wpzest/loginPageStylerOption.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-admin-login-styler-wpzest/loginPageStylerOption.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
custom-admin-login-styler-wpzest/loginPageStyler.php 92% from 13 tests
"Custom Admin Login Page | WPZest" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("custom-admin-login-styler-wpzest.php" instead of "loginPageStyler.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,505 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 257 | 65 | 1,059 |
CSS | 1 | 77 | 32 | 419 |
JavaScript | 2 | 12 | 14 | 27 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 36 | |
▷ Named functions | 36 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
22 PNG files occupy 8.18MB with 3.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/form-setting.png | 0.40KB | 0.43KB | 0.00% |
screenshot-1.png | 77.92KB | 36.40KB | ▼ 53.29% |
screenshot-13.png | 1,541.00KB | 553.42KB | ▼ 64.09% |
images/button-settings.png | 0.14KB | 0.13KB | ▼ 10.88% |
screenshot-2.png | 87.19KB | 39.26KB | ▼ 54.97% |