Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.71MB] [CPU: ▼1.41ms] Passed 4 tests
This is a short check of server-side resources used by W3SCloud Contact Form 7 to Bigin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 36.96 ▼2.30 |
Dashboard /wp-admin | 4.08 ▲0.78 | 48.26 ▼3.57 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 53.76 ▼0.29 |
Add New Post /wp-admin/post-new.php | 6.73 ▲0.84 | 101.96 ▲0.52 |
Media Library /wp-admin/upload.php | 4.00 ▲0.78 | 42.08 ▲9.52 |
Add New /wp-admin/post-new.php?post_type=w3sc_bigin | 4.37 | 54.45 |
Bigin Auth Settings /wp-admin/edit.php?post_type=w3sc_bigin&page=w3sc-cf7-bigin | 3.97 | 39.35 |
All Integrations /wp-admin/edit.php?post_type=w3sc_bigin | 4.05 | 38.25 |
Server storage [IO: ▲3.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 377 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
w3sc_bigin_version |
w3sc_bigin_installed |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
_bigin_auth_infos |
theysaidso_admin_options |
Browser metrics Passed 4 tests
W3SCloud Contact Form 7 to Bigin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.24 ▼1.06 | 1.66 ▼0.13 | 43.04 ▼2.84 |
Dashboard /wp-admin | 2,248 ▲57 | 4.93 ▲0.03 | 108.30 ▲4.13 | 41.01 ▼1.26 |
Posts /wp-admin/edit.php | 2,131 ▲39 | 2.07 ▲0.01 | 41.75 ▲1.65 | 35.09 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,556 ▲14 | 18.27 ▲0.02 | 614.16 ▲8.14 | 58.56 ▲4.59 |
Media Library /wp-admin/upload.php | 1,433 ▲42 | 4.32 ▲0.12 | 99.11 ▼1.34 | 41.83 ▼3.33 |
Add New /wp-admin/post-new.php?post_type=w3sc_bigin | 1,716 | 2.71 | 52.43 | 52.11 |
Bigin Auth Settings /wp-admin/edit.php?post_type=w3sc_bigin&page=w3sc-cf7-bigin | 1,006 | 1.87 | 26.01 | 43.49 |
All Integrations /wp-admin/edit.php?post_type=w3sc_bigin | 1,095 | 2.00 | 35.20 | 27.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- db_upgraded
- w3sc_bigin_installed
- can_compress_scripts
- w3sc_bigin_version
- _bigin_auth_infos
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 39× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/types/CMB2_Type_Counter_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/types/CMB2_Type_Title.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/w3scloud-contact-form-7-to-bigin/includes/CMB2-w3sc/includes/CMB2_Field.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (API Client Authentication settings form.), #2 (New Integration page.), #3 (Field Mapping Process for integration.)
w3scloud-contact-form-7-to-bigin/w3sc-cf7-to-bigin.php 77% from 13 tests
Analyzing the main PHP file in "W3SCloud Contact Form 7 to Bigin" version 2.3.0
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("w3scloud-contact-form-7-to-bigin.php" instead of "w3sc-cf7-to-bigin.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
There were no executable files found in this plugin55,195 lines of code in 230 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 67 | 2,303 | 6,552 | 8,051 |
JSON | 2 | 0 | 0 | 6,602 |
CSS | 13 | 258 | 1,193 | 4,592 |
JavaScript | 8 | 364 | 591 | 1,451 |
Sass | 17 | 306 | 29 | 1,411 |
Markdown | 3 | 247 | 0 | 765 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 17.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 78 | |
▷ Abstract classes | 9 | 11.54% |
▷ Concrete classes | 69 | 88.46% |
▷ Final classes | 1 | 1.45% |
Methods | 572 | |
▷ Static methods | 92 | 16.08% |
▷ Public methods | 477 | 83.39% |
▷ Protected methods | 89 | 15.56% |
▷ Private methods | 6 | 1.05% |
Functions | 39 | |
▷ Named functions | 38 | 97.44% |
▷ Anonymous functions | 1 | 2.56% |
Constants | 15 | |
▷ Global constants | 8 | 53.33% |
▷ Class constants | 7 | 46.67% |
▷ Public constants | 7 | 100.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
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/CMB2-w3sc/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/CMB2-w3sc/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
includes/CMB2-w3sc/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/CMB2-w3sc/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
includes/CMB2-w3sc/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |