Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.75ms] Passed 4 tests
Server-side resources used by Advance Login Style
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.21 ▲0.91 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.91 ▼0.62 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.72 ▲2.82 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.91 ▼10.09 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.91 ▲3.30 |
Login Logo /wp-admin/admin.php?page=advance_login_style_logo-dashboard | 3.28 | 34.14 |
Advance Login /wp-admin/admin.php?page=advance_login_style-dashboard | 3.28 | 34.27 |
Login Form /wp-admin/admin.php?page=advance_login_style_form-dashboard | 3.29 | 32.40 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
advance_login_style_logo |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
advance_login_style |
advance_login_style_form |
Browser metrics Passed 4 tests
Checking browser requirements for Advance Login Style
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲82 | 13.20 ▼1.61 | 1.81 ▲0.16 | 43.95 ▲1.73 |
Dashboard /wp-admin | 2,235 ▲49 | 5.80 ▲0.86 | 98.26 ▼7.07 | 81.19 ▲38.56 |
Posts /wp-admin/edit.php | 2,115 ▲29 | 1.98 ▲0.02 | 36.90 ▼0.37 | 34.32 ▲2.44 |
Add New Post /wp-admin/post-new.php | 1,690 ▲153 | 22.62 ▼0.89 | 728.88 ▲54.80 | 50.99 ▼5.09 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.24 ▼0.03 | 93.93 ▼1.34 | 70.42 ▲25.99 |
Login Logo /wp-admin/admin.php?page=advance_login_style_logo-dashboard | 1,220 | 2.49 | 45.81 | 33.98 |
Advance Login /wp-admin/admin.php?page=advance_login_style-dashboard | 1,214 | 2.59 | 46.05 | 31.18 |
Login Form /wp-admin/admin.php?page=advance_login_style_form-dashboard | 1,876 | 3.02 | 74.58 | 31.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/advance-login-style/admin/pages/advance_login_style_form-dashboard.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/advance-login-style/admin/pages/advance_login_style-dashboard.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advance-login-style/advance_login_style-frontend/advance_login_style-front.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_advance_login_style_options() in wp-content/plugins/advance-login-style/admin/advance_login_style-admin.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advance-login-style/admin/advance_login_style-config.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/advance-login-style/admin/pages/advance_login_style_logo-dashboard.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: custom login, chage custom login style, login, admin, change login...
advance-login-style/advance_login_style.php 85% from 13 tests
The primary PHP file in "Advance Login Style" version 1.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "3.2")
- Main file name: Name the main plugin file the same as the plugin slug ("advance-login-style.php" instead of "advance_login_style.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 detected928 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 285 | 261 | 745 |
CSS | 1 | 20 | 1 | 128 |
Markdown | 2 | 24 | 0 | 55 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/advance-login-style80x80.png | 7.51KB | 2.61KB | ▼ 65.23% |
images/advance-login-style20x20.png | 1.88KB | 1.09KB | ▼ 42.14% |