Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.18MB] [CPU: ▼17.18ms] Passed 4 tests
A check of server-side resources used by Easy Custom Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 24.01 ▼28.12 |
Dashboard /wp-admin | 3.16 ▼0.14 | 34.54 ▼14.45 |
Posts /wp-admin/edit.php | 3.24 ▼0.12 | 34.60 ▼14.83 |
Add New Post /wp-admin/post-new.php | 5.48 ▼0.41 | 78.72 ▼11.30 |
Media Library /wp-admin/upload.php | 3.19 ▼0.04 | 35.80 ▲0.48 |
DuoGeek /wp-admin/admin.php?page=duogeek-panel | 3.15 | 28.12 |
Licenses /wp-admin/admin.php?page=duogeek-pro-licenses | 3.15 | 27.36 |
Help /wp-admin/admin.php?page=duogeek-panel-help | 3.15 | 26.65 |
Easy Custom Login /wp-admin/admin.php?page=ecl-settings | 3.15 | 30.30 |
Server storage [IO: ▲2.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 176 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
recovery_mode_email_last_sent |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Custom Login
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,018 ▲272 | 15.11 ▲0.74 | 2.68 ▲0.82 | 38.75 ▼4.99 |
Dashboard /wp-admin | 2,410 ▲222 | 6.75 ▲0.84 | 129.68 ▲14.86 | 36.20 ▼7.11 |
Posts /wp-admin/edit.php | 2,319 ▲227 | 3.63 ▲1.66 | 56.65 ▲16.42 | 34.07 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,729 ▲201 | 23.01 ▲4.84 | 562.62 ▼71.20 | 32.88 ▼28.72 |
Media Library /wp-admin/upload.php | 1,453 ▲65 | 4.39 ▲0.27 | 88.69 ▼15.67 | 43.43 ▲1.17 |
DuoGeek /wp-admin/admin.php?page=duogeek-panel | 785 | 1.70 | 9.49 | 24.43 |
Licenses /wp-admin/admin.php?page=duogeek-pro-licenses | 1,006 | 3.36 | 40.43 | 23.12 |
Help /wp-admin/admin.php?page=duogeek-panel-help | 1,022 | 3.46 | 44.18 | 25.02 |
Easy Custom Login /wp-admin/admin.php?page=ecl-settings | 1,871 | 7.80 | 154.96 | 85.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- recovery_mode_email_last_sent
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ecl-settings
- > Notice in wp-content/plugins/easy-custom-login/duogeek/duogeek-panel.php+147
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=duogeek-panel
- > Error in wp-content/plugins/easy-custom-login/duogeek/duogeek-panel.php+413
Uncaught Error: Cannot use object of type WP_Error as array in wp-content/plugins/easy-custom-login/duogeek/duogeek-panel.php:413
Stack trace:
#0 wp-includes/class-wp-hook.php(310): DuoGeekPlugins->duogeek_panel_cb()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 {main}
thrown
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
Please fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'EasyCustomLogin' not found in wp-content/plugins/easy-custom-login/ecl-files/modules/class.login.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/easy-custom-login/duogeek/duogeek-panel.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/easy-custom-login/duogeek/helper.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/easy-custom-login/ecl-files/includes/login-internal.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/easy-custom-login/duogeek/class.customPostType.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=ecl-settings
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=ecl-settings
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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:
- Plugin Name: Please specify the plugin name on the first line (
=== easy-custom-login ===
)
easy-custom-login/easycustomlogin.php 92% from 13 tests
The main file in "Easy Custom Login" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-custom-login.php" instead of "easycustomlogin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected17,947 lines of code in 96 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 55 | 913 | 300 | 9,894 |
JavaScript | 5 | 563 | 932 | 2,790 |
Sass | 13 | 26 | 24 | 1,352 |
LESS | 13 | 26 | 33 | 1,343 |
SVG | 3 | 0 | 0 | 1,314 |
PHP | 7 | 286 | 131 | 1,254 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 32.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 88.37% |
▷ Protected methods | 5 | 11.63% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
66 compressed PNG files occupy 0.16MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
duogeek/inc/icheck/skins/minimal/pink@2x.png | 1.38KB | 2.66KB | 0.00% |
duogeek/inc/icheck/skins/flat/blue@2x.png | 3.14KB | 2.79KB | ▼ 11.25% |
duogeek/inc/icheck/skins/polaris/polaris.png | 6.25KB | 3.23KB | ▼ 48.38% |
duogeek/inc/icheck/skins/minimal/aero@2x.png | 1.38KB | 2.66KB | 0.00% |
duogeek/inc/icheck/skins/flat/blue.png | 1.48KB | 1.65KB | 0.00% |