Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼137.60ms] Passed 4 tests
Server-side resources used by Secure Admin Login With Customize
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.12 | 37.81 ▲2.96 |
Dashboard /wp-admin | 3.18 ▲0.12 | 50.71 ▲8.20 |
Posts /wp-admin/edit.php | 3.29 ▲0.18 | 45.69 ▲4.46 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.10 | 92.63 ▼560.82 |
Media Library /wp-admin/upload.php | 3.12 ▲0.12 | 35.11 ▲3.01 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Secure Admin Login With Customize
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,680 ▲84 | 16.35 ▲0.70 | 9.40 ▲0.12 | 47.52 ▼1.48 |
Dashboard /wp-admin | 2,995 ▲64 | 5.93 ▼0.04 | 135.61 ▼9.52 | 120.85 ▲4.30 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▲0.01 | 67.09 ▼0.61 | 96.10 ▲7.32 |
Add New Post /wp-admin/post-new.php | 1,606 ▼66 | 18.85 ▼0.22 | 384.39 ▼11.24 | 103.81 ▼3.15 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.02 ▼0.02 | 142.22 ▼16.34 | 115.86 ▼3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/secure-admin-login-with-customize/admin/css/secure-admin-login-with-customize.php
- > /wp-content/plugins/secure-admin-login-with-customize/admin/class-secure-admin-login-with-customize.php
- > /wp-content/plugins/secure-admin-login-with-customize/admin/captcha/secure-admin-login-with-customize-captcha.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/secure-admin-login-with-customize/secure-admin-login-with-customize.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/secure-admin-login-with-customize/admin/captcha/class-secure-admin-login-with-customize-captcha.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/secure-admin-login-with-customize/admin/customizer/class-secure-admin-login-with-customize-customizer.php:8
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #1, #2, #3 in secure-admin-login-with-customize/assets to your readme.txt
secure-admin-login-with-customize/secure-admin-login-with-customize.php Passed 13 tests
The main file in "Secure Admin Login With Customize" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
96 characters long description:
This plugin allows you to customize your WordPress admin login page within WordPress customizer.
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
There were no executable files found in this plugin1,328 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 120 | 128 | 1,056 |
PO File | 2 | 118 | 154 | 272 |
PHP code Passed 2 tests
This is a short overview 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 | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/reload.png | 4.42KB | 2.44KB | ▼ 44.76% |