Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/rkm-login/rkmlogin.php+230
Trying to get property 'post_content' of non-object
Server metrics [RAM: ▼1.96MB] [CPU: ▼59.05ms] Passed 4 tests
An overview of server-side resources used by RKM Custom Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.02 ▼41.36 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.16 ▼50.14 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 8.62 ▼48.94 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 8.02 ▼95.74 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 8.01 ▼29.17 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
rkm_post_slug |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by RKM Custom Login
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲40 | 13.31 ▼1.07 | 4.82 ▲2.72 | 48.64 ▲7.26 |
Dashboard /wp-admin | 2,202 ▲11 | 4.83 ▼0.09 | 122.08 ▲5.14 | 83.08 ▲39.94 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.05 ▼0.01 | 41.37 ▲2.21 | 37.27 ▲2.65 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.34 ▲5.43 | 747.81 ▲95.79 | 56.48 ▼2.33 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.18 ▲0.00 | 105.69 ▼5.24 | 82.40 ▲32.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/rkm-login/rkmlogin.php+230
Trying to get property 'post_content' of non-object
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- rkm_post_slug
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/rkm-login/uninstall.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rkm-login/rkmlogin.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: login page, login, custom login, login customize, create login
rkm-login/rkmlogin.php 77% from 13 tests
This is the main PHP file of "RKM Custom Login" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rkm-login.php" instead of "rkmlogin.php")
- Text Domain: The text domain should only use lowercase characters and dashes
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin221 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 52 | 221 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.34MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/rkmlogin.png | 0.71KB | 0.76KB | 0.00% |
assets/img/rkmbcakground.png | 309.69KB | 183.00KB | ▼ 40.91% |
assets/img/rkmlogin02.png | 1.09KB | 1.05KB | ▼ 3.50% |
assets/img/rkmlogin2.png | 25.71KB | 11.37KB | ▼ 55.80% |
assets/img/login.png | 12.00KB | 5.96KB | ▼ 50.35% |