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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.13ms] Passed 4 tests
This is a short check of server-side resources used by Customize WP-Login
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.30 ▲1.39 |
Dashboard /wp-admin | 3.33 ▼0.01 | 49.74 ▼18.12 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 47.57 ▼0.73 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.39 ▼23.06 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 38.32 ▲5.34 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Customize WP-Login
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲47 | 14.28 ▼0.08 | 1.88 ▲0.20 | 46.20 ▲4.61 |
Dashboard /wp-admin | 2,207 ▲30 | 5.62 ▲0.08 | 88.41 ▼8.71 | 45.89 ▲6.59 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.02 ▲0.01 | 36.15 ▼0.45 | 35.43 ▼0.98 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.00 ▼0.01 | 633.60 ▲13.43 | 48.22 ▼4.10 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.30 ▲0.11 | 99.81 ▼2.14 | 43.51 ▲0.18 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Please take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/customize-wp-login/public/customize-wp-login-class.php:375
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/customize-wp-login/public/views/customize-wp-login-page.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/customize-wp-login/admin/views/admin.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (This screen shot is of the graphic settings section.), #2 (This screen shot is of the advanced settings section.)
customize-wp-login/customize-wp-login.php 92% from 13 tests
The primary PHP file in "Customize WP-Login" version 1.2.8 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 238 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin3,090 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 360 | 662 | 1,188 |
JavaScript | 5 | 29 | 28 | 799 |
SVG | 1 | 0 | 3 | 540 |
CSS | 4 | 41 | 21 | 396 |
Markdown | 1 | 74 | 0 | 133 |
Sass | 1 | 8 | 2 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 10.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 8 | 10.13% |
▷ Public methods | 68 | 86.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 13.92% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.24MB with 0.16MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 133.58KB | 35.64KB | ▼ 73.32% |
screenshot-1.png | 110.98KB | 29.48KB | ▼ 73.44% |
admin/views/img/alter-tech-logo.png | 5.66KB | 3.10KB | ▼ 45.19% |