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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.13ms] Passed 4 tests
An overview of server-side resources used by Webriti Custom Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.56 ▲4.74 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.50 ▼5.35 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 45.48 ▼2.68 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 91.85 ▼9.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 33.68 ▲0.96 |
Webriti Custom Login /wp-admin/options-general.php?page=webriti-login | 3.22 | 29.50 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
wp_login_logo_settings |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Webriti Custom Login
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.58 ▼0.72 | 1.57 ▼0.03 | 37.92 ▼1.93 |
Dashboard /wp-admin | 2,207 ▲15 | 5.76 ▲0.85 | 95.44 ▼11.17 | 41.11 ▼3.84 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 1.99 ▼0.02 | 39.64 ▲3.79 | 34.95 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 18.07 ▲0.61 | 601.33 ▼107.08 | 86.32 ▲22.99 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.25 ▲0.09 | 100.16 ▼0.96 | 42.52 ▼4.57 |
Webriti Custom Login /wp-admin/options-general.php?page=webriti-login | 1,360 | 14.20 | 144.19 | 40.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- wp_login_logo_settings
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=webriti-login
- > Notice in wp-content/plugins/webriti-custom-login-page/wp-login-logo.php+195
Undefined index: tab
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 fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/webriti-custom-login-page/install-script.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/webriti-custom-login-page/wp-login-logo.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/webriti-custom-login-page/login_pro.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Customization & Settings), #2 (Demo Login Page - 1), #3 (Demo Login Page - 2), #4 (Demo Login Page - 3), #5 (Demo Login Page - 4), #6 (Demo Login Page - 5), #7 (Demo Login Page - 6)
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
- Requires at least: Version not formatted correctly
webriti-custom-login-page/wp-login-logo.php 92% from 13 tests
This is the main PHP file of "Webriti Custom Login" version 0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("webriti-custom-login-page.php" instead of "wp-login-logo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin2,084 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 284 | 2 | 1,538 |
PHP | 3 | 84 | 38 | 448 |
PO File | 2 | 22 | 22 | 72 |
JavaScript | 2 | 9 | 8 | 26 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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 0% from 2 tests
Image compression 0% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 0.57MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) other-snaps/rambo.png | 40.04KB | 0.00KB | ▼ 100.00% |
other-snaps/star.png | 0.65KB | 0.72KB | 0.00% |
spasalon.png | 176.27KB | 56.92KB | ▼ 67.71% |
other-snaps/arrow_down.png | 8.21KB | 4.31KB | ▼ 47.54% |
screenshot-5.png | 21.68KB | 8.59KB | ▼ 60.35% |