Benchmarks
Plugin footprint 65% 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.69MB] [CPU: ▼6.88ms] Passed 4 tests
An overview of server-side resources used by WP Insightly for Contact Form 7, WPForms, Elementor, Formidable and Ninja Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.33 | 38.66 ▼4.54 |
Dashboard /wp-admin | 4.18 ▲0.83 | 50.89 ▼13.51 |
Posts /wp-admin/edit.php | 4.23 ▲0.87 | 53.92 ▲3.51 |
Add New Post /wp-admin/post-new.php | 6.70 ▲0.81 | 89.45 ▼12.97 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 45.80 ▲9.79 |
Server storage [IO: ▲1.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 85 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxcf_insightly_accounts |
wp_vxcf_insightly |
wp_vxcf_insightly_log |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
vxcf_insightly_version |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Insightly for Contact Form 7, WPForms, Elementor, Formidable and Ninja Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.48 ▲0.10 | 1.78 ▲0.02 | 40.69 ▲0.88 |
Dashboard /wp-admin | 2,222 ▲37 | 4.81 ▼0.25 | 102.69 ▼9.82 | 40.39 ▼4.65 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.99 ▼0.01 | 39.05 ▼2.05 | 35.28 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,527 ▲1 | 17.52 ▼5.54 | 680.21 ▲37.60 | 64.07 ▲9.45 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.19 ▲0.03 | 108.14 ▲10.40 | 47.96 ▲4.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_vxcf_insightly
- wp_vxcf_insightly_accounts
- wp_vxcf_insightly_log
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- vxcf_insightly_version
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: insightly, insightly form integration, contact form 7 insightly, insightly forms, ninja forms insightly
cf7-insightly/cf7-insightly.php 85% from 13 tests
The main PHP file in "WP Insightly for Contact Form 7, WPForms, Elementor, Formidable and Ninja Forms" ver. 1.1.3 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:
- 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
- Description: Please keep the plugin description shorter than 140 characters (currently 246 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin8,451 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 871 | 817 | 7,534 |
SVG | 1 | 0 | 0 | 640 |
CSS | 5 | 23 | 10 | 271 |
JavaScript | 3 | 1 | 20 | 6 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Method cyclomatic complexity should be reduced to less than 100 (currently 123)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 163.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 480.00 |
Average method complexity | 6.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 123.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 | 194 | |
▷ Static methods | 6 | 3.09% |
▷ Public methods | 188 | 96.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 3.09% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
49 PNG files occupy 0.22MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/premium/marketing-data.png | 6.02KB | 5.86KB | ▼ 2.66% |
images/premium/user-assignment.png | 5.96KB | 6.00KB | 0.00% |
css/images/ui-bg_diagonals-small_50_93c3cd_40x40.png | 0.33KB | 0.10KB | ▼ 69.67% |
images/updated.png | 1.53KB | 0.50KB | ▼ 67.37% |
images/premium/notification.png | 6.81KB | 7.12KB | 0.00% |