Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼12.65ms] Passed 4 tests
Analyzing server-side resources used by Slider X Woo
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.36 ▼12.80 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.41 ▼24.43 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 54.60 ▲6.39 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.90 ▼12.14 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.75 ▼1.23 |
Server storage [IO: ▲2.55MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 238 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Slider X Woo
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.08 | 1.89 ▼0.57 | 39.73 ▼5.84 |
Dashboard /wp-admin | 2,198 ▲24 | 5.59 ▼0.00 | 90.79 ▼3.05 | 39.63 ▼0.68 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.03 | 41.35 ▲5.74 | 35.23 ▼4.14 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.12 ▼0.20 | 635.81 ▼47.25 | 54.46 ▼5.83 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.06 | 95.83 ▼10.46 | 44.38 ▼0.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slider-x-woo/includes/classes/class-hooks.php:23
- > PHP Fatal error
Uncaught Error: Class 'PBSettings_Abstract' not found in wp-content/plugins/slider-x-woo/includes/sdk/settings/classes/admin-options.class.php:11
- > PHP Fatal error
Uncaught Error: Call to a member function slider_classes() on null in wp-content/plugins/slider-x-woo/slider-x-woo/templates/slider-product/theme-5/slider.php:9
- > PHP Fatal error
Uncaught Error: Call to a member function slider_classes() on null in wp-content/plugins/slider-x-woo/slider-x-woo/templates/slider-product/theme-6/slider.php:12
- > PHP Fatal error
Uncaught Error: Call to a member function slider_classes() on null in wp-content/plugins/slider-x-woo/templates/slider-product/theme-5/slider.php:9
- > PHP Fatal error
Uncaught Error: Class 'PBSettings_Abstract' not found in wp-content/plugins/slider-x-woo/slider-x-woo/includes/sdk/settings/classes/fields.class.php:11
- > PHP Fatal error
Uncaught Error: Class 'PBSettings_Abstract' not found in wp-content/plugins/slider-x-woo/includes/sdk/settings/classes/fields.class.php:11
- > PHP Fatal error
Uncaught Error: Class 'PBSettings_Abstract' not found in wp-content/plugins/slider-x-woo/slider-x-woo/includes/sdk/settings/classes/admin-options.class.php:11
- > PHP Fatal error
Uncaught Error: Call to a member function slider_classes() on null in wp-content/plugins/slider-x-woo/templates/slider-product/theme-6/slider.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slider-x-woo/slider-x-woo/includes/classes/class-hooks.php:23
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (screenshot-1.png)
slider-x-woo/slider-x-woo.php Passed 13 tests
The primary PHP file in "Slider X Woo" version 1.0.0 is used by WordPress to initiate all plugin functionality
46 characters long description:
Multipurpose slider for your WooCommerce store
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected21,436 lines of code in 116 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 87 | 2,949 | 1,554 | 8,839 |
JavaScript | 8 | 1,319 | 509 | 6,679 |
CSS | 18 | 1,089 | 572 | 5,870 |
Markdown | 1 | 30 | 0 | 46 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 23.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 6.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 138 | |
▷ Abstract classes | 4 | 2.90% |
▷ Concrete classes | 134 | 97.10% |
▷ Final classes | 0 | 0.00% |
Methods | 614 | |
▷ Static methods | 86 | 14.01% |
▷ Public methods | 600 | 97.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 2.28% |
Functions | 72 | |
▷ Named functions | 72 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
slider-x-woo/includes/sdk/settings/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
includes/sdk/settings/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |