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.05MB] [CPU: ▼4.75ms] Passed 4 tests
A check of server-side resources used by Particles Backgrounds addon for WPBakery Page Builder Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 35.35 ▼0.27 |
Dashboard /wp-admin | 3.36 ▲0.05 | 44.92 ▼3.57 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 44.52 ▼3.42 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.60 ▼11.73 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.42 ▲2.25 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Particles Backgrounds addon for WPBakery Page Builder Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲41 | 13.26 ▼1.03 | 1.69 ▼0.24 | 41.90 ▲3.59 |
Dashboard /wp-admin | 2,218 ▲26 | 5.81 ▲0.86 | 97.99 ▼12.17 | 40.77 ▼3.03 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.04 ▲0.08 | 35.92 ▼3.52 | 39.46 ▲5.75 |
Add New Post /wp-admin/post-new.php | 1,545 ▲25 | 23.35 ▲0.27 | 651.54 ▼29.63 | 48.21 ▼7.94 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.21 ▲0.01 | 98.57 ▼0.95 | 41.22 ▼0.30 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% 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 50% 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/particles-backgrounds-addon-for-wpbakery-page-builder-lite/elements/addons/vc_particles_background_element.php:4
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: wpbakery, page builder
particles-backgrounds-addon-for-wpbakery-page-builder-lite/tba-particles.php 77% from 13 tests
This is the main PHP file of "Particles Backgrounds addon for WPBakery Page Builder Lite" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 170 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("particles-backgrounds-addon-for-wpbakery-page-builder-lite.php" instead of "tba-particles.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,590 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 654 | 178 | 2,745 |
PHP | 4 | 61 | 60 | 602 |
JSON | 1 | 0 | 0 | 116 |
CSS | 2 | 19 | 9 | 71 |
HTML | 1 | 5 | 4 | 39 |
Markdown | 1 | 4 | 0 | 17 |
PHP code Passed 2 tests
A brief analysis 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 | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 11 | 100.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 images were found in this plugin