Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼281.79ms] Passed 4 tests
An overview of server-side resources used by Advanced Login Form
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 63.48 ▲10.46 |
Dashboard /wp-admin | 3.43 ▲0.01 | 35.86 ▲1.59 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 40.77 ▲0.04 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.08 | 97.80 ▼1,130.66 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 26.96 ▲1.89 |
Server storage [IO: ▲1.45MB] [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: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Login Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,807 ▲63 | 16.04 ▼0.05 | 6.58 ▼0.56 | 3.05 ▲0.88 |
Dashboard /wp-admin | 2,895 ▲40 | 6.14 ▼0.09 | 119.76 ▼40.53 | 162.13 ▼5.00 |
Posts /wp-admin/edit.php | 2,691 ▲3 | 3.23 ▲0.00 | 65.20 ▼9.30 | 140.56 ▼71.55 |
Add New Post /wp-admin/post-new.php | 1,711 ▼0 | 21.61 ▲0.67 | 433.33 ▼31.35 | 178.60 ▲21.10 |
Media Library /wp-admin/upload.php | 1,691 ▼3 | 5.55 ▲0.02 | 161.70 ▲13.59 | 232.45 ▲19.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-login-form/advanced-login-form.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #3 in advanced-login-form/assets to your readme.txt
advanced-login-form/advanced-login-form.php Passed 13 tests
The entry point to "Advanced Login Form" version 1.0 is a PHP file that has certain tags in its header comment area
51 characters long description:
It is a more customize wordpress login form plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected711 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 520 |
CSS | 2 | 33 | 6 | 124 |
PHP | 1 | 18 | 24 | 39 |
JavaScript | 1 | 4 | 3 | 28 |
PHP code Passed 2 tests
A short review 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.19 |
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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/button_bg.png | 0.91KB | 0.09KB | ▼ 90.56% |
images/login_bg.png | 0.91KB | 0.09KB | ▼ 89.69% |