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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼8.70ms] Passed 4 tests
Server-side resources used by Max Slider for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 40.83 ▼0.59 |
Dashboard /wp-admin | 3.42 ▲0.07 | 48.46 ▼19.46 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 45.68 ▼1.76 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 83.97 ▼12.99 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.76 ▼0.27 |
Demo Importer /wp-admin/edit.php?post_type=max_slides&page=max_slider_demo_importer | 3.31 | 30.75 |
Add New Max Slides /wp-admin/post-new.php?post_type=max_slides | 3.37 | 40.29 |
Max Slides /wp-admin/edit.php?post_type=max_slides | 3.38 | 34.34 |
Server storage [IO: ▲7.82MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Max Slider for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲96 | 14.33 ▼0.10 | 1.74 ▼0.21 | 43.57 ▼2.03 |
Dashboard /wp-admin | 2,245 ▲71 | 5.55 ▼0.07 | 88.42 ▼11.49 | 38.15 ▼8.36 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 1.97 ▲0.00 | 36.30 ▼1.72 | 33.83 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 23.04 ▼0.42 | 677.91 ▼19.33 | 54.23 ▲2.02 |
Media Library /wp-admin/upload.php | 1,450 ▲53 | 4.20 ▲0.01 | 101.18 ▲2.19 | 44.06 ▲3.15 |
Demo Importer /wp-admin/edit.php?post_type=max_slides&page=max_slider_demo_importer | 1,478 | 2.01 | 26.11 | 40.89 |
Add New Max Slides /wp-admin/post-new.php?post_type=max_slides | 1,458 | 2.53 | 48.76 | 48.12 |
Max Slides /wp-admin/edit.php?post_type=max_slides | 1,114 | 1.94 | 32.16 | 30.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_normalize_path() in wp-content/plugins/max-slider/inc/demo-importer/init.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function MaxSliderAddon\\add_action() in wp-content/plugins/max-slider/plugin.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_normalize_path() in wp-content/plugins/max-slider/inc/demo-importer/init.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/max-slider/inc/slides.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: Contributors not specified
- Screenshots: These screenshots need descriptions #1, #10, #11, #12, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #23, #24, #25, #26, #27, #28, #29, #3, #30, #4, #5, #6, #7, #8, #9 in max-slider/assets to your readme.txt
max-slider/max-slider.php 92% from 13 tests
The entry point to "Max Slider for Elementor" version 1.2.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 219 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin4,194 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 349 | 331 | 3,607 |
CSS | 4 | 3 | 14 | 249 |
JavaScript | 3 | 31 | 23 | 190 |
Sass | 5 | 18 | 0 | 148 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 1 | 25.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 25 | 89.29% |
▷ Protected methods | 3 | 10.71% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
25 PNG files occupy 7.52MB with 5.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/demo-importer/demos/item-3/screenshot.png | 429.34KB | 130.14KB | ▼ 69.69% |
inc/demo-importer/demos/hero-2-rtl/screenshot.png | 585.35KB | 192.24KB | ▼ 67.16% |
inc/demo-importer/demos/item-2/screenshot.png | 262.19KB | 84.97KB | ▼ 67.59% |
inc/demo-importer/demos/hero-4/screenshot.png | 492.85KB | 169.88KB | ▼ 65.53% |
inc/demo-importer/demos/hero-1/screenshot.png | 109.00KB | 35.06KB | ▼ 67.83% |