Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.56ms] Passed 4 tests
Analyzing server-side resources used by Marketing 360® Payments for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.20 ▼2.42 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.73 ▲2.73 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 45.43 ▲2.25 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 95.79 ▲8.75 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.33 ▼0.30 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Marketing 360® Payments for WooCommerce: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.25 ▼1.30 | 1.88 ▲0.08 | 44.18 ▲2.98 |
Dashboard /wp-admin | 2,217 ▲32 | 4.85 ▼0.08 | 97.30 ▼14.80 | 36.69 ▼5.39 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.02 | 35.48 ▼1.16 | 34.53 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,522 ▼7 | 17.52 ▼0.93 | 598.80 ▼7.90 | 51.69 ▲8.17 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.25 ▲0.09 | 96.25 ▲2.52 | 41.59 ▲1.08 |
Uninstaller [IO: ▲0.49MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attentionThis plugin did not uninstall successfully, leaving 7 options in the database
- Uninstall procedure validation failed for this plugin
- > Error in wp-content/plugins/marketing-360-payments-for-woocommerce/uninstall.php+14
Uncaught Error: Class 'Marketing_360_Payments' not found in wp-content/plugins/marketing-360-payments-for-woocommerce/uninstall.php:14
Stack trace:
#0 wp-admin/includes/plugin.php(1245): include_once()
#1 wp-admin/includes/plugin.php(960): uninstall_plugin() - This plugin has failed uninstalling correctly, leaving 51 files (0.49MB) in the plugin directory
- (new file) apple-developer-merchantid-domain-association
- (new file) assets/images/discover.svg
- (new file) assets/images/credit-card.svg
- (new file) assets/images/visa.svg
- (new file) assets/images/diners.svg
- (new file) assets/images/jcb.svg
- (new file) assets/images/amex.svg
- (new file) assets/css/stripe-styles.css
- (new file) assets/images/mastercard.svg
- (new file) assets/css/admin.css
- ...
- recovery_mode_email_last_sent
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/marketing-360-payments-for-woocommerce/marketing360-login-page.php
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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: payment, ecommerce, payment gateway, woocommerce
marketing-360-payments-for-woocommerce/woocommerce-gateway-marketing-360-payments.php 85% from 13 tests
The primary PHP file in "Marketing 360® Payments for WooCommerce" version 1.0.4 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("marketing-360-payments-for-woocommerce.php" instead of "woocommerce-gateway-marketing-360-payments.php")
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin7,309 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 1,574 | 2,946 | 6,058 |
JavaScript | 6 | 230 | 300 | 1,080 |
CSS | 2 | 1 | 0 | 164 |
SVG | 7 | 0 | 0 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 46.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 2 | 8.70% |
▷ Concrete classes | 21 | 91.30% |
▷ Final classes | 0 | 0.00% |
Methods | 335 | |
▷ Static methods | 56 | 16.72% |
▷ Public methods | 310 | 92.54% |
▷ Protected methods | 15 | 4.48% |
▷ Private methods | 10 | 2.99% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 27 | |
▷ Global constants | 13 | 48.15% |
▷ Class constants | 14 | 51.85% |
▷ Public constants | 14 | 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
PNG images were not found in this plugin