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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.79ms] Passed 4 tests
Analyzing server-side resources used by Better WP Login Page
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.69 ▼3.55 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.11 ▼0.51 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.89 ▼4.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.60 ▼6.16 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.05 ▲0.24 |
Login Page /wp-admin/options-general.php?page=better-wp-login-page | 3.25 | 39.08 |
Server storage [IO: ▲0.31MB] [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: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Better WP Login Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 14.82 ▲0.43 | 1.80 ▲0.15 | 45.99 ▲2.61 |
Dashboard /wp-admin | 2,213 ▲21 | 4.83 ▼0.07 | 101.43 ▼11.23 | 41.54 ▼0.93 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.07 | 36.34 ▼4.20 | 34.04 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,545 ▲11 | 18.52 ▼4.77 | 611.20 ▼65.09 | 56.49 ▲0.88 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.32 ▲0.10 | 93.09 ▼7.89 | 40.81 ▼3.88 |
Login Page /wp-admin/options-general.php?page=better-wp-login-page | 2,053 | 5.13 | 111.46 | 69.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 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)
Even though everything seems fine, this is not 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: wp-admin, login, wp-loginphp, login form, login page
better-wp-login-page/better-wp-login-page.php 92% from 13 tests
The main file in "Better WP Login Page" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
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
Success! There were no dangerous files found in this plugin751 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 78 | 241 | 386 |
PHP | 3 | 98 | 104 | 365 |
Sass | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
2 compressed PNG files occupy 0.01MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/img/no-image.png | 4.81KB | 4.87KB | 0.00% |
src/img/no-image.png | 4.81KB | 4.87KB | 0.00% |