Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼0.54ms] Passed 4 tests
A check of server-side resources used by Addon Paypal For Contact Form 7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 42.51 ▼0.44 |
Dashboard /wp-admin | 3.58 ▲0.28 | 53.29 ▲2.73 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 57.09 ▲6.61 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 89.52 ▼11.06 |
Media Library /wp-admin/upload.php | 3.50 ▲0.28 | 45.87 ▲10.15 |
Paypal Entries /wp-admin/admin.php?page=apwcf7_paypal_entries | 3.48 | 37.05 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_apwcf7_forms |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Addon Paypal For Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 13.87 ▼0.25 | 9.47 ▲7.54 | 40.20 ▼0.45 |
Dashboard /wp-admin | 2,211 ▲34 | 5.58 ▼0.09 | 84.98 ▼2.09 | 42.69 ▲0.27 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.02 ▲0.07 | 41.67 ▼4.69 | 36.79 ▼1.92 |
Add New Post /wp-admin/post-new.php | 1,551 ▲22 | 17.96 ▼5.81 | 664.91 ▲16.72 | 76.13 ▲17.59 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.22 ▲0.02 | 98.94 ▼12.37 | 45.73 ▼2.40 |
Paypal Entries /wp-admin/admin.php?page=apwcf7_paypal_entries | 888 | 1.69 | 28.65 | 26.01 |
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
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_apwcf7_forms
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% 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 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 fix the following
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addon-paypal-for-contact-form-7/main/resources/apwcf7-language.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addon-paypal-for-contact-form-7/main/backend/apwcf7-cf7-panel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/addon-paypal-for-contact-form-7/paypal-with-contact-form-7.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addon-paypal-for-contact-form-7/main/backend/apwcf7-export-csv.php:133
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addon-paypal-for-contact-form-7/main/resources/apwcf7-createtable.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addon-paypal-for-contact-form-7/main/resources/apwcf7-load-js-css.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addon-paypal-for-contact-form-7/main/resources/apwcf7-installation-require.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addon-paypal-for-contact-form-7/main/backend/apwcf7-payment.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: Contributors not specified
addon-paypal-for-contact-form-7/paypal-with-contact-form-7.php 92% from 13 tests
This is the main PHP file of "Addon Paypal For Contact Form 7" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("addon-paypal-for-contact-form-7.php" instead of "paypal-with-contact-form-7.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
No dangerous file extensions were detected1,702 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 360 | 59 | 1,471 |
CSS | 2 | 8 | 0 | 127 |
JavaScript | 2 | 19 | 5 | 104 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 18.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 81.82% |
▷ Protected methods | 1 | 4.55% |
▷ Private methods | 3 | 13.64% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/plus-circular-button.png | 0.94KB | 0.69KB | ▼ 26.59% |
assets/image/plus-circular-button_1.png | 0.62KB | 0.38KB | ▼ 39.27% |
assets/image/minus.png | 0.61KB | 0.37KB | ▼ 40.19% |
assets/image/minus_1.png | 0.91KB | 0.67KB | ▼ 27.06% |