Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/stylish-admin-login-form/plugin.php+33
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.54MB] [CPU: ▲0.80ms] Passed 4 tests
A check of server-side resources used by Stylish Admin Login Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.57 | 47.65 ▲1.34 |
Dashboard /wp-admin | 3.88 ▲0.57 | 55.39 ▼1.68 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 56.67 ▲4.23 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.51 | 94.74 ▼0.70 |
Media Library /wp-admin/upload.php | 3.74 ▲0.51 | 43.39 ▲6.13 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
salf__options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Stylish Admin Login Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲134 | 13.38 ▼1.00 | 2.14 ▲0.32 | 48.09 ▲3.44 |
Dashboard /wp-admin | 2,277 ▲89 | 4.86 ▼1.20 | 107.57 ▲2.54 | 43.06 ▲4.54 |
Posts /wp-admin/edit.php | 2,157 ▲68 | 2.03 ▼0.01 | 36.86 ▼1.84 | 36.65 ▲1.87 |
Add New Post /wp-admin/post-new.php | 1,572 ▲53 | 23.44 ▲0.21 | 681.24 ▲48.36 | 54.73 ▼1.26 |
Media Library /wp-admin/upload.php | 1,457 ▲75 | 4.24 ▲0.00 | 103.55 ▲2.90 | 48.90 ▲3.24 |
LOGIN PAGE /wp-admin/admin.php?page=salf-form#tab=login-page | 1,591 | 4.25 | 85.07 | 25.14 |
LOGO /wp-admin/admin.php?page=salf-form#tab=logo | 1,374 | 3.66 | 60.86 | 32.87 |
LOGIN FORM /wp-admin/admin.php?page=salf-form#tab=login-form | 1,845 | 4.86 | 85.64 | 22.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- salf__options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3 in stylish-admin-login-form/assets to your readme.txt
stylish-admin-login-form/plugin.php 85% from 13 tests
The primary PHP file in "Stylish Admin Login Form" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("stylish-admin-login-form.php" instead of "plugin.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Good job! No executable or dangerous file extensions detected2,423 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 900 | 477 | 2,416 |
SVG | 3 | 0 | 0 | 3 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 2 | 2 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
Average class complexity | 35.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 8.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 2 | 11.76% |
▷ Concrete classes | 15 | 88.24% |
▷ Final classes | 0 | 0.00% |
Methods | 77 | |
▷ Static methods | 27 | 35.06% |
▷ Public methods | 77 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/lib/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |