Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.76MB] [CPU: ▲1.49ms] Passed 4 tests
This is a short check of server-side resources used by Subitem AL Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 43.13 ▲5.17 |
Dashboard /wp-admin | 4.23 ▲0.93 | 52.71 ▲2.31 |
Posts /wp-admin/edit.php | 4.28 ▲0.93 | 47.51 ▲1.67 |
Add New Post /wp-admin/post-new.php | 6.75 ▲0.87 | 88.07 ▼3.19 |
Media Library /wp-admin/upload.php | 4.09 ▲0.86 | 40.03 ▲7.49 |
Slider Info /wp-admin/admin.php?page=sial_slider_show_info | 4.13 | 39.80 |
Other Products /wp-admin/admin.php?page=sial_slider_show_products | 4.10 | 39.05 |
Sub Item AL Slider /wp-admin/admin.php?page=sial_slider_show | 4.07 | 36.47 |
Slide /wp-admin/admin.php?page=sial_slide | 4.07 | 37.59 |
Server storage [IO: ▲1.45MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 176 new files
Database: 9 new tables, 8 new options
New tables |
---|
wp_sial_images |
wp_sial_containers |
wp_sial_items |
wp_sial_groups |
wp_sial_texts |
wp_sial_main_info |
wp_sial_moves |
wp_sial_move_points |
wp_sial_bg_images |
New WordPress options |
---|
sial_al_slider_db_version |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_subitem_al_slider_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Subitem AL Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.26 ▼1.12 | 4.55 ▲2.89 | 43.14 ▼0.71 |
Dashboard /wp-admin | 2,243 ▲54 | 5.84 ▲0.94 | 100.60 ▼2.11 | 66.70 ▲26.65 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.01 ▲0.00 | 33.13 ▼6.04 | 31.40 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 23.06 ▼0.14 | 665.42 ▲21.70 | 57.38 ▼0.06 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.10 ▼0.13 | 95.65 ▼9.63 | 70.16 ▲25.13 |
Slider Info /wp-admin/admin.php?page=sial_slider_show_info | 1,833 | 3.59 | 61.41 | 89.64 |
Other Products /wp-admin/admin.php?page=sial_slider_show_products | 1,049 | 3.48 | 47.44 | 34.61 |
Sub Item AL Slider /wp-admin/admin.php?page=sial_slider_show | 1,598 | 3.31 | 43.93 | 85.87 |
Slide /wp-admin/admin.php?page=sial_slide | 2,645 | 3.35 | 53.51 | 68.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- sial_al_slider_db_version
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_subitem_al_slider_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sial_slide
- > Warning in wp-content/plugins/subitem-al-slider/classes/controllers/item_texts.php+73
count(): Parameter must be an array or an object that implements Countable
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sial_slide
- > Warning in wp-content/plugins/subitem-al-slider/templates/slide_setup/tab2_block2.tpl+109
Invalid argument supplied for foreach()
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
The following issues need your attention
- 44× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/subitem-al-slider/classes/models/groups.php
- > /wp-content/plugins/subitem-al-slider/classes/controllers/items.php
- > /wp-content/plugins/subitem-al-slider/classes_front/models/main.php
- > /wp-content/plugins/subitem-al-slider/inc/cachedb.class.php
- > /wp-content/plugins/subitem-al-slider/users_subitem_al_slider.php
- > /wp-content/plugins/subitem-al-slider/inc/helper.php
- > /wp-content/plugins/subitem-al-slider/subitem-al-slider.php
- > /wp-content/plugins/subitem-al-slider/classes/controllers/item_images.php
- > /wp-content/plugins/subitem-al-slider/classes/models/impexp.php
- > /wp-content/plugins/subitem-al-slider/inc/userscommon.class.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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: There are too many tags (145 tag instead of maximum 10)
subitem-al-slider/subitem-al-slider.php Passed 13 tests
The entry point to "Subitem AL Slider" version 1.0.0 is a PHP file that has certain tags in its header comment area
54 characters long description:
Slider with ability to make containers from sub items.
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
There were no executable files found in this plugin8,919 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 824 | 615 | 4,092 |
CSS | 17 | 216 | 329 | 3,600 |
JavaScript | 7 | 206 | 149 | 1,227 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 203.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 39 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 293 | |
▷ Static methods | 9 | 3.07% |
▷ Public methods | 247 | 84.30% |
▷ Protected methods | 46 | 15.70% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 54 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 54 | 100.00% |
▷ Public constants | 54 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
50 PNG files occupy 0.23MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrow_left_03.png | 3.15KB | 1.60KB | ▼ 49.32% |
images/slide_empty_02.png | 3.73KB | 2.57KB | ▼ 31.07% |
images/arrow_left_05.png | 5.47KB | 2.75KB | ▼ 49.78% |
images/slide_empty_04.png | 2.92KB | 1.93KB | ▼ 33.80% |
images/arrow_left_08.png | 3.94KB | 2.38KB | ▼ 39.54% |