Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲2.07MB] [CPU: ▼287.35ms] Passed 4 tests
An overview of server-side resources used by Responsive WordPress Slider - Avartan Slider Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.48 ▲1.97 | 63.68 ▲11.74 |
Dashboard /wp-admin | 6.18 ▲2.77 | 892.33 ▲859.77 |
Posts /wp-admin/edit.php | 5.72 ▲2.08 | 48.37 ▲10.70 |
Add New Post /wp-admin/post-new.php | 9.03 ▲2.06 | 102.63 ▼1,180.15 |
Media Library /wp-admin/upload.php | 5.45 ▲2.15 | 33.97 ▲8.31 |
Create New Slider /wp-admin/admin.php?page=avs_standard_slider | 8.58 | 98.94 |
Upgrade to PRO /wp-admin/admin.php?page=avs_upgrade_to_pro | 5.89 | 40.46 |
Server storage [IO: ▲9.47MB] [DB: ▲1.35MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 259 new files
Database: 3 new tables, 3 new options
New tables |
---|
wp_avartan_preset |
wp_avartan_slides |
wp_avartan_sliders |
New WordPress options |
---|
is_user_subscribed_cancled |
avs_preset_version |
avl_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive WordPress Slider - Avartan Slider Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,312 ▲558 | 16.28 ▲0.59 | 8.73 ▲1.90 | 2.39 ▲0.27 |
Dashboard /wp-admin | 3,326 ▲465 | 6.28 ▲0.12 | 116.49 ▼15.13 | 184.47 ▲25.09 |
Posts /wp-admin/edit.php | 2,956 ▲265 | 3.13 ▼0.10 | 62.07 ▼2.95 | 133.47 ▼4.52 |
Add New Post /wp-admin/post-new.php | 1,802 ▲51 | 21.39 ▼0.57 | 382.54 ▼70.69 | 172.56 ▲13.35 |
Media Library /wp-admin/upload.php | 1,950 ▲252 | 5.71 ▲0.18 | 121.50 ▼15.66 | 204.73 ▲21.45 |
Create New Slider /wp-admin/admin.php?page=avs_standard_slider | 6,223 | 7.08 | 161.66 | 281.55 |
Upgrade to PRO /wp-admin/admin.php?page=avs_upgrade_to_pro | 3,355 | 5.76 | 102.44 | 210.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲1.35MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_avartan_preset
- This plugin did not uninstall successfully, leaving 3 options in the database
- avs_preset_version
- is_user_subscribed_cancled
- avl_version
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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=avs_standard_slider
- > Console-api (warning) in wp-admin/js/common.min.js?ver=5.9.2+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- > GET request to /wp-admin/admin.php?page=avs_standard_slider
- > Console-api (warning) in wp-admin/js/common.min.js?ver=5.9.2+1:283
wpColorPickerL10n.clear is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (26 tag instead of maximum 10); only the first 5 tags are used in your directory listing
avartan-slider-lite/avartanslider.php 85% from 13 tests
The principal PHP file in "Responsive WordPress Slider - Avartan Slider Lite" v. 1.5.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 270 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("avartan-slider-lite.php" instead of "avartanslider.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin27,711 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 700 | 1,040 | 9,879 |
SVG | 5 | 0 | 15 | 8,336 |
CSS | 6 | 985 | 246 | 5,878 |
JavaScript | 3 | 524 | 485 | 3,618 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 153)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 52.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 326.00 |
Average method complexity | 5.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 153.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 143 | |
▷ Static methods | 65 | 45.45% |
▷ Public methods | 140 | 97.90% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.10% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 26 | |
▷ Global constants | 3 | 11.54% |
▷ Class constants | 23 | 88.46% |
▷ Public constants | 23 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
103 PNG files occupy 1.24MB with 0.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
manage/assets/images/editor-icon/layer-align-center.png | 1.15KB | 0.36KB | ▼ 68.56% |
views/assets/images/bullets/navigation9.png | 0.46KB | 0.42KB | ▼ 7.46% |
manage/assets/images/hue.png | 2.90KB | 0.50KB | ▼ 82.71% |
manage/assets/images/pattern_bg.png | 0.20KB | 0.09KB | ▼ 56.25% |
manage/assets/images/editor-icon/box-shadow.png | 1.15KB | 0.60KB | ▼ 47.74% |