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: ▼5.07ms] Passed 4 tests
This is a short check of server-side resources used by Opal Widgets For Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.47 ▼3.22 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.29 ▼8.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 55.14 ▲2.08 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 97.99 ▼1.05 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.75 ▼7.75 |
Server storage [IO: ▲2.96MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 224 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Opal Widgets For Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.73 ▲0.19 | 1.64 ▼0.78 | 46.28 ▲0.64 |
Dashboard /wp-admin | 2,195 ▲27 | 5.57 ▼0.08 | 88.00 ▼2.62 | 38.51 ▼2.28 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▲0.03 | 38.53 ▼0.61 | 35.32 ▼5.03 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 18.09 ▼5.08 | 621.40 ▼59.04 | 69.38 ▲13.70 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▲0.18 | 98.11 ▼14.46 | 43.05 ▼2.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/opal-widgets-for-elementor/includes/function-woo-hook-templates.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/opal-widgets-for-elementor/widgets/override/divider.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Shortcode_Products' not found in wp-content/plugins/opal-widgets-for-elementor/includes/class-woo-shortcode-products.php:2
- > PHP Warning
The use statement with non-compound name 'WPML_Elementor_Module_With_Items' has no effect in wp-content/plugins/opal-widgets-for-elementor/includes/wpml/widgets/timeline.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/opal-widgets-for-elementor/templates/elementor-preview.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: woocommerce elementor, nav menu page builder, elementor, widgets, footer builder...
opal-widgets-for-elementor/opalelementor.php 77% from 13 tests
The main file in "Opal Widgets For Elementor" v. 1.6.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("opal-widgets-for-elementor.php" instead of "opalelementor.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 151 characters long)
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
No dangerous file extensions were detected64,408 lines of code in 205 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 83 | 4,589 | 2,529 | 30,967 |
Sass | 100 | 1,317 | 191 | 10,381 |
CSS | 4 | 813 | 162 | 10,013 |
JSON | 2 | 0 | 0 | 9,685 |
JavaScript | 16 | 893 | 233 | 3,362 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 13.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 2 | 2.60% |
▷ Concrete classes | 75 | 97.40% |
▷ Final classes | 0 | 0.00% |
Methods | 595 | |
▷ Static methods | 14 | 2.35% |
▷ Public methods | 372 | 62.52% |
▷ Protected methods | 192 | 32.27% |
▷ Private methods | 31 | 5.21% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 10 | |
▷ Global constants | 10 | 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
There were not PNG files found in your plugin