Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.55ms] Passed 4 tests
This is a short check of server-side resources used by Contact Form 7 - Freshsales CRM
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.06 | 42.33 ▼6.85 |
Dashboard /wp-admin | 3.41 ▲0.07 | 48.91 ▼3.71 |
Posts /wp-admin/edit.php | 3.53 ▲0.13 | 49.09 ▼2.83 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.07 | 83.46 ▼8.80 |
Media Library /wp-admin/upload.php | 3.34 ▲0.07 | 40.83 ▲1.98 |
Configuration /wp-admin/admin.php?page=cf7_fs_go_configuration | 3.30 | 32.73 |
Integration /wp-admin/admin.php?page=cf7_fs_go_integration | 3.31 | 33.60 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
cf7_fs_go_modules |
Browser metrics Passed 4 tests
A check of browser resources used by Contact Form 7 - Freshsales CRM
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.35 ▼0.00 | 1.65 ▼0.27 | 43.61 ▲0.28 |
Dashboard /wp-admin | 2,222 ▲42 | 5.58 ▼0.09 | 97.19 ▲5.07 | 42.23 ▼0.07 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.99 ▲0.01 | 36.24 ▼1.45 | 32.57 ▼9.22 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.13 ▼0.06 | 673.34 ▲42.40 | 55.52 ▼3.32 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.16 ▲0.05 | 109.96 ▼6.92 | 47.94 ▲1.05 |
Configuration /wp-admin/admin.php?page=cf7_fs_go_configuration | 838 | 2.02 | 22.95 | 26.37 |
Integration /wp-admin/admin.php?page=cf7_fs_go_integration | 835 | 2.00 | 22.33 | 27.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
The following issues need your attention
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/connect-cf-7-freshsales-crm/uninstall.php
- > /wp-content/plugins/connect-cf-7-freshsales-crm/includes/functions.php
- > /wp-content/plugins/connect-cf-7-freshsales-crm/cf7-freshsales.php
- > /wp-content/plugins/connect-cf-7-freshsales-crm/includes/class-freshsales.php
- > /wp-content/plugins/connect-cf-7-freshsales-crm/includes/admin/admin.php
- > /wp-content/plugins/connect-cf-7-freshsales-crm/includes/includes.php
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 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #1 in connect-cf-7-freshsales-crm/assets to your readme.txt
connect-cf-7-freshsales-crm/cf7-freshsales.php 85% from 13 tests
The principal PHP file in "Contact Form 7 - Freshsales CRM" v. 1.1.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 221 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("connect-cf-7-freshsales-crm.php" instead of "cf7-freshsales.php")
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin433 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 77 | 45 | 433 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
No PNG files were detected