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.03MB] [CPU: ▼6.93ms] Passed 4 tests
Server-side resources used by Powerful Addons for Visual Composer - Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.08 ▼3.76 |
Dashboard /wp-admin | 3.33 ▲0.03 | 42.80 ▼6.63 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.00 ▼0.69 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.26 ▼16.64 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.75 ▲1.39 |
Server storage [IO: ▲1.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Powerful Addons for Visual Composer - Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲87 | 13.34 ▼0.97 | 1.70 ▼0.16 | 43.98 ▼1.72 |
Dashboard /wp-admin | 2,225 ▲37 | 5.77 ▼0.13 | 97.13 ▼8.19 | 42.12 ▼4.36 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.04 ▲0.01 | 36.06 ▲0.04 | 35.84 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,536 ▼0 | 17.67 ▼5.40 | 674.14 ▲16.89 | 61.45 ▲7.69 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.21 ▲0.05 | 98.07 ▼4.31 | 42.35 ▼0.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/powerful-addons-for-visual-composer-lite/public/powerful-vc-admin.php:16
- > PHP Fatal error
Uncaught Error: Class 'Powerful_VC_Helper' not found in wp-content/plugins/powerful-addons-for-visual-composer-lite/public/powerful-vc-general.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: visual composer addon, visual editor, drag-and-drop, visual composer, visual builder
powerful-addons-for-visual-composer-lite/powerful-visualcomposer-lite.php 77% from 13 tests
The main PHP file in "Powerful Addons for Visual Composer - Lite" ver. 1.2.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:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 192 characters long)
- 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
- Main file name: It is recommended to name the main PHP file as the plugin slug ("powerful-addons-for-visual-composer-lite.php" instead of "powerful-visualcomposer-lite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,202 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 186 | 423 | 574 |
CSS | 1 | 37 | 10 | 307 |
JavaScript | 9 | 53 | 53 | 169 |
JSON | 5 | 0 | 0 | 95 |
Markdown | 1 | 23 | 0 | 56 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 7.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 2 | 33.33% |
Methods | 32 | |
▷ Static methods | 19 | 59.38% |
▷ Public methods | 30 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.25% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
3 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
addons/powerfulSeparator/powerfulSeparator/public/preview-powerful-separator.png | 34.03KB | 13.36KB | ▼ 60.74% |
addons/powerfulSeparator/powerfulSeparator/public/thumbnail-powerful-separator.png | 8.24KB | 4.58KB | ▼ 44.39% |
addons/ribbon/ribbon/public/preview-ribbon-element.png | 35.05KB | 13.38KB | ▼ 61.83% |