Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.68ms] Passed 4 tests
Server-side resources used by OS3 Responsive Slider for Elementor - Pro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.82 ▼4.86 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.94 ▼2.44 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.12 ▲0.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 110.48 ▲24.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.24 ▼3.73 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for OS3 Responsive Slider for Elementor - Pro
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.25 ▼1.12 | 1.72 ▼0.09 | 41.72 ▼2.85 |
Dashboard /wp-admin | 2,224 ▲36 | 4.85 ▼1.04 | 108.11 ▼12.62 | 43.15 ▲0.29 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.02 ▼0.03 | 41.78 ▲3.64 | 38.35 ▲3.16 |
Add New Post /wp-admin/post-new.php | 1,555 ▲18 | 18.29 ▼4.91 | 595.87 ▼89.61 | 54.64 ▼4.14 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.24 ▲0.04 | 102.50 ▼3.45 | 43.43 ▼4.10 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- 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
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/os3-responsive-slider-for-elementor/widgets/responsive-slider.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/os3-responsive-slider-for-elementor/wp-responsive-slider.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: slider, carousel, elementor, responsive
os3-responsive-slider-for-elementor/wp-responsive-slider.php 77% from 13 tests
The entry point to "OS3 Responsive Slider for Elementor - Pro" version 1.0.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path folder does not exist ("/languages/")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("os3-responsive-slider-for-elementor.php" instead of "wp-responsive-slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,826 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 129 | 18 | 1,699 |
CSS | 1 | 19 | 1 | 103 |
JavaScript | 1 | 0 | 0 | 17 |
Markdown | 1 | 7 | 0 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 1 | 4.17% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.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
There were not PNG files found in your plugin