Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼7.17ms] Passed 4 tests
Analyzing server-side resources used by WIP Custom Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 41.72 ▲0.74 |
Dashboard /wp-admin | 3.50 ▲0.20 | 53.13 ▲0.84 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 48.97 ▼2.35 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 91.80 ▼22.71 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 39.16 ▼4.35 |
Custom Login /wp-admin/admin.php?page=wip_custom_login_panel | 5.09 | 44.36 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WIP Custom Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲105 | 14.39 ▲0.02 | 1.67 ▲0.06 | 36.36 ▼11.83 |
Dashboard /wp-admin | 2,262 ▲59 | 4.95 ▼0.00 | 115.50 ▼3.09 | 86.44 ▲42.59 |
Posts /wp-admin/edit.php | 2,139 ▲36 | 2.15 ▲0.18 | 35.62 ▼6.35 | 41.28 ▲4.14 |
Add New Post /wp-admin/post-new.php | 1,572 ▲27 | 22.98 ▼0.18 | 693.10 ▼26.53 | 67.49 ▼14.37 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.16 ▼0.09 | 103.51 ▼21.28 | 89.00 ▲31.29 |
Custom Login /wp-admin/admin.php?page=wip_custom_login_panel | 1,161 | 3.40 | 50.88 | 156.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=wip_custom_login_panel
- > Notice in wp-content/plugins/wip-custom-login/core/includes/class-panel.php+764
Undefined variable: classe
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wip-custom-login/init.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wip-custom-login/core/admin/panel.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (The default custom login page), #2 (Alternative custom login page), #3 (Option panel)
wip-custom-login/init.php 85% from 13 tests
The main file in "WIP Custom Login" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wip-custom-login.php" instead of "init.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 182 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin18,110 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 16,198 |
PHP | 6 | 660 | 133 | 1,085 |
CSS | 3 | 104 | 24 | 585 |
PO File | 1 | 710 | 1,553 | 137 |
JavaScript | 3 | 50 | 18 | 105 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 30.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.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 | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
8 PNG files occupy 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 34.69KB | 12.19KB | ▼ 64.85% |
screenshot-1.png | 31.56KB | 12.93KB | ▼ 59.02% |
core/assets/images/subparent.png | 0.95KB | 0.11KB | ▼ 88.16% |
screenshot-3.png | 33.38KB | 13.83KB | ▼ 58.58% |
assets/images/logo.png | 6.46KB | 3.00KB | ▼ 53.49% |