Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/eway-crm-extension-for-contact-form-7/CF7EWFunctions.php+120
file_get_contents(wp-content/plugins/eway-crm-extension-for-contact-form-7\CF7EWLog.txt): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.32MB] [CPU: ▼1.69ms] Passed 4 tests
An overview of server-side resources used by eWay-CRM Extension for Contact Form 7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 42.26 ▼1.42 |
Dashboard /wp-admin | 3.65 ▲0.35 | 51.98 ▼0.79 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 48.58 ▼0.40 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 91.07 ▼4.15 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 37.70 ▲2.07 |
eWay-CRM CF7 Extension /wp-admin/options-general.php?page=manage_eway_crm_cf7_extension | 3.56 | 50.23 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/eway-crm-extension-for-contact-form-7/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/eway-crm-extension-for-contact-form-7\\CF7EWLog.txt"
Filesystem: 10 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_eway_cf7_settings |
wp_eway_cf7_fields |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for eWay-CRM Extension for Contact Form 7
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.10 | 1.73 ▼0.13 | 44.99 ▼0.63 |
Dashboard /wp-admin | 2,210 ▲25 | 5.79 ▲0.76 | 98.61 ▼21.16 | 38.42 ▼6.90 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▲0.01 | 34.80 ▼3.21 | 32.44 ▼4.64 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 18.03 ▼4.81 | 606.02 ▼65.77 | 55.31 ▼2.89 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.17 ▼0.01 | 100.81 ▼1.73 | 45.27 ▼2.16 |
eWay-CRM CF7 Extension /wp-admin/options-general.php?page=manage_eway_crm_cf7_extension | 896 | 2.02 | 24.69 | 30.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/eway-crm-extension-for-contact-form-7/index.php+103
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=manage_eway_crm_cf7_extension
- > Notice in wp-content/plugins/eway-crm-extension-for-contact-form-7/CF7EWAdminPage.php+303
Trying to access array offset on value of type null
- > GET request to /wp-admin/options-general.php?page=manage_eway_crm_cf7_extension
- > Notice in wp-content/plugins/eway-crm-extension-for-contact-form-7/CF7EWAdminPage.php+288
Undefined index: url
- > GET request to /wp-admin/options-general.php?page=manage_eway_crm_cf7_extension
- > Notice in wp-content/plugins/eway-crm-extension-for-contact-form-7/CF7EWAdminPage.php+293
Undefined index: eway_user
- > GET request to /wp-admin/options-general.php?page=manage_eway_crm_cf7_extension
- > Notice in wp-content/plugins/eway-crm-extension-for-contact-form-7/CF7EWAdminPage.php+298
Undefined index: eway_clientid
- > GET request to /wp-admin/options-general.php?page=manage_eway_crm_cf7_extension
- > Notice in wp-content/plugins/eway-crm-extension-for-contact-form-7/CF7EWAdminPage.php+303
Undefined index: eway_clientsecret
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
No tags were found
eway-crm-extension-for-contact-form-7/index.php 92% from 13 tests
The entry point to "eWay-CRM Extension for Contact Form 7" version 1.1.20 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("eway-crm-extension-for-contact-form-7.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,833 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 472 | 1,067 | 1,789 |
SVG | 2 | 0 | 1 | 44 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 53.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 158.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 174 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 155 | 89.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 10.92% |
Functions | 18 | |
▷ Named functions | 17 | 94.44% |
▷ Anonymous functions | 1 | 5.56% |
Constants | 25 | |
▷ Global constants | 25 | 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
PNG images were not found in this plugin