Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.37MB] [CPU: ▲0.95ms] Passed 4 tests
Analyzing server-side resources used by Simple AL Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 44.54 ▲1.51 |
Dashboard /wp-admin | 3.80 ▲0.50 | 51.89 ▲1.93 |
Posts /wp-admin/edit.php | 3.85 ▲0.50 | 56.01 ▲4.67 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.44 | 92.73 ▼4.33 |
Media Library /wp-admin/upload.php | 3.66 ▲0.44 | 44.64 ▲5.49 |
Simple Slider Info /wp-admin/admin.php?page=simpleal_slider_show_info | 3.68 | 42.24 |
Other Products /wp-admin/admin.php?page=simpleal_slider_show_products | 3.67 | 41.36 |
Simple AL Slider Setup /wp-admin/admin.php?page=simpleal_slider_show | 3.77 | 46.36 |
Simple AL Slider /wp-admin/admin.php?page=simpleal_show_about | 3.68 | 41.66 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 179 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_simpleal_slider |
wp_simpleal_images |
wp_simpleal_slides |
wp_simpleal_texts |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_simple_al_slider_widget |
simple_al_current_language |
widget_theysaidso_widget |
simple_al_slider_db_version |
Browser metrics Passed 4 tests
A check of browser resources used by Simple AL Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.27 ▼0.78 | 2.03 ▲0.10 | 39.97 ▼17.16 |
Dashboard /wp-admin | 2,228 ▲40 | 5.84 ▲0.75 | 106.99 ▼12.22 | 66.00 ▲23.53 |
Posts /wp-admin/edit.php | 2,129 ▲43 | 1.98 ▼0.05 | 37.74 ▼3.51 | 33.85 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 17.65 ▼5.67 | 731.19 ▲55.17 | 57.75 ▼4.12 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.17 ▼0.04 | 101.60 ▼16.71 | 83.05 ▲32.40 |
Simple Slider Info /wp-admin/admin.php?page=simpleal_slider_show_info | 1,325 | 3.37 | 52.46 | 96.81 |
Other Products /wp-admin/admin.php?page=simpleal_slider_show_products | 1,057 | 3.28 | 52.40 | 66.16 |
Simple AL Slider Setup /wp-admin/admin.php?page=simpleal_slider_show | 1,168 | 3.37 | 42.74 | 70.67 |
Simple AL Slider /wp-admin/admin.php?page=simpleal_show_about | 1,149 | 3.27 | 45.39 | 78.99 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_simple_al_slider_widget
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% 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)
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
Please fix the following
- 28× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/simple-al-slider/cfg/cfg.php
- > /wp-content/plugins/simple-al-slider/simple-al-slider.php
- > /wp-content/plugins/simple-al-slider/admin_simple_al_slider.php
- > /wp-content/plugins/simple-al-slider/inc/admincommon.class.php
- > /wp-content/plugins/simple-al-slider/users_simple_al_slider.php
- > /wp-content/plugins/simple-al-slider/inc/cachedb.class.php
- > /wp-content/plugins/simple-al-slider/inc/inclusion.php
- > /wp-content/plugins/simple-al-slider/admin_classes/models/bg_images.php
- > /wp-content/plugins/simple-al-slider/inc/db.class.php
- > /wp-content/plugins/simple-al-slider/admin_classes/controllers/main_info.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=simpleal_show_about
- > Console-api (warning) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28609 "jQuery.Deferred exception: $(...).accordion is not a function" "TypeError: $(...).accordion is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=simpleal_show_about:174:23)\n at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:26990)\n at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=simpleal_show_about
- > Javascript (severe) in unknown
/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 1:28721 Uncaught TypeError: $(...).accordion is not a function
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
Attributes that need to be fixed:
- Tags: Too many tags (145 tag instead of maximum 10); only the first 5 tags are used in your directory listing
simple-al-slider/simple-al-slider.php Passed 13 tests
The entry point to "Simple AL Slider" version 1.2.10 is a PHP file that has certain tags in its header comment area
121 characters long description:
Simple slider with background and elements. And capability to add images, buttons, html templates and videos(youtube...).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin3,000 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 459 | 97 | 2,137 |
CSS | 6 | 53 | 63 | 754 |
JavaScript | 6 | 32 | 18 | 109 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 10.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 139 | |
▷ Static methods | 9 | 6.47% |
▷ Public methods | 139 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
82 PNG files occupy 0.54MB with 0.17MB 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.14KB | 1.90KB | ▼ 39.62% |
templates/front_masks/car2.png | 4.84KB | 4.10KB | ▼ 15.36% |
css/images/ui-bg_fine-grain_15_f7f3de_60x60.png | 10.64KB | 1.70KB | ▼ 83.98% |
templates/front_masks/cat1.png | 14.30KB | 13.55KB | ▼ 5.26% |
templates/front_masks/trees1.png | 10.80KB | 9.23KB | ▼ 14.53% |