Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.52ms] Passed 4 tests
A check of server-side resources used by Fancy Product For Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.78 ▼3.21 |
Dashboard /wp-admin | 3.32 ▲0.02 | 53.37 ▲2.55 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 53.13 ▲1.71 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 101.17 ▲1.01 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.54 ▼1.60 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Fancy Product For Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.71 ▲0.36 | 1.62 ▼0.52 | 45.35 ▲4.24 |
Dashboard /wp-admin | 2,209 ▲29 | 5.68 ▲0.02 | 93.39 ▲3.82 | 38.68 ▼5.00 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.15 ▲0.14 | 42.41 ▲0.69 | 36.86 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.38 ▲0.30 | 690.19 ▲1.68 | 63.43 ▲7.05 |
Media Library /wp-admin/upload.php | 1,405 ▲11 | 4.27 ▼0.01 | 99.33 ▼3.64 | 41.74 ▼1.74 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to a member function get_image() on null in wp-content/plugins/fancy-product-for-elementor/widgets/svg-styles.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/fancy-product-for-elementor/widgets/svg-styles.php on line 1
- > PHP Notice
Undefined variable: product in wp-content/plugins/fancy-product-for-elementor/widgets/svg-styles.php on line 4
- > PHP Notice
Undefined variable: svg_tag_hover in wp-content/plugins/fancy-product-for-elementor/widgets/svg-styles.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #7 (Style 5 demo.), #8 (Style 1 demo(2).), #9 (Style 3 demo.), #10 (Style 2 demo(2).)
fancy-product-for-elementor/fancy-product-for-elementor.php Passed 13 tests
Analyzing the main PHP file in "Fancy Product For Elementor" version 3.0.1
124 characters long description:
This plugin adds an amazing and customizable Woocommerce box widget(with many options) to the Elementor page builder plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,682 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 312 | 194 | 1,416 |
CSS | 2 | 35 | 5 | 232 |
JavaScript | 3 | 11 | 23 | 33 |
Markdown | 1 | 1 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 4.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 76.19% |
▷ Protected methods | 2 | 9.52% |
▷ Private methods | 3 | 14.29% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin