Benchmarks
Plugin footprint 82% 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.42MB] [CPU: ▼7.52ms] 75% from 4 tests
This is a short check of server-side resources used by Slider Path for Elementor
It is recommended to improve the following
- CPU: Total CPU usage must kept under 500.00ms (currently 1,304.13ms on /wp-admin/admin.php?page=sliderpath-library)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.45 | 44.23 ▲7.42 |
Dashboard /wp-admin | 3.79 ▲0.45 | 49.13 ▼1.41 |
Posts /wp-admin/edit.php | 3.84 ▲0.45 | 47.54 ▼5.13 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.41 | 84.32 ▼26.83 |
Media Library /wp-admin/upload.php | 3.65 ▲0.39 | 38.42 ▲3.31 |
Slider Path /wp-admin/admin.php?page=sliderpath-settings | 3.63 | 34.72 |
Library /wp-admin/admin.php?page=sliderpath-library | 4.29 | 1,304.13 |
Server storage [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: no files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
sliderpath_api_response |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Slider Path for Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲200 | 13.69 ▼0.58 | 5.63 ▲3.67 | 42.85 ▼0.14 |
Dashboard /wp-admin | 2,233 ▲45 | 5.13 ▲0.27 | 96.54 ▼19.78 | 39.44 ▼2.76 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.53 ▲0.52 | 34.08 ▼9.67 | 31.52 ▼4.07 |
Add New Post /wp-admin/post-new.php | 6,307 ▲4,788 | 25.43 ▲2.36 | 879.70 ▲218.63 | 30.49 ▼20.58 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.40 ▲0.19 | 100.41 ▼1.69 | 40.96 ▼2.25 |
Slider Path /wp-admin/admin.php?page=sliderpath-settings | 946 | 2.19 | 30.09 | 55.86 |
Library /wp-admin/admin.php?page=sliderpath-library | 834 | 2.06 | 24.82 | 25.74 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- sliderpath_api_response
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/slider-path/templates/template-library.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function sliderpath() in wp-content/plugins/slider-path/widgets/slider/views/template-1.php:20
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/slider-path/includes/classes/class-widget-base.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function sliderpath() in wp-content/plugins/slider-path/widgets/khulna/views/template-1.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slider-path/includes/classes/class-hooks.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/slider-path/includes/classes/class-functions.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function sliderpath() in wp-content/plugins/slider-path/widgets/khulna/views/template-2.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/slider-path/templates/template-groups.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_unslash() in wp-content/plugins/slider-path/templates/settings-dashboard.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function sliderpath() in wp-content/plugins/slider-path/widgets/slider/views/template-2.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
- Screenshots: Screenshot #1 (Widgets List) image required
slider-path/slider-path.php Passed 13 tests
"Slider Path for Elementor" version 3.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
49 characters long description:
Slider Path is a Addon for Elemntor Slider Making
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
Good job! No executable or dangerous file extensions detected41,398 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 4,902 | 281 | 29,179 |
SVG | 7 | 1 | 3 | 4,914 |
PHP | 15 | 1,100 | 765 | 4,218 |
JavaScript | 10 | 573 | 1,082 | 2,515 |
HTML | 1 | 54 | 4 | 497 |
Sass | 1 | 5 | 0 | 75 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 54.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 297.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 117 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 99 | 84.62% |
▷ Protected methods | 4 | 3.42% |
▷ Private methods | 14 | 11.97% |
Functions | 12 | |
▷ Named functions | 9 | 75.00% |
▷ Anonymous functions | 3 | 25.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
3 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/feature.png | 48.39KB | 48.35KB | 0.08% |
assets/images/logo.png | 14.74KB | 6.82KB | ▼ 53.71% |
assets/images/shape-1.png | 5.77KB | 2.54KB | ▼ 55.92% |