Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/easy-sign-up/lib/esu-front-end-class.php+305
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼2.24MB] [CPU: ▼343.50ms] Passed 4 tests
An overview of server-side resources used by Easy Sign Up
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.06 | 20.46 ▼12.02 |
Dashboard /wp-admin | 2.08 ▼1.32 | 5.79 ▼38.47 |
Posts /wp-admin/edit.php | 2.09 ▼1.55 | 6.85 ▼35.45 |
Add New Post /wp-admin/post-new.php | 2.08 ▼4.88 | 7.10 ▼1,271.39 |
Media Library /wp-admin/upload.php | 2.08 ▼1.21 | 5.60 ▼28.69 |
Simple Data /wp-admin/admin.php?page=esu_view_simple_data_page | 2.09 | 5.85 |
Easy Sign Up /wp-admin/admin.php?page=esu_options_pg | 2.09 | 4.74 |
Server storage [IO: ▲0.10MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_easysignup-widget |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Sign Up
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,942 ▲200 | 15.92 ▲0.62 | 14.98 ▲4.50 | 4.17 ▲2.13 |
Dashboard /wp-admin | 2,910 ▲56 | 6.14 ▼0.03 | 129.48 ▼40.11 | 182.59 ▲16.60 |
Posts /wp-admin/edit.php | 2,724 ▲36 | 3.24 ▲0.00 | 64.54 ▼16.86 | 142.95 ▼9.38 |
Add New Post /wp-admin/post-new.php | 1,683 ▲49 | 16.10 ▼0.59 | 505.47 ▼29.17 | 227.07 ▲28.86 |
Media Library /wp-admin/upload.php | 1,725 ▲30 | 5.58 ▲0.04 | 153.98 ▼25.06 | 270.81 ▲45.87 |
Simple Data /wp-admin/admin.php?page=esu_view_simple_data_page | 1,052 | 2.38 | 57.08 | 127.56 |
Easy Sign Up /wp-admin/admin.php?page=esu_options_pg | 2,181 | 6.67 | 192.78 | 327.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/easy-sign-up/lib/esu-front-end-class.php+305
Array and string offset access syntax with curly braces is deprecated
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_easysignup-widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=esu_options_pg
- > Deprecated in wp-content/plugins/easy-sign-up/lib/esu-front-end-class.php+312
Array and string offset access syntax with curly braces is deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=esu_options_pg
- > User deprecated in wp-includes/functions.php+5691
contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=esu_view_simple_data_page
- > Notice in wp-content/plugins/easy-sign-up/lib/esu-simple-data-page.php+96
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'EsuAdmin' not found in wp-content/plugins/easy-sign-up/lib/esu-simple-data-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-sign-up/lib/esu-widget-class.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/easy-sign-up/lib/esu-utility-functions.php:231
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
easy-sign-up/easy_sign_up.php 85% from 13 tests
The main PHP script in "Easy Sign Up" version 3.4.1 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("easy-sign-up.php" instead of "easy_sign_up.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 434 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,403 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 155 | 278 | 1,268 |
JavaScript | 2 | 13 | 14 | 112 |
CSS | 2 | 2 | 15 | 23 |
PHP code Passed 2 tests
An overview 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.32 |
Average class complexity | 26.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 12 | 25.00% |
▷ Public methods | 47 | 97.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.08% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 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
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 1.67KB | 1.01KB | ▼ 39.73% |
js/esubutton.png | 0.86KB | 1.02KB | 0.00% |
images/gvw-clouds-01.png | 3.64KB | 2.78KB | ▼ 23.64% |
images/easy-sign-up-icon-32by32.png | 1.47KB | 1.03KB | ▼ 29.65% |
images/gvw-clouds-2.png | 3.44KB | 2.60KB | ▼ 24.59% |