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.00MB] [CPU: ▼6.45ms] Passed 4 tests
An overview of server-side resources used by Salesmate Integration for Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.00 ▼3.86 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.59 ▼4.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.46 ▼1.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.79 ▼15.77 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.89 ▲0.02 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 13 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_salesmatelogs |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Salesmate Integration for Contact Form 7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.39 ▼1.17 | 1.75 ▼0.65 | 43.62 ▼8.06 |
Dashboard /wp-admin | 2,209 ▲21 | 5.86 ▼0.03 | 101.85 ▲2.43 | 40.83 ▼5.75 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▼0.00 | 38.29 ▲2.51 | 31.44 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,514 ▼22 | 17.68 ▼5.51 | 637.34 ▲40.20 | 58.93 ▼1.20 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.19 ▲0.00 | 96.06 ▼10.67 | 41.48 ▼0.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_salesmatelogs
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cf7-salesmate-integration/templates/settings-footer.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/cf7-salesmate-integration/templates/salesmatelogs.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cf7-salesmate-integration/templates/settings-general.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cf7-salesmate-integration/templates/settings-head.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/cf7-salesmate-integration/templates/mapsalesmatefields.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: crm, best crm, salesmate, salesmate crm, contact form7 addon
cf7-salesmate-integration/cf7-salesmate.php 85% from 13 tests
The main PHP file in "Salesmate Integration for Contact Form 7" ver. 1.7 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- 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-salesmate-integration.php" instead of "cf7-salesmate.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,256 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 214 | 209 | 1,164 |
JavaScript | 1 | 4 | 2 | 78 |
CSS | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 69.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 6.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 3 | 8.57% |
▷ Private methods | 2 | 5.71% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin