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.09MB] [CPU: ▲8.03ms] Passed 4 tests
An overview of server-side resources used by CWD - Custom Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 45.13 ▲0.41 |
Dashboard /wp-admin | 3.41 ▲0.11 | 59.41 ▲11.62 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 63.20 ▲14.20 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 95.41 ▲7.08 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 45.44 ▲13.02 |
Server storage [IO: ▲1.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for CWD - Custom Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲230 | 15.48 ▲1.10 | 1.90 ▼0.18 | 43.07 ▼5.18 |
Dashboard /wp-admin | 2,364 ▲173 | 6.66 ▲0.77 | 123.42 ▲18.97 | 79.68 ▲37.94 |
Posts /wp-admin/edit.php | 2,282 ▲193 | 3.57 ▲1.53 | 57.96 ▲19.96 | 81.52 ▲47.49 |
Add New Post /wp-admin/post-new.php | 1,702 ▲168 | 22.76 ▲1.74 | 622.28 ▼118.83 | 35.44 ▼33.22 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.41 ▲0.22 | 85.16 ▼13.73 | 82.04 ▲35.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 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)
Good news, no errors were detected
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cwd-custom-login/cwd-custom-login.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cwd-custom-login/pages/cwd-custom-login-configuracoes.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cwd-custom-login/pages/cwd-custom-login-configuracoes.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Requires php: Version not formatted correctly
cwd-custom-login/cwd-custom-login.php Passed 13 tests
The principal PHP file in "CWD - Custom Login" v. 1.1 is loaded by WordPress automatically on each request
47 characters long description:
Customização do login de acesso do wordpress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected542 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 40 | 20 | 377 |
PO File | 2 | 46 | 46 | 122 |
JavaScript | 2 | 2 | 0 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 9 | |
▷ Named functions | 9 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 1.23MB with 1.16MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/background_login.png | 1,154.61KB | 132.33KB | ▼ 88.54% |
icon/cwd_custom_login.png | 16.89KB | 0.11KB | ▼ 99.32% |
icon/cwd_custom_login_big.png | 45.20KB | 2.54KB | ▼ 94.37% |
images/logo_login.png | 40.56KB | 1.43KB | ▼ 96.46% |