Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.16MB] [CPU: ▼44.81ms] Passed 4 tests
Analyzing server-side resources used by ALIDANI Contact forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.81 ▼0.65 | 13.97 ▼31.82 |
Dashboard /wp-admin | 2.85 ▼0.45 | 17.67 ▼28.90 |
Posts /wp-admin/edit.php | 2.85 ▼0.51 | 16.99 ▼32.30 |
Add New Post /wp-admin/post-new.php | 2.85 ▼3.04 | 17.99 ▼86.21 |
Media Library /wp-admin/upload.php | 2.85 ▼0.38 | 17.65 ▼17.66 |
/wp-admin/admin.php?page=editadminform | 2.85 | 16.69 |
Received Emails /wp-admin/admin.php?page=alidaniform | 2.85 | 16.60 |
/wp-admin/admin.php?page=sendadminform | 2.85 | 17.81 |
Form Redesign /wp-admin/admin.php?page=alidaninewform | 2.85 | 17.24 |
Admin info /wp-admin/admin.php?page=alidaniadmininfo | 2.85 | 16.15 |
/wp-admin/admin.php?page=editform | 2.85 | 16.31 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_alidani_contact_form_color_font |
wp_alidani_contact_form_admin_info |
wp_alidani_contact_form_admin |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for ALIDANI Contact forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,262 ▲527 | 14.48 ▼0.04 | 9.10 ▲7.21 | 35.84 ▼11.48 |
Dashboard /wp-admin | 2,294 ▲102 | 5.38 ▲0.51 | 57.66 ▼55.37 | 30.87 ▼8.52 |
Posts /wp-admin/edit.php | 2,219 ▲127 | 2.31 ▲0.25 | 24.49 ▼14.77 | 28.27 ▼6.16 |
Add New Post /wp-admin/post-new.php | 1,646 ▲113 | 23.55 ▲0.27 | 560.30 ▼64.81 | 28.60 ▼27.24 |
Media Library /wp-admin/upload.php | 1,187 ▼201 | 3.86 ▼0.58 | 53.62 ▼42.43 | 21.36 ▼22.14 |
/wp-admin/admin.php?page=editadminform | 1,031 | 2.53 | 25.00 | 36.79 |
Received Emails /wp-admin/admin.php?page=alidaniform | 995 | 2.40 | 23.23 | 26.28 |
/wp-admin/admin.php?page=sendadminform | 1,132 | 2.35 | 26.32 | 22.49 |
Form Redesign /wp-admin/admin.php?page=alidaninewform | 1,223 | 2.32 | 23.73 | 25.11 |
Admin info /wp-admin/admin.php?page=alidaniadmininfo | 1,082 | 2.53 | 24.08 | 27.98 |
/wp-admin/admin.php?page=editform | 1,049 | 2.37 | 26.20 | 24.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 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 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=editform
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 16 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=editform
- > Notice in wp-content/plugins/alidani-contact-form/views/alidani_edit_page.php+53
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
Please fix the following
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/alidani-contact-form/views/alidani_recieve_contact_form.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/alidani-contact-form/views/alidani_edit_page.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/alidani-contact-form/views/alidani_admin_edit_page.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/alidani-contact-form/views/alidani_admin_send_page.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/alidani-contact-form/views/alidani_new_form_page.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/alidani-contact-form/views/alidani_front_contact_form.php:4
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/alidani-contact-form/views/alidani_admin_info_page.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=editform
- > Javascript (severe) in unknown
/wp-admin/js/common.min.js?ver=6.3.1 1:12295 Uncaught TypeError: f.find(...).hoverIntent is not a function
- > GET request to /wp-admin/admin.php?page=alidaninewform
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=alidaninewform 201 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=alidaninewform
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=alidaninewform 213 The specified value "#fff" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=alidaninewform
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=alidaninewform 219 The specified value "#fff" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=alidaninewform
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=alidaninewform 225 The specified value "#fff" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=alidaninewform
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=alidaninewform 231 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 descriptions for screenshots #0, #0, #0 in alidani-contact-form/assets to your readme.txt
- Screenshots: These screenshots do not have images: #1 (Form Redesign page.), #2 (Admin info page.), #3 (Received Emails page.)
alidani-contact-form/wp-alidani-contact-form.php 92% from 13 tests
This is the main PHP file of "ALIDANI Contact forms" version 1.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: It is recommended to name the main PHP file as the plugin slug ("alidani-contact-form.php" instead of "wp-alidani-contact-form.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,545 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 122 | 37 | 825 |
JavaScript | 6 | 78 | 59 | 535 |
CSS | 4 | 23 | 27 | 185 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 19 | |
▷ Named functions | 19 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin