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.07MB] [CPU: ▼4.25ms] Passed 4 tests
Server-side resources used by Products Slider for WPBakery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 34.45 ▼5.58 |
Dashboard /wp-admin | 3.37 ▲0.07 | 43.82 ▼3.85 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 45.62 ▼0.43 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 90.35 ▼7.12 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.83 ▲1.70 |
Server storage [IO: ▲3.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Products Slider for WPBakery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲172 | 13.63 ▼0.73 | 9.00 ▲7.43 | 42.71 ▲0.57 |
Dashboard /wp-admin | 2,208 ▲17 | 5.83 ▲0.80 | 107.29 ▲1.57 | 39.48 ▼2.43 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.05 | 39.98 ▼0.43 | 35.58 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.13 ▼0.02 | 661.08 ▲17.73 | 53.25 ▲5.87 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▼0.01 | 100.95 ▼0.52 | 44.72 ▼1.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/products-slider-wpbakery/products-slider-wpbakery.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/products-slider-wpbakery/widgets/widget-slider.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Products Slider for WPBakery in Widget Panel), #2 (Products Slider for WPBakery on Frontend)
- Donate link: Invalid URI ("elementinvader.com")
products-slider-wpbakery/products-slider-wpbakery.php 92% from 13 tests
The main PHP script in "Products Slider for WPBakery" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 plugin12,361 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 1 | 12 | 8,783 |
CSS | 6 | 1,419 | 2 | 3,066 |
PHP | 2 | 50 | 63 | 385 |
Sass | 1 | 14 | 0 | 70 |
JavaScript | 2 | 15 | 5 | 57 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 12.00 |
▷ Minimum method complexity | 12.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 6 | 54.55% |
▷ Anonymous functions | 5 | 45.45% |
Constants | 5 | |
▷ Global constants | 5 | 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