Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.06ms] Passed 4 tests
A check of server-side resources used by WPA WooCommerce Product Gallery Slider Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.19 ▼3.25 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.62 ▼2.29 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 50.19 ▼0.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 85.24 ▼22.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.27 ▲1.93 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPA WooCommerce Product Gallery Slider Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.25 ▼1.10 | 1.69 ▼0.10 | 43.98 ▲4.23 |
Dashboard /wp-admin | 2,208 ▲17 | 5.83 ▼0.08 | 103.58 ▲5.22 | 40.05 ▼3.85 |
Posts /wp-admin/edit.php | 2,088 ▼1 | 2.01 ▼0.02 | 39.54 ▼0.49 | 35.09 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,516 ▼18 | 23.62 ▲0.47 | 691.06 ▲59.93 | 52.16 ▼2.35 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.21 ▼0.04 | 92.05 ▼0.80 | 41.61 ▼2.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: woocommerce product image slider, woocommerce product gallery, product gallery slider, woocommerce product gallery slider
wpa-woocommerce-product-gallery-lite/wpa-woo-gallery-lite.php 85% from 13 tests
Analyzing the main PHP file in "WPA WooCommerce Product Gallery Slider Lite" version 1.1
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wpa-woocommerce-product-gallery-lite.php" instead of "wpa-woo-gallery-lite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,064 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 115 | 46 | 971 |
PHP | 7 | 160 | 169 | 611 |
JavaScript | 4 | 66 | 35 | 356 |
SVG | 1 | 0 | 3 | 126 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 2 | 10.53% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected