Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.84ms] Passed 4 tests
Analyzing server-side resources used by Some Important Widget For Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.64 ▲0.10 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.34 ▼4.36 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.81 ▲6.03 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.52 ▼11.91 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.50 ▲0.82 |
Server storage [IO: ▲15.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Some Important Widget For Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.18 ▼1.56 | 1.66 ▼0.16 | 44.07 ▼0.95 |
Dashboard /wp-admin | 2,224 ▲36 | 4.89 ▲0.00 | 101.57 ▼21.91 | 36.25 ▼11.37 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.02 ▼0.01 | 36.68 ▼5.10 | 33.59 ▼2.73 |
Add New Post /wp-admin/post-new.php | 1,549 ▲20 | 23.29 ▲4.90 | 667.08 ▲45.82 | 48.96 ▼3.80 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.26 ▲0.06 | 100.13 ▼4.88 | 42.21 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/some-important-widget-for-elementor/widgets/parts/icon-text-style-1.php
- 23× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/some-important-widget-for-elementor/widgets/item-style/team-style-4.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/some-important-widget-for-elementor/widgets/item-style/team-style-10.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/some-important-widget-for-elementor/widgets/item-style/team-style-7.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/some-important-widget-for-elementor/widgets/item-style/team-style-12.php:4
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/some-important-widget-for-elementor/widgets/parts/icon-text-style-1.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/some-important-widget-for-elementor/widgets/item-style/team-style-2.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/some-important-widget-for-elementor/widgets/item-style/team-style-1.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/some-important-widget-for-elementor/widgets/item-style/team-style-14.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/some-important-widget-for-elementor/widgets/item-style/team-style-8.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/some-important-widget-for-elementor/widgets/some-important-widget-button.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Important Icon Box And List), #2 (Important Stylist Button)
some-important-widget-for-elementor/some-important-widget.php 85% from 13 tests
Analyzing the main PHP file in "Some Important Widget For Elementor" version 1.0.0
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("some-important-widget-for-elementor.php" instead of "some-important-widget.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
No dangerous file extensions were detected64,415 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 20 | 52,246 |
CSS | 11 | 4,348 | 252 | 10,775 |
PHP | 23 | 205 | 419 | 1,386 |
JavaScript | 1 | 1 | 4 | 6 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 32 | |
▷ Static methods | 1 | 3.12% |
▷ Public methods | 26 | 81.25% |
▷ Protected methods | 6 | 18.75% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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
There are no PNG files in this plugin