Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.65ms] Passed 4 tests
This is a short check of server-side resources used by Post Slider For WPBakery Page Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.27 ▼3.88 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.38 ▼1.51 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.33 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.67 ▼15.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.05 ▲2.56 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Slider For WPBakery Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲84 | 13.17 ▼1.20 | 1.67 ▼0.20 | 42.25 ▼2.42 |
Dashboard /wp-admin | 2,223 ▲35 | 5.86 ▼0.20 | 99.37 ▼6.71 | 39.94 ▼2.52 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 1.98 ▼0.07 | 34.26 ▼0.38 | 33.68 ▼0.18 |
Add New Post /wp-admin/post-new.php | 1,546 ▲17 | 23.22 ▲4.89 | 612.55 ▼23.15 | 49.75 ▼0.85 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.22 ▲0.08 | 100.94 ▲0.26 | 43.24 ▲0.54 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/post-carousel-slider-for-visual-composer/render/post_slider.php
- > /wp-content/plugins/post-carousel-slider-for-visual-composer/render/post_grid.php
- 45× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: height in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style5.php on line 3
- > PHP Notice
Undefined variable: height in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style6.php on line 3
- > PHP Notice
Undefined variable: img_padding in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style4.php on line 1
- > PHP Notice
Undefined variable: css_class in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style3.php on line 2
- > PHP Notice
Undefined variable: img_padding in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style9.php on line 1
- > PHP Notice
Undefined variable: img_padding in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style6.php on line 1
- > PHP Notice
Undefined variable: grid in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style7.php on line 1
- > PHP Notice
Undefined variable: css_class in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style7.php on line 2
- > PHP Notice
Undefined variable: img_padding in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style7.php on line 1
- > PHP Notice
Undefined variable: img_padding in wp-content/plugins/post-carousel-slider-for-visual-composer/render/includes/style3.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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: Please delete some tags, you are using 12 tag instead of maximum 10
post-carousel-slider-for-visual-composer/index.php 92% from 13 tests
The entry point to "Post Slider For WPBakery Page Builder" version 1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("post-carousel-slider-for-visual-composer.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin7,329 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 2,690 |
JavaScript | 3 | 850 | 54 | 2,174 |
CSS | 4 | 146 | 61 | 1,587 |
PHP | 13 | 69 | 33 | 878 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 5.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 2 | 28.57% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/carousal-slider.png | 2.62KB | 1.75KB | ▼ 33.06% |
icons/post-carousel.png | 2.55KB | 1.69KB | ▼ 33.52% |