Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.44ms] Passed 4 tests
Server-side resources used by Alpha Single Product For Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 40.03 ▼4.49 |
Dashboard /wp-admin | 3.39 ▼0.00 | 50.69 ▼14.55 |
Posts /wp-admin/edit.php | 3.50 ▲0.10 | 56.44 ▲2.23 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 94.88 ▼12.91 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 39.05 ▲2.19 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Alpha Single Product For Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 14.70 ▲0.35 | 2.01 ▲0.10 | 42.15 ▼0.19 |
Dashboard /wp-admin | 2,211 ▲34 | 5.52 ▼0.10 | 88.07 ▼1.79 | 42.63 ▼3.67 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 2.16 ▲0.14 | 41.71 ▼6.64 | 40.73 ▲3.05 |
Add New Post /wp-admin/post-new.php | 1,542 ▲5 | 23.40 ▲5.35 | 634.36 ▼55.15 | 59.92 ▼6.34 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.18 ▼0.03 | 97.91 ▼6.92 | 43.38 ▼6.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/alpha-single-product-for-elementor/index.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: elementor, alpha, premium, product, drag-and-drop...
alpha-single-product-for-elementor/alpha-single-product-for-elementor.php Passed 13 tests
The primary PHP file in "Alpha Single Product For Elementor" version 1.0.4 is used by WordPress to initiate all plugin functionality
54 characters long description:
Single WooCommerce Product Widget Addon For Elementor.
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
No dangerous file extensions were detected812 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 114 | 173 | 754 |
Markdown | 1 | 34 | 0 | 57 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 19 | 90.48% |
▷ Protected methods | 2 | 9.52% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 9 | |
▷ Global constants | 7 | 77.78% |
▷ Class constants | 2 | 22.22% |
▷ Public constants | 2 | 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 were not PNG files found in your plugin