Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.15ms] Passed 4 tests
Analyzing server-side resources used by Swiper - 3D Coverflow Effect for visual composer [WPBakery Page Builder]
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.08 ▼10.01 |
Dashboard /wp-admin | 3.31 ▲0.01 | 54.61 ▲1.09 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 55.44 ▲0.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.54 ▼8.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.71 ▲2.42 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Swiper - 3D Coverflow Effect for visual composer [WPBakery Page Builder]
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.29 ▼0.12 | 1.65 ▼0.77 | 42.36 ▼1.72 |
Dashboard /wp-admin | 2,212 ▲38 | 5.54 ▼0.06 | 88.29 ▲2.16 | 39.56 ▲0.06 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.00 ▼0.01 | 37.40 ▼2.61 | 38.64 ▲1.23 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.10 ▼0.67 | 659.29 ▼56.13 | 54.68 ▲1.31 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.23 ▼0.01 | 94.26 ▼25.93 | 48.62 ▲1.26 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/swiper-for-visual-composer/render/sfvc_swiper.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_post_thumbnail() in wp-content/plugins/swiper-for-visual-composer/render/includes/coverflow-effect-3d.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/swiper-for-visual-composer/index.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% 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:
- Donate link: Invalid URI ("paypal.me/xblue55")
swiper-for-visual-composer/index.php 92% from 13 tests
The main PHP file in "Swiper - 3D Coverflow Effect for visual composer [WPBakery Page Builder]" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("swiper-for-visual-composer.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected304 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 11 | 14 | 197 |
CSS | 2 | 11 | 11 | 87 |
Markdown | 1 | 9 | 0 | 19 |
JavaScript | 1 | 0 | 12 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 1 | 20.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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 1.00MB with 0.68MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/swiper.png | 20.00KB | 5.95KB | ▼ 70.26% |
screenshot.png | 1,002.91KB | 332.15KB | ▼ 66.88% |