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
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼304.57ms] Passed 4 tests
An overview of server-side resources used by Custom Admin Login Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 54.99 ▲3.49 |
Dashboard /wp-admin | 3.42 ▲0.02 | 34.79 ▼1.49 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 44.90 ▲5.79 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 95.78 ▼1,220.90 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 24.61 ▲0.62 |
Plugin Settings /wp-admin/options-general.php?page=my-plugin-slug | 3.27 | 21.59 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 2 new options
New WordPress options |
---|
form_background_color |
form_background_img_url |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Admin Login Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,771 ▲41 | 15.16 ▼0.88 | 5.72 ▼1.32 | 2.34 ▼0.23 |
Dashboard /wp-admin | 2,897 ▲36 | 6.20 ▲0.00 | 118.35 ▼22.90 | 154.59 ▼5.71 |
Posts /wp-admin/edit.php | 2,696 ▲2 | 3.25 ▲0.01 | 68.40 ▲5.61 | 140.35 ▼5.84 |
Add New Post /wp-admin/post-new.php | 1,664 ▲4 | 15.56 ▼6.84 | 436.92 ▲25.98 | 159.37 ▼29.38 |
Media Library /wp-admin/upload.php | 1,699 ▲1 | 5.49 ▼0.11 | 145.78 ▼8.55 | 218.75 ▼8.08 |
Plugin Settings /wp-admin/options-general.php?page=my-plugin-slug | 1,022 | 2.39 | 54.95 | 90.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 2 options in the database
- form_background_img_url
- form_background_color
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
- Screenshots: These screenshots need descriptions #1, #3, #4, #5, #6, #7, #8 in admin-login-custom-form/assets to your readme.txt
admin-login-custom-form/custom-admin-login-form.php 92% from 13 tests
The entry point to "Custom Admin Login Form" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("admin-login-custom-form.php" instead of "custom-admin-login-form.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected141 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 32 | 141 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected