Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▼0.16MB] [CPU: ▼18.50ms] Passed 4 tests
A check of server-side resources used by Billplz Addon for Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 37.82 ▼1.33 |
Dashboard /wp-admin | 3.22 ▼0.12 | 29.88 ▼29.12 |
Posts /wp-admin/edit.php | 3.28 ▼0.07 | 34.82 ▼15.09 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.41 | 67.48 ▼25.44 |
Media Library /wp-admin/upload.php | 3.23 ▼0.00 | 30.95 ▼4.36 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_bcf7_payment |
New WordPress options |
---|
widget_recent-posts |
recovery_mode_email_last_sent |
bcf7_general_settings |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Billplz Addon for Contact Form 7: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 811 ▼1,924 | 12.38 ▼2.20 | 0.95 ▼0.76 | 16.11 ▼27.27 |
Dashboard /wp-admin | 504 ▼1,684 | 1.38 ▼3.52 | 12.93 ▼98.23 | 18.28 ▼27.45 |
Posts /wp-admin/edit.php | 502 ▼1,587 | 1.35 ▼0.68 | 6.45 ▼29.47 | 16.95 ▼20.75 |
Add New Post /wp-admin/post-new.php | 453 ▼1,061 | 1.73 ▼15.78 | 18.58 ▼645.73 | 7.11 ▼45.70 |
Media Library /wp-admin/upload.php | 512 ▼876 | 1.73 ▼2.54 | 22.97 ▼76.62 | 20.10 ▼23.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_bcf7_payment
- The uninstall procedure has failed, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- widget_recent-comments
- db_upgraded
- bcf7_general_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 take a closer look at the following
- 6× PHP files trigger server errors when accessed directly:
- > PHP Warning
require_once(BCF7_PLUGIN_PATHincludes/lib/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/billplz-for-contact-form-7/includes/admin/class-billplz-cf7-payment-list-table.php on line 3
- > PHP Warning
Use of undefined constant BCF7_PLUGIN_PATH - assumed 'BCF7_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/billplz-for-contact-form-7/includes/admin/class-billplz-cf7-payment-list-table.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'BCF7_PLUGIN_PATHincludes/lib/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/billplz-for-contact-form-7/includes/admin/class-billplz-cf7-payment-list-table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/billplz-for-contact-form-7/includes/views/general-settings-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/billplz-for-contact-form-7/includes/views/api-settings-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/billplz-for-contact-form-7/includes/views/page-callback.php:2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: e-commerce, payment-forms, payment-gateway, subscription, product
billplz-for-contact-form-7/billplz-for-cf7.php 77% from 13 tests
The main PHP script in "Billplz Addon for Contact Form 7" version 1.0.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("billplz-for-contact-form-7.php" instead of "billplz-for-cf7.php")
- 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
- 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 considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,626 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 362 | 622 | 1,626 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 18.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 14 | 13.86% |
▷ Public methods | 72 | 71.29% |
▷ Protected methods | 22 | 21.78% |
▷ Private methods | 7 | 6.93% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin