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.03MB] [CPU: ▼6.08ms] Passed 4 tests
An overview of server-side resources used by Custom Login Screen
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.86 ▼0.90 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.84 ▼3.25 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.59 ▼2.88 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.68 ▼17.23 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.81 ▼0.94 |
Login Screen /wp-admin/themes.php?page=custom-login-screen | 3.28 | 40.82 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Login Screen
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 13.27 ▼1.29 | 1.68 ▼0.01 | 31.80 ▼9.06 |
Dashboard /wp-admin | 2,213 ▲22 | 4.86 ▲0.00 | 97.99 ▼5.26 | 38.40 ▼6.98 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.02 | 35.35 ▼9.64 | 32.06 ▼4.93 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.23 ▲0.04 | 682.90 ▲24.55 | 55.17 ▼10.20 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▲0.06 | 99.01 ▼22.14 | 43.19 ▼6.25 |
Login Screen /wp-admin/themes.php?page=custom-login-screen | 1,299 | 3.68 | 64.71 | 37.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/custom-login-screen/about/modal-about-us.php
- > /wp-content/plugins/custom-login-screen/about/about-html.php
- > /wp-content/plugins/custom-login-screen/about/modal-other-plugins.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/custom-login-screen/about/admin-enqueue-script.php:4
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: admin login, login logo, wp-login, login title, login screen...
custom-login-screen/custom-login-screen.php Passed 13 tests
"Custom Login Screen" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
49 characters long description:
An unique and customizable WordPress login screen
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,214 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 120 | 16 | 767 |
PHP | 9 | 115 | 58 | 447 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 4.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.11% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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.49MB with 0.32MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 132.89KB | 53.25KB | ▼ 59.93% |
about/assets/about-image.png | 364.66KB | 95.69KB | ▼ 73.76% |