Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.67MB] [CPU: ▲3.11ms] Passed 4 tests
An overview of server-side resources used by WP Dynamics CRM for Contact Form 7, WPForms, Elementor, Formidable and Ninja Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 41.21 ▼3.49 |
Dashboard /wp-admin | 4.14 ▲0.84 | 61.20 ▲9.39 |
Posts /wp-admin/edit.php | 4.19 ▲0.84 | 57.66 ▲11.73 |
Add New Post /wp-admin/post-new.php | 6.66 ▲0.78 | 90.59 ▼1.26 |
Media Library /wp-admin/upload.php | 4.00 ▲0.77 | 43.93 ▲7.78 |
Server storage [IO: ▲1.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 71 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxcf_dynamics_log |
wp_vxcf_dynamics |
wp_vxcf_dynamics_accounts |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
vxcf_dynamics_version |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Dynamics CRM for Contact Form 7, WPForms, Elementor, Formidable and Ninja Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.31 ▼1.30 | 1.91 ▼0.55 | 39.60 ▼4.19 |
Dashboard /wp-admin | 2,222 ▲34 | 4.81 ▼0.05 | 108.46 ▼14.35 | 40.17 ▼3.62 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 1.97 ▼0.04 | 39.46 ▲0.09 | 36.75 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 23.18 ▲5.68 | 654.22 ▼48.53 | 68.33 ▲8.10 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.24 ▼0.00 | 105.45 ▼4.89 | 45.35 ▲2.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/cf7-dynamics-crm/uninstall.php+12
Undefined property: vxcf_dynamics_install::$id
- Zombie tables were found after uninstall: 3 tables
- wp_vxcf_dynamics_accounts
- wp_vxcf_dynamics_log
- wp_vxcf_dynamics
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- vxcf_dynamics_version
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
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)
There were no browser issues found
Optimizations
Plugin configuration 93% 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
4 plugin tags: contact form 7 dynamics crm, wpforms dynamics crm integration, elementor forms dynamics crm, ninja forms dynamics crm
cf7-dynamics-crm/cf7-dynamics-crm.php 85% from 13 tests
The principal PHP file in "WP Dynamics CRM for Contact Form 7, WPForms, Elementor, Formidable and Ninja Forms" v. 1.1.4 is loaded by WordPress automatically on each request
Please take the time 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
- Description: Please keep the plugin description shorter than 140 characters (currently 235 characters long)
Code Analysis 97% from 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
No dangerous file extensions were detected8,063 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 748 | 800 | 7,146 |
SVG | 1 | 0 | 0 | 640 |
CSS | 5 | 23 | 10 | 271 |
JavaScript | 3 | 1 | 20 | 6 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 115)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 160.43 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 406.00 |
Average method complexity | 6.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 115.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 187 | |
▷ Static methods | 33 | 17.65% |
▷ Public methods | 182 | 97.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 2.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
35 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_diagonals-small_50_93c3cd_40x40.png | 0.33KB | 0.10KB | ▼ 69.67% |
images/failed.png | 1.54KB | 0.48KB | ▼ 68.88% |
images/Android.png | 0.56KB | 0.62KB | 0.00% |
css/images/ui-icons_ffeb33_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
images/filtered.png | 1.47KB | 0.48KB | ▼ 67.40% |