Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.31ms] Passed 4 tests
A check of server-side resources used by Carousel Anything For WPBakery Page Builder - Touch Slider and Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.60 ▼3.94 |
Dashboard /wp-admin | 3.35 ▲0.05 | 43.92 ▼3.22 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.34 ▼3.48 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 82.91 ▼6.59 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.17 ▲0.10 |
Server storage [IO: ▲1.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Carousel Anything For WPBakery Page Builder - Touch Slider and Carousel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲57 | 13.33 ▼0.99 | 1.65 ▼0.27 | 40.50 ▼4.20 |
Dashboard /wp-admin | 2,220 ▲35 | 5.79 ▼0.08 | 95.16 ▼5.70 | 39.27 ▼7.99 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.06 ▲0.05 | 34.17 ▼8.44 | 34.28 ▼2.68 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.10 ▲4.64 | 674.99 ▲63.27 | 56.58 ▼2.33 |
Media Library /wp-admin/upload.php | 1,402 ▲20 | 4.21 ▼0.01 | 93.42 ▼13.96 | 43.33 ▼3.27 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% 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 0% 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 items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/carousel-anything/includes/testimonial-templates/style2.php
- > /wp-content/plugins/carousel-anything/includes/testimonial-templates/style3.php
- > /wp-content/plugins/carousel-anything/includes/testimonial-templates/style1.php
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_tags() in wp-content/plugins/carousel-anything/includes/post-templates/style1.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_tags() in wp-content/plugins/carousel-anything/includes/post-templates/style3.php:2
- > PHP Notice
Undefined variable: wdo_test_text in wp-content/plugins/carousel-anything/includes/testimonial-templates/style2.php on line 12
- > PHP Notice
Undefined variable: wdo_test_text in wp-content/plugins/carousel-anything/includes/testimonial-templates/style3.php on line 4
- > PHP Notice
Undefined variable: avatar_url in wp-content/plugins/carousel-anything/includes/testimonial-templates/style2.php on line 4
- > PHP Notice
Undefined variable: wdo_test_text in wp-content/plugins/carousel-anything/includes/testimonial-templates/style1.php on line 7
- > PHP Notice
Undefined variable: avatar_url in wp-content/plugins/carousel-anything/includes/testimonial-templates/style1.php on line 4
- > PHP Notice
Undefined variable: wdo_author_name in wp-content/plugins/carousel-anything/includes/testimonial-templates/style1.php on line 9
- > PHP Notice
Undefined variable: wdo_author_name in wp-content/plugins/carousel-anything/includes/testimonial-templates/style3.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/carousel-anything/plugin.class.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
carousel-anything/index.php 85% from 13 tests
The main file in "Carousel Anything For WPBakery Page Builder - Touch Slider and Carousel" v. 2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("carousel-anything.php" instead of "index.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected8,910 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 501 | 38 | 5,240 |
SVG | 2 | 0 | 0 | 2,690 |
PHP | 14 | 96 | 32 | 978 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ 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
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/nav-icon.png | 1.48KB | 1.35KB | ▼ 8.59% |
assets/css/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
icons/admin-post-icon.png | 3.65KB | 1.92KB | ▼ 47.42% |
icons/carousel-parent.png | 6.15KB | 2.96KB | ▼ 51.87% |
icons/admin-video-icon.png | 2.92KB | 1.13KB | ▼ 61.23% |