Benchmarks
Plugin footprint 83% 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.12MB] [CPU: ▼5.59ms] Passed 4 tests
This is a short check of server-side resources used by Integration of Contact form 7 to mountstride CRM
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.18 | 46.52 ▼0.89 |
Dashboard /wp-admin | 3.73 ▲0.16 | 56.42 ▼6.51 |
Posts /wp-admin/edit.php | 3.78 ▲0.10 | 54.43 ▼1.44 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.12 | 95.37 ▼13.52 |
Media Library /wp-admin/upload.php | 3.59 ▲0.10 | 42.24 ▲2.91 |
CF7 to mountstride /wp-admin/admin.php?page=cf72mut-api-settings | 3.60 | 41.58 |
Fields Mapping /wp-admin/admin.php?page=cf72mut-mapping | 3.81 | 40.77 |
Server storage [IO: ▲1.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Integration of Contact form 7 to mountstride CRM
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.38 ▲0.19 | 1.98 ▲0.01 | 46.93 ▲2.34 |
Dashboard /wp-admin | 2,227 ▲50 | 5.73 ▲0.10 | 89.22 ▼11.85 | 38.58 ▼5.74 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.04 ▲0.04 | 36.98 ▼0.81 | 33.34 ▼7.18 |
Add New Post /wp-admin/post-new.php | 1,576 ▲36 | 18.38 ▼0.11 | 616.94 ▼31.41 | 55.08 ▼6.38 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.22 ▼0.02 | 103.58 ▼14.20 | 43.05 ▼3.59 |
CF7 to mountstride /wp-admin/admin.php?page=cf72mut-api-settings | 772 | 1.71 | 29.72 | 23.47 |
Fields Mapping /wp-admin/admin.php?page=cf72mut-mapping | 801 | 1.69 | 27.64 | 25.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 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 50% from 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
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cf7-mountstride-crm-integration/admin/partials/mappings.php
- > /wp-content/plugins/cf7-mountstride-crm-integration/admin/partials/settings.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf72mut-mapping
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/cf7-mountstride-crm-integration/admin/js/cf7-to-mountstride-admin.js?ver=1.0.0:178:32)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cf72mut-mapping
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
8 plugin tags: crm, wordpress crm, small business crm, wordpress lead management, leads to crm...
cf7-mountstride-crm-integration/cf7-to-mountstride.php 77% from 13 tests
The main file in "Integration of Contact form 7 to mountstride CRM" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to 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
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("cf7-mountstride-crm-integration.php" instead of "cf7-to-mountstride.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 288 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin5,713 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 2 | 2,754 |
CSS | 4 | 60 | 72 | 1,488 |
PHP | 14 | 303 | 632 | 1,206 |
JavaScript | 2 | 66 | 66 | 265 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.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 | 31 | |
▷ Static methods | 2 | 6.45% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected