Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.98ms] Passed 4 tests
A check of server-side resources used by Bigmart Elements
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 51.49 ▲5.28 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.59 ▲0.67 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 50.01 ▼0.13 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 90.21 ▼11.98 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.60 ▼0.48 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Bigmart Elements: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲71 | 14.47 ▲0.10 | 2.26 ▼0.30 | 46.11 ▼0.81 |
Dashboard /wp-admin | 2,238 ▲35 | 5.84 ▼0.01 | 96.58 ▼12.07 | 39.88 ▼3.50 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.07 ▲0.04 | 38.69 ▲2.52 | 38.14 ▲2.37 |
Add New Post /wp-admin/post-new.php | 1,538 ▼3 | 17.66 ▼5.83 | 671.15 ▼9.53 | 53.96 ▼7.29 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.18 ▼0.03 | 97.33 ▼14.07 | 44.32 ▼4.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/vertical-menu.php:11
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/countdown.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/cta.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/product-category-grid.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/blog-grid2.php:10
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/testimonial-slider.php:10
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/product-category-tab.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/product-category-block2.php:12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/product-tabs-grid.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/bigmart-elements/widgets/product-category-block1.php:12
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: elementor, editor
bigmart-elements/bigmart-elements.php Passed 13 tests
The entry point to "Bigmart Elements" version 1.0.3 is a PHP file that has certain tags in its header comment area
39 characters long description:
Elementor blocks for Ecommerce Websites
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected17,844 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 1,079 | 306 | 7,398 |
JavaScript | 10 | 990 | 1,918 | 5,211 |
CSS | 6 | 355 | 103 | 3,403 |
SVG | 1 | 0 | 0 | 1,832 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 12.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 1 | 4.55% |
Methods | 143 | |
▷ Static methods | 8 | 5.59% |
▷ Public methods | 82 | 57.34% |
▷ Protected methods | 59 | 41.26% |
▷ Private methods | 2 | 1.40% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ 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
No PNG files were detected