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.00MB] [CPU: ▼5.17ms] Passed 4 tests
Server-side resources used by Custom Admin Login
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.94 ▼0.15 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.09 ▼14.46 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.02 ▼1.72 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.67 ▼4.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.21 ▲8.77 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Admin Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.25 ▼0.31 | 1.68 ▼0.24 | 42.76 ▼1.86 |
Dashboard /wp-admin | 2,195 ▲18 | 5.51 ▼0.14 | 86.22 ▼5.90 | 39.19 ▼3.88 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▲0.03 | 34.23 ▼6.28 | 34.44 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 22.76 ▼0.41 | 644.60 ▲23.95 | 57.25 ▲5.24 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.25 ▲0.12 | 102.29 ▼7.10 | 45.58 ▼2.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: custom admin login, custom, admin, admin login, login page...
custom-admin-login/custom-admin-login.php Passed 13 tests
The principal PHP file in "Custom Admin Login" v. 1.0.8 is loaded by WordPress automatically on each request
90 characters long description:
Allows you to customize the background, logo, url and caption on the WordPress login page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin277 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 63 | 191 | 217 |
PO File | 1 | 14 | 17 | 38 |
Markdown | 2 | 6 | 0 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 4 | 21.05% |
▷ Public methods | 11 | 57.89% |
▷ Protected methods | 4 | 21.05% |
▷ Private methods | 4 | 21.05% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin