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.00MB] [CPU: ▼6.62ms] Passed 4 tests
Server-side resources used by IT Consulting Addons for WPBakery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.35 ▼2.12 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.52 ▼2.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.11 ▼4.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.74 ▼17.52 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.58 ▲1.38 |
Server storage [IO: ▲3.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
IT Consulting Addons for WPBakery: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.17 | 1.76 ▼0.51 | 45.42 ▲0.44 |
Dashboard /wp-admin | 2,209 ▲21 | 5.84 ▲0.95 | 101.58 ▼2.58 | 41.00 ▼3.24 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▼0.00 | 34.74 ▼9.91 | 35.09 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.12 ▲0.21 | 650.19 ▲0.71 | 56.76 ▲6.34 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.15 ▼0.00 | 102.24 ▲1.70 | 45.31 ▲0.65 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% 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 0% 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 items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/it-consulting-addons-wpbakery/inc/helper.php
- 20× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/service.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/heading.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/testimonial-3.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/service-2.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/pricing.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/slider.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/testimonial.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/testimonial-2.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/team.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/it-consulting-addons-wpbakery/shortcodes/call-to-action-2.php:2
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
it-consulting-addons-wpbakery/it-consulting-addons-wpbakery.php 92% from 13 tests
Analyzing the main PHP file in "IT Consulting Addons for WPBakery" version 1.0.0
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; 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 considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected14,897 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 84 | 172 | 8,516 |
SVG | 2 | 1 | 3 | 3,121 |
PHP | 22 | 309 | 71 | 2,257 |
JavaScript | 9 | 146 | 142 | 1,003 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
17 PNG files occupy 1.04MB with 0.56MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/effect-1.png | 33.13KB | 11.69KB | ▼ 64.71% |
assets/images/quote2.png | 2.69KB | 2.07KB | ▼ 23.20% |
assets/images/shape-2.png | 11.41KB | 5.00KB | ▼ 56.14% |
assets/images/shape3.png | 3.02KB | 1.33KB | ▼ 56.04% |
assets/images/contact-here.png | 573.84KB | 168.06KB | ▼ 70.71% |