Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼137.76ms] Passed 4 tests
This is a short check of server-side resources used by Jssor Slider by jssor.com
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 32.53 ▲4.96 |
Dashboard /wp-admin | 3.10 ▲0.04 | 46.29 ▲0.69 |
Posts /wp-admin/edit.php | 3.21 ▲0.10 | 46.32 ▲1.35 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 93.30 ▼553.28 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 33.26 ▲0.21 |
Server storage [IO: ▲2.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 406 new files
Database: 2 new tables, 2 new options
New tables |
---|
wp_jssor_slider_trans |
wp_jssor_slider_sliders |
New WordPress options |
---|
wp_jssor_slider_db_version |
wp_jssor_slider_instance_id |
Browser metrics Passed 4 tests
Jssor Slider by jssor.com: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,721 ▲125 | 16.22 ▲0.52 | 10.01 ▲1.53 | 51.76 ▲0.96 |
Dashboard /wp-admin | 2,979 ▲48 | 5.92 ▼0.02 | 132.94 ▼5.13 | 132.89 ▲25.10 |
Posts /wp-admin/edit.php | 2,770 ▲31 | 2.72 ▼0.00 | 59.02 ▼6.28 | 90.28 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,685 ▲9 | 18.81 ▼0.12 | 377.84 ▼14.63 | 110.59 ▲2.33 |
Media Library /wp-admin/upload.php | 1,844 ▲37 | 5.03 ▼0.02 | 127.62 ▼28.61 | 134.07 ▲20.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/jssor-slider/includes/models/runtime-document/class-wjssl-caption-slideo-options.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
These attributes need your attention:
- Tags: You are using too many tags: 31 tag instead of maximum 10
- Screenshots: Please add an image for screenshot #5 (Maintanence)
jssor-slider/jssor-slider.php Passed 13 tests
The primary PHP file in "Jssor Slider by jssor.com" version 3.1.24 is used by WordPress to initiate all plugin functionality
90 characters long description:
Touch swipe responsive image/content slider/slideshow/carousel/gallery/banner by jssor.com
Code Analysis 97% from 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
No dangerous file extensions were detected26,462 lines of code in 279 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1 | 12 | 13,526 |
PHP | 126 | 3,054 | 3,584 | 11,739 |
HTML | 138 | 34 | 1 | 1,047 |
SVG | 7 | 4 | 7 | 148 |
CSS | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please tend to the following items
- Please reduce cyclomatic complexity of methods to less than 100 (currently 140)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 12.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 291.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 140.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 148 | |
▷ Abstract classes | 8 | 5.41% |
▷ Concrete classes | 140 | 94.59% |
▷ Final classes | 0 | 0.00% |
Methods | 646 | |
▷ Static methods | 182 | 28.17% |
▷ Public methods | 485 | 75.08% |
▷ Protected methods | 33 | 5.11% |
▷ Private methods | 128 | 19.81% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 159 | |
▷ Global constants | 11 | 6.92% |
▷ Class constants | 148 | 93.08% |
▷ Public constants | 148 | 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
20 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
interface/admin/images/purchase-code.png | 0.98KB | 0.48KB | ▼ 50.95% |
public/content/slideo.editor/img/sprite-slideo-1.6.png | 17.75KB | 6.05KB | ▼ 65.93% |
interface/admin/images/dash-notregistered.png | 0.41KB | 0.44KB | 0.00% |
interface/admin/images/sprite-jssor-slider.png | 3.98KB | 2.49KB | ▼ 37.61% |
interface/admin/images/trans_tile.png | 0.08KB | 0.09KB | 0.00% |