Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Error in wp-content/plugins/swiperevert-columns-on-mobile-for-wpbakery-builder/swipe-on-mobile.php+31
Uncaught Error: Call to undefined function vc_add_param() in wp-content/plugins/swiperevert-columns-on-mobile-for-wpbakery-builder/swipe-on-mobile.php:31
Stack trace:
#0 wp-admin/includes/plugin.php(2318): include_once()
#1 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.70ms] Passed 4 tests
A check of server-side resources used by Swipe/revert columns on mobile for WPBakery Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.88 ▲0.02 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.97 ▼4.34 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.89 ▼7.77 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.08 ▼14.71 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.21 ▲1.73 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Swipe/revert columns on mobile for WPBakery Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.30 ▼1.07 | 1.79 ▼0.13 | 42.20 ▼2.74 |
Dashboard /wp-admin | 2,203 ▲15 | 5.78 ▲0.90 | 100.85 ▼5.94 | 38.19 ▼5.90 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.02 | 41.95 ▲3.37 | 38.78 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 22.97 ▼0.47 | 620.37 ▼62.43 | 48.59 ▼5.36 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.09 | 93.93 ▼19.42 | 43.01 ▼5.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/swiperevert-columns-on-mobile-for-wpbakery-builder/swipe-on-mobile.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (How to use plugin) image missing
swiperevert-columns-on-mobile-for-wpbakery-builder/swipe-on-mobile.php 92% from 13 tests
The main file in "Swipe/revert columns on mobile for WPBakery Builder" v. 1.0 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: The principal plugin file should be the same as the plugin slug ("swiperevert-columns-on-mobile-for-wpbakery-builder.php" instead of "swipe-on-mobile.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
There were no executable files found in this plugin347 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 80 | 0 | 320 |
PHP | 1 | 6 | 12 | 21 |
CSS | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
No PNG files were detected