Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.57MB] [CPU: ▼3.07ms] Passed 4 tests
A check of server-side resources used by İYS Panel WP Form
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 43.79 ▲5.27 |
Dashboard /wp-admin | 3.92 ▲0.62 | 48.19 ▲1.47 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 46.48 ▼3.17 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.62 | 84.50 ▼15.86 |
Media Library /wp-admin/upload.php | 3.85 ▲0.61 | 37.31 ▲5.61 |
Forms /wp-admin/admin.php?page=iys-panel-wp-form-list | 3.91 | 36.77 |
Connections /wp-admin/admin.php?page=iys-panel-wp-form | 3.96 | 40.68 |
Create Form /wp-admin/admin.php?page=iys-panel-wp-form-forms | 3.68 | 25.60 |
Server storage [IO: ▲1.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 143 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
im4wp_version |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_im4wp_form_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
İYS Panel WP Form: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲107 | 14.41 ▲0.13 | 1.72 ▲0.02 | 40.55 ▼2.95 |
Dashboard /wp-admin | 2,257 ▲77 | 5.53 ▼0.09 | 82.49 ▼8.38 | 41.03 ▼4.15 |
Posts /wp-admin/edit.php | 2,165 ▲65 | 2.01 ▲0.04 | 34.89 ▼1.76 | 35.21 ▲2.77 |
Add New Post /wp-admin/post-new.php | 6,390 ▲4,864 | 27.47 ▲4.22 | 832.08 ▲135.60 | 60.36 ▲4.57 |
Media Library /wp-admin/upload.php | 1,467 ▲67 | 4.21 ▲0.06 | 97.54 ▼12.93 | 41.11 ▼6.68 |
Forms /wp-admin/admin.php?page=iys-panel-wp-form-list | 882 | 1.84 | 27.87 | 29.49 |
Connections /wp-admin/admin.php?page=iys-panel-wp-form | 1,065 | 1.90 | 29.64 | 28.25 |
Create Form /wp-admin/admin.php?page=iys-panel-wp-form-forms | 906 | 1.90 | 25.08 | 29.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- im4wp_version
- theysaidso_admin_options
- db_upgraded
- widget_im4wp_form_widget
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=iys-panel-wp-form-forms
- > Notice in wp-content/plugins/iys-panel-wp-form/includes/class-iyspanel.php+372
Trying to get property 'content' of non-object
- > GET request to /wp-admin/admin.php?page=iys-panel-wp-form-forms
- > Notice in wp-content/plugins/iys-panel-wp-form/includes/class-iyspanel.php+277
Trying to get property 'recipient_groups' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=iys-panel-wp-form-forms
- > Warning in wp-content/plugins/iys-panel-wp-form/includes/class-iyspanel.php+373
Invalid argument supplied for foreach()
- > GET request to /wp-admin/admin.php?page=iys-panel-wp-form-forms
- > Notice in wp-content/plugins/iys-panel-wp-form/includes/class-iyspanel.php+372
Trying to get property 'iys_details' of non-object
- > GET request to /wp-admin/admin.php?page=iys-panel-wp-form-forms
- > Notice in wp-content/plugins/iys-panel-wp-form/includes/class-iyspanel.php+372
Trying to get property 'brands' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/iys-panel-wp-form/config/default-form-content.php:3
- > PHP Fatal error
Uncaught Error: Class 'IM4WP_API_Exception' not found in wp-content/plugins/iys-panel-wp-form/includes/api/class-resource-not-found-exception.php:3
- > PHP Fatal error
Uncaught Error: Class 'IM4WP_Dynamic_Content_Tags' not found in wp-content/plugins/iys-panel-wp-form/includes/forms/class-form-tags.php:9
- > PHP Fatal error
Uncaught Error: Class 'IM4WP_API_Exception' not found in wp-content/plugins/iys-panel-wp-form/includes/api/class-connection-exception.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/iys-panel-wp-form/includes/views/parts/lists-overview.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/iys-panel-wp-form/config/default-form-messages.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_thickbox() in wp-content/plugins/iys-panel-wp-form/includes/forms/views/tabs/form-fields.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/iys-panel-wp-form/includes/forms/views/tabs/form-settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/iys-panel-wp-form/includes/forms/views/tabs/form-appearance.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #10, #11, #12, #13, #14, #15, #16, #2, #3, #4, #5, #6, #7, #8, #9 in iys-panel-wp-form/assets to your readme.txt
iys-panel-wp-form/iyspanel-for-wp.php 85% from 13 tests
The primary PHP file in "İYS Panel WP Form" version 1.0.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 417 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("iys-panel-wp-form.php" instead of "iyspanel-for-wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected10,066 lines of code in 128 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 77 | 1,810 | 3,568 | 6,229 |
JavaScript | 38 | 427 | 387 | 2,069 |
CSS | 8 | 89 | 40 | 985 |
PO File | 1 | 269 | 312 | 707 |
XML | 2 | 10 | 0 | 64 |
SVG | 1 | 0 | 0 | 7 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 1 | 2.27% |
▷ Concrete classes | 43 | 97.73% |
▷ Final classes | 0 | 0.00% |
Methods | 374 | |
▷ Static methods | 24 | 6.42% |
▷ Public methods | 311 | 83.16% |
▷ Protected methods | 39 | 10.43% |
▷ Private methods | 24 | 6.42% |
Functions | 45 | |
▷ Named functions | 37 | 82.22% |
▷ Anonymous functions | 8 | 17.78% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon.png | 3.34KB | 1.80KB | ▼ 46.04% |