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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼14.72ms] Passed 4 tests
A check of server-side resources used by Ashique Reel Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 36.47 ▼4.18 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.09 ▼1.84 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.14 ▼9.93 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.58 ▼42.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 37.68 ▲2.65 |
Reel slider /wp-admin/options-general.php?page=wp-reel-slider-settings | 3.19 | 31.12 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Ashique Reel Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲122 | 13.53 ▼1.06 | 8.05 ▲6.49 | 42.12 ▲0.43 |
Dashboard /wp-admin | 2,203 ▲29 | 5.55 ▼0.03 | 89.63 ▼0.21 | 37.15 ▼3.44 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.99 ▲0.03 | 39.35 ▼0.49 | 34.04 ▼4.61 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.19 ▼0.24 | 686.02 ▲72.66 | 56.80 ▲8.97 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.16 ▼0.21 | 100.35 ▼16.37 | 45.04 ▲0.34 |
Reel slider /wp-admin/options-general.php?page=wp-reel-slider-settings | 872 | 2.04 | 29.70 | 30.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-reel-slider-settings
- > Notice in wp-content/plugins/ashique-reel-slider/admin/class-wp-reel-slider-admin.php+126
Undefined index: view
SRP 0% 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
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ashique-reel-slider/admin/partials/wp-reel-slider-admin-display.php
- > /wp-content/plugins/ashique-reel-slider/public/partials/wp-reel-slider-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Trait 'Wp_Reel_Slider_Helper_Trait' not found in wp-content/plugins/ashique-reel-slider/admin/class-wp-reel-slider-admin.php on line 23
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: slider, wp-reel-slider, reel-slider, post-slider
ashique-reel-slider/wp-reel-slider.php 85% from 13 tests
"Ashique Reel Slider" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ashique-reel-slider.php" instead of "wp-reel-slider.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin745 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 551 | 147 | 359 |
PHP | 13 | 151 | 560 | 358 |
CSS | 2 | 2 | 10 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 3.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/default-image-thumbnail.png | 1.70KB | 0.76KB | ▼ 55.57% |
public/images/default-image.png | 2.49KB | 0.80KB | ▼ 67.92% |