Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼2.60ms] Passed 4 tests
Server-side resources used by Selleradise Widgets
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 37.45 ▲0.15 |
Dashboard /wp-admin | 3.48 ▲0.17 | 45.98 ▲0.47 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 49.04 ▼4.37 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 84.71 ▼6.63 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.77 ▲4.74 |
FAQ Categories /wp-admin/edit-tags.php?taxonomy=faq_category&post_type=faq | 3.33 | 35.01 |
All Testimonial /wp-admin/edit.php?post_type=testimonial | 3.38 | 35.94 |
All FAQ /wp-admin/edit.php?post_type=faq | 3.38 | 33.55 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonial | 3.37 | 40.20 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.40 | 39.12 |
Add New FAQ /wp-admin/post-new.php?post_type=faq | 6.09 | 80.60 |
Server storage [IO: ▲3.40MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3,851 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Selleradise Widgets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲153 | 13.44 ▼1.15 | 1.66 ▼0.04 | 39.55 ▼2.86 |
Dashboard /wp-admin | 2,299 ▲108 | 5.85 ▼0.05 | 100.73 ▲0.02 | 42.17 ▲5.89 |
Posts /wp-admin/edit.php | 2,190 ▲98 | 2.06 ▲0.05 | 40.57 ▲4.30 | 40.16 ▲6.84 |
Add New Post /wp-admin/post-new.php | 1,608 ▲80 | 22.98 ▼0.20 | 662.12 ▲22.98 | 50.39 ▲0.69 |
Media Library /wp-admin/upload.php | 1,492 ▲107 | 4.26 ▲0.07 | 97.56 ▼8.86 | 45.23 ▼1.16 |
FAQ Categories /wp-admin/edit-tags.php?taxonomy=faq_category&post_type=faq | 1,363 | 2.33 | 29.81 | 32.80 |
All Testimonial /wp-admin/edit.php?post_type=testimonial | 1,154 | 1.98 | 37.02 | 43.69 |
All FAQ /wp-admin/edit.php?post_type=faq | 1,151 | 1.98 | 33.32 | 35.33 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonial | 1,491 | 2.50 | 49.07 | 57.04 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,045 | 2.09 | 25.36 | 29.50 |
Add New FAQ /wp-admin/post-new.php?post_type=faq | 6,226 | 22.13 | 840.78 | 26.98 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/selleradise-widgets/inc/Widgets/Elementor/Hero.php:16
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/selleradise-widgets/inc/Widgets/Elementor/Features.php:15
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Group_Control_Base' not found in wp-content/plugins/selleradise-widgets/inc/Controls/Elementor/Group_Control_Link.php:16
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/selleradise-widgets/inc/Widgets/Elementor/PromoCards.php:14
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/selleradise-widgets/inc/Widgets/Elementor/FAQ.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/selleradise-widgets/inc/class-tgm-plugin-activation.php:2169
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/selleradise-widgets/inc/Widgets/Elementor/CTA.php:16
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/selleradise-widgets/inc/Widgets/Elementor/Posts.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/selleradise-widgets/inc/class-tgm-plugin-activation.php:2169
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/selleradise-widgets/inc/Widgets/Elementor/Tabs.php:14
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
selleradise-widgets/selleradise-widgets.php 92% from 13 tests
The main PHP file in "Selleradise Widgets" ver. 2.1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 158 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin53,419 lines of code in 3,836 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 26,951 |
SVG | 3,689 | 4,569 | 1 | 17,208 |
PHP | 109 | 1,897 | 2,865 | 8,273 |
JavaScript | 30 | 141 | 10 | 943 |
CSS | 4 | 6 | 5 | 44 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 15.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 1 | 3.12% |
Methods | 248 | |
▷ Static methods | 20 | 8.06% |
▷ Public methods | 191 | 77.02% |
▷ Protected methods | 53 | 21.37% |
▷ Private methods | 4 | 1.61% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dist/images/placeholder.png | 18.53KB | 5.23KB | ▼ 71.79% |