Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.20ms] Passed 4 tests
A check of server-side resources used by Profile Card for WPBakery Page Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.63 ▼1.38 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.30 ▼4.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.41 ▲1.59 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.77 ▲0.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.49 ▼3.01 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Profile Card for WPBakery Page Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.18 ▼1.47 | 1.73 ▼0.06 | 44.06 ▼4.77 |
Dashboard /wp-admin | 2,206 ▲15 | 4.85 ▼0.05 | 107.11 ▲7.54 | 41.47 ▲2.91 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.03 | 39.88 ▼2.33 | 35.33 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,520 ▲6 | 23.36 ▲5.86 | 634.05 ▼82.97 | 57.32 ▼4.60 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▼0.02 | 95.84 ▼12.40 | 45.53 ▼1.92 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/profile-card-for-wpbakery-page-builder/profile-card-visual-composer.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/profile-card-for-wpbakery-page-builder/admin/params/slider/slider-params.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_map() in wp-content/plugins/profile-card-for-wpbakery-page-builder/profile-card/profile-card.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function vc_add_shortcode_param() in wp-content/plugins/profile-card-for-wpbakery-page-builder/admin/params/slider/slider-params.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (profile card backend.), #2 (profile card backend.), #3 (profile card backend.)
profile-card-for-wpbakery-page-builder/profile-card-visual-composer.php 85% from 13 tests
"Profile Card for WPBakery Page Builder" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("profile-card-for-wpbakery-page-builder.php" instead of "profile-card-visual-composer.php")
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,551 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 97 | 28 | 1,243 |
CSS | 3 | 19 | 4 | 710 |
SVG | 1 | 0 | 0 | 565 |
JavaScript | 1 | 11 | 3 | 33 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 9 | |
▷ Named functions | 9 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/profile_card_icon.png | 1.56KB | 0.68KB | ▼ 56.60% |