Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▲0.56ms] Passed 4 tests
An overview of server-side resources used by Ovic Responsive WPBakery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 37.98 ▼2.44 |
Dashboard /wp-admin | 3.47 ▲0.17 | 46.21 ▲1.64 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 48.82 ▲3.44 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 95.13 ▲0.83 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 36.70 ▲2.20 |
Ovic WPBakery /wp-admin/admin.php?page=ovic-vc-addon | 3.36 | 32.70 |
Ovic Plugins /wp-admin/admin.php?page=ovic-plugins | 3.36 | 29.32 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Ovic Responsive WPBakery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.22 ▼1.15 | 1.53 ▼0.25 | 40.11 ▼2.90 |
Dashboard /wp-admin | 2,234 ▲46 | 5.89 ▲0.02 | 107.27 ▼11.50 | 65.92 ▲23.64 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 2.01 ▼0.03 | 39.66 ▲3.22 | 34.38 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,696 ▲163 | 21.97 ▲0.72 | 617.79 ▼91.71 | 44.45 ▼13.77 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.22 ▲0.01 | 98.28 ▼15.51 | 80.84 ▲36.06 |
Ovic WPBakery /wp-admin/admin.php?page=ovic-vc-addon | 962 | 1.85 | 26.60 | 30.52 |
Ovic Plugins /wp-admin/admin.php?page=ovic-plugins | 828 | 2.18 | 22.33 | 26.15 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- 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 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/ovic-vc-addon/includes/shortcode.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ovic-vc-addon/includes/params.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ovic-vc-addon/includes/visual-composer.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2 in ovic-vc-addon/assets to your readme.txt
ovic-vc-addon/addon.php 85% from 13 tests
The main PHP file in "Ovic Responsive WPBakery" ver. 1.2.7 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ovic-vc-addon.php" instead of "addon.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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin3,940 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 177 | 359 | 2,990 |
CSS | 4 | 106 | 40 | 624 |
JavaScript | 5 | 60 | 9 | 326 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 50.12 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 100 | |
▷ Static methods | 23 | 23.00% |
▷ Public methods | 99 | 99.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/backend/css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/icon-menu.png | 1.11KB | 0.37KB | ▼ 66.43% |
assets/backend/images/icon-menu.png | 1.11KB | 0.37KB | ▼ 66.43% |
assets/backend/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |