Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.81ms] Passed 4 tests
Server-side resources used by Advanced Slider for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.14 ▼7.34 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.09 ▼5.91 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.39 ▼0.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.61 ▼11.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.92 ▼2.58 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Advanced Slider for Elementor: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲88 | 14.35 ▼0.04 | 2.03 ▲0.20 | 44.30 ▼5.67 |
Dashboard /wp-admin | 2,230 ▲53 | 5.51 ▼0.10 | 89.72 ▲1.26 | 40.48 ▲2.06 |
Posts /wp-admin/edit.php | 2,117 ▲20 | 2.04 ▲0.02 | 36.99 ▼2.29 | 35.60 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,538 ▼2 | 23.30 ▲5.05 | 646.36 ▲28.39 | 67.43 ▲0.30 |
Media Library /wp-admin/upload.php | 1,414 ▲17 | 4.19 ▼0.07 | 98.86 ▼5.32 | 44.42 ▲0.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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 | 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/advanced-slider-for-elementor/widgets/slider-widget.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% 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:
- Requires php: Version format is invalid
advanced-slider-for-elementor/advanced-slider-for-elementor.php Passed 13 tests
The main PHP file in "Advanced Slider for Elementor" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
46 characters long description:
Advanced slider for elementor wordpress plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin984 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 194 | 213 | 963 |
JSON | 1 | 0 | 0 | 16 |
CSS | 3 | 0 | 0 | 3 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 29 | 78.38% |
▷ Protected methods | 3 | 8.11% |
▷ Private methods | 5 | 13.51% |
Functions | 8 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 8 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.38MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/button-options.png | 87.13KB | 22.99KB | ▼ 73.61% |
assets/images/text-options.png | 47.97KB | 11.71KB | ▼ 75.58% |
assets/images/dots-options.png | 26.19KB | 6.52KB | ▼ 75.09% |
assets/images/slider-logo.png | 6.19KB | 2.92KB | ▼ 52.89% |
assets/images/arrow-options.png | 23.42KB | 25.70KB | 0.00% |