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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.92ms] Passed 4 tests
Server-side resources used by Edit Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.03 ▼1.84 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.52 ▼17.66 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.57 ▲0.93 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.49 ▼21.09 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.36 ▲1.97 |
Edit Login /wp-admin/options-general.php?page=editlogin-options-page | 3.23 | 34.14 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 10 new options
New WordPress options |
---|
editLogin_login_custom_font |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
editLogin_login_logo_image |
widget_recent-comments |
db_upgraded |
editLogin_login_bg_image |
theysaidso_admin_options |
editLogin_login_logo_url |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Edit Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.65 ▲0.28 | 1.73 ▼0.07 | 40.77 ▼0.34 |
Dashboard /wp-admin | 2,196 ▲18 | 5.51 ▼0.18 | 88.55 ▼9.00 | 42.06 ▼3.25 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.12 ▲0.16 | 38.20 ▲3.62 | 35.54 ▲1.42 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.02 ▼0.00 | 680.78 ▲7.87 | 53.59 ▲0.23 |
Media Library /wp-admin/upload.php | 1,398 ▲4 | 4.23 ▲0.04 | 96.67 ▼1.80 | 40.68 ▼1.77 |
Edit Login /wp-admin/options-general.php?page=editlogin-options-page | 934 | 2.16 | 27.01 | 27.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 10 options
- editLogin_login_bg_image
- widget_recent-comments
- can_compress_scripts
- editLogin_login_custom_font
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- editLogin_login_logo_image
- editLogin_login_logo_url
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edit-login/editLogin.php:185
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=editlogin-options-page
- > Network (severe)
wp-admin/%3C?%20echo%20plugins_url(%27sample.jpg%27%20,%20__FILE__%20);%20?%3E - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 ([Plugin setting])
edit-login/editLogin.php 85% from 13 tests
The main PHP file in "Edit Login" ver. 1.9.4 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 145 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("edit-login.php" instead of "editLogin.php")
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
Good job! No executable or dangerous file extensions detected398 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 16 | 44 | 238 |
PO File | 4 | 45 | 52 | 160 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 84.94KB | 32.96KB | ▼ 61.20% |