Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼7.11ms] Passed 4 tests
A check of server-side resources used by Prime Slider - Addons For Elementor (Revolution of a slider, Hero Slider, Media Slider, Drag Drop Slider, Video Slider, Product Slider, Ecommerce Slider)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 33.95 ▼5.94 |
Dashboard /wp-admin | 3.44 ▲0.14 | 49.11 ▲0.23 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 46.86 ▼0.70 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 79.51 ▼22.03 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 34.78 ▲3.57 |
Server storage [IO: ▲7.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 443 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Prime Slider - Addons For Elementor (Revolution of a slider, Hero Slider, Media Slider, Drag Drop Slider, Video Slider, Product Slider, Ecommerce Slider)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.24 ▼0.14 | 1.61 ▼0.13 | 36.15 ▼6.36 |
Dashboard /wp-admin | 2,204 ▲30 | 5.53 ▼0.04 | 97.12 ▼9.90 | 42.90 ▼3.79 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.94 ▼0.00 | 42.74 ▲3.56 | 35.35 ▼4.53 |
Add New Post /wp-admin/post-new.php | 1,532 ▼8 | 23.13 ▼0.02 | 583.55 ▼76.92 | 55.20 ▼2.73 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.19 ▼0.02 | 97.41 ▼5.16 | 42.77 ▼0.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant BDTPS_CORE__FILE__ - assumed 'BDTPS_CORE__FILE__' (this will throw an Error in a future version of PHP) in wp-content/plugins/bdthemes-prime-slider-lite/includes/helper.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/bdthemes-prime-slider-lite/includes/helper.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/bdthemes-prime-slider-lite/includes/helper.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function PrimeSlider\\add_action() in wp-content/plugins/bdthemes-prime-slider-lite/admin/admin-notice.php:23
- > PHP Fatal error
Uncaught Error: Class 'PrimeSlider_Settings_API' not found in wp-content/plugins/bdthemes-prime-slider-lite/admin/admin-settings.php:34
- > PHP Warning
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 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Prime Slider Intro), #2 (Best features in prime slider), #3 (Widget demo of prime slider), #4 (General Slider demo), #5 (Slider Example 5.), #6 (Slider Example 6.), #7 (Slider Example 7.), #8 (Slider Example 8.), #9 (Slider Example 9.), #10 (Slider Example 10.), #11 (Slider Example 11.), #12 (Slider Example 12.), #13 (Slider Example 13.), #14 (Slider Example 14.), #15 (Prime Slider features), #16 (Prime Slider features), #17 (Prime Slider features), #18 (Check our others popular plugins)
bdthemes-prime-slider-lite/bdthemes-prime-slider.php 77% from 13 tests
The main file in "Prime Slider - Addons For Elementor (Revolution of a slider, Hero Slider, Media Slider, Drag Drop Slider, Video Slider, Product Slider, Ecommerce Slider)" v. 3.11.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("5.0.0" instead of "3.0.0")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bdthemes-prime-slider-lite.php" instead of "bdthemes-prime-slider.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin78,954 lines of code in 379 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 212 | 14,489 | 19,602 | 69,398 |
SVG | 44 | 135 | 29 | 7,275 |
JavaScript | 50 | 309 | 242 | 2,208 |
CSS | 72 | 0 | 0 | 72 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please tend to the following items
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 50.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 3.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 55 | |
Interfaces | 1 | |
Traits | 2 | |
Classes | 118 | |
▷ Abstract classes | 3 | 2.54% |
▷ Concrete classes | 115 | 97.46% |
▷ Final classes | 1 | 0.87% |
Methods | 2,029 | |
▷ Static methods | 233 | 11.48% |
▷ Public methods | 1,526 | 75.21% |
▷ Protected methods | 110 | 5.42% |
▷ Private methods | 393 | 19.37% |
Functions | 149 | |
▷ Named functions | 139 | 93.29% |
▷ Anonymous functions | 10 | 6.71% |
Constants | 171 | |
▷ Global constants | 120 | 70.18% |
▷ Class constants | 51 | 29.82% |
▷ Public constants | 51 | 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
13 PNG files occupy 0.18MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/gallery/item-8.png | 6.37KB | 5.84KB | ▼ 8.43% |
assets/images/gems-3.png | 27.39KB | 14.47KB | ▼ 47.17% |
freemius/assets/img/bdthemes-prime-slider.png | 4.65KB | 3.17KB | ▼ 31.84% |
assets/images/gallery/item-1.png | 6.37KB | 5.71KB | ▼ 10.33% |
assets/images/gallery/item-7.png | 6.34KB | 5.69KB | ▼ 10.23% |