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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.80ms] Passed 4 tests
A check of server-side resources used by ALD Login Page
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.17 ▼5.55 |
Dashboard /wp-admin | 3.36 ▲0.06 | 54.54 ▲3.15 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 56.96 ▲3.68 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 107.49 ▲8.35 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 39.09 ▲1.93 |
Login Page /wp-admin/options-general.php?page=ald_login_page | 3.22 | 35.58 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for ALD Login Page
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲201 | 15.27 ▲0.99 | 1.75 ▼0.21 | 43.62 ▲0.71 |
Dashboard /wp-admin | 2,365 ▲187 | 6.53 ▲0.82 | 118.67 ▲14.90 | 38.91 ▼5.55 |
Posts /wp-admin/edit.php | 2,296 ▲193 | 3.73 ▲1.75 | 57.85 ▲19.40 | 34.27 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,553 ▲18 | 21.67 ▲3.30 | 706.44 ▲49.84 | 39.57 ▼35.45 |
Media Library /wp-admin/upload.php | 1,430 ▲36 | 4.47 ▲0.31 | 90.86 ▼6.97 | 42.46 ▼2.06 |
Login Page /wp-admin/options-general.php?page=ald_login_page | 1,289 | 3.68 | 66.92 | 24.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ald_login_page
- > Notice in wp-content/plugins/ald-login-page/ald-login-page.php+122
Undefined variable: logo
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ald-login-page/ald-login-page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: login, form, login form
ald-login-page/ald-login-page.php 92% from 13 tests
The principal PHP file in "ALD Login Page" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin168 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 34 | 153 |
JavaScript | 1 | 2 | 4 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin