Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.40MB] [CPU: ▲1.39ms] Passed 4 tests
A check of server-side resources used by WP Gravity Forms FreshDesk Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 48.24 ▲7.71 |
Dashboard /wp-admin | 3.75 ▲0.45 | 53.60 ▲5.52 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 45.87 ▼0.71 |
Add New Post /wp-admin/post-new.php | 6.27 ▲0.38 | 81.61 ▼6.96 |
Media Library /wp-admin/upload.php | 3.60 ▲0.37 | 40.92 ▲8.21 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_vxg_freshdesk_log |
wp_vxg_freshdesk |
wp_vxg_freshdesk_accounts |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
vxg_freshdesk_pro_version |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Gravity Forms FreshDesk Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲79 | 14.33 ▲0.00 | 1.81 ▲0.22 | 44.12 ▲4.60 |
Dashboard /wp-admin | 2,217 ▲37 | 5.53 ▼0.12 | 84.35 ▼5.34 | 38.90 ▼2.98 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.01 ▲0.00 | 33.85 ▼1.35 | 34.46 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 23.02 ▲0.16 | 682.11 ▲23.96 | 70.59 ▲21.20 |
Media Library /wp-admin/upload.php | 1,428 ▲25 | 4.17 ▼0.01 | 96.21 ▼2.11 | 44.03 ▼0.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_vxg_freshdesk
- wp_vxg_freshdesk_log
- wp_vxg_freshdesk_accounts
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- vxg_freshdesk_pro_version
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 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
5 plugin tags: support, freshdesk extension, tickets, gravity forms, freshdesk
gf-freshdesk/gf-freshdesk.php 92% from 13 tests
The main PHP file in "WP Gravity Forms FreshDesk Plugin" ver. 1.3.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 detected6,889 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 772 | 909 | 6,883 |
JavaScript | 2 | 1 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 117)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 118.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 367.00 |
Average method complexity | 6.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 117.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 | 166 | |
▷ Static methods | 3 | 1.81% |
▷ Public methods | 156 | 93.98% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 6.02% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
24 PNG files occupy 0.21MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/premium/export-entries.png | 11.42KB | 11.33KB | ▼ 0.77% |
images/deleted.png | 0.48KB | 0.33KB | ▼ 31.03% |
images/active1.png | 0.21KB | 0.18KB | ▼ 16.89% |
images/premium/browsing-history.png | 22.90KB | 8.62KB | ▼ 62.34% |
images/freshdesk-crm-logo.png | 26.57KB | 26.56KB | 0.01% |