Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.91ms] Passed 4 tests
An overview of server-side resources used by Post Slider - Sangar Slider Addon
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.19 ▼2.68 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.76 ▲1.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.48 ▼3.15 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.45 ▼1.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.85 ▼0.15 |
Server storage [IO: ▲1.38MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Post Slider - Sangar Slider Addon: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.35 ▼0.04 | 1.95 ▼0.12 | 43.64 ▼0.60 |
Dashboard /wp-admin | 2,195 ▲15 | 5.59 ▼0.09 | 94.01 ▲8.01 | 40.89 ▼4.06 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.04 | 34.65 ▼3.60 | 35.13 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.38 ▼4.58 | 636.34 ▼23.57 | 74.57 ▲25.64 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.22 ▲0.01 | 96.49 ▼1.06 | 42.28 ▲1.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: form_lib in wp-content/plugins/post-slider-lite/modal-content-animation.php on line 41
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/post-slider-lite/default.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/post-slider-lite/presets.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_object_taxonomies() in wp-content/plugins/post-slider-lite/modal-query.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-slider-lite/functions.php:8
- > PHP Fatal error
Uncaught Error: Class 'Walker_PageDropdown' not found in wp-content/plugins/post-slider-lite/walker_dropdown_multiple.php:14
- > PHP Notice
Undefined variable: form_lib in wp-content/plugins/post-slider-lite/modal-background.php on line 21
- > PHP Fatal error
Uncaught Error: Class 'ssliderGenerate' not found in wp-content/plugins/post-slider-lite/ssliderGenerate.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function print_select() on null in wp-content/plugins/post-slider-lite/modal-background.php:21
- > PHP Fatal error
Uncaught Error: Call to a member function print_select() on null in wp-content/plugins/post-slider-lite/modal-content-animation.php:41
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
post-slider-lite/sangar-slider-lite-addon-post-slider.php 92% from 13 tests
The main file in "Post Slider - Sangar Slider Addon" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("post-slider-lite.php" instead of "sangar-slider-lite-addon-post-slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin3,708 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 597 | 330 | 2,021 |
PHP | 14 | 358 | 157 | 1,646 |
CSS | 1 | 6 | 0 | 41 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 33.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 5.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 29.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 70.83% |
Functions | 14 | |
▷ Named functions | 10 | 71.43% |
▷ Anonymous functions | 4 | 28.57% |
Constants | 2 | |
▷ Global constants | 2 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
presets/no-preset.png | 3.44KB | 1.75KB | ▼ 48.99% |