Benchmarks
Plugin footprint 83% 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.02MB] [CPU: ▼0.93ms] Passed 4 tests
Analyzing server-side resources used by Payment Gateway Authorize.Net CIM for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.42 ▼2.05 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.17 ▼4.58 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.49 ▲1.85 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.23 ▲1.05 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.65 ▲4.08 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Payment Gateway Authorize.Net CIM for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.20 ▼1.43 | 1.65 ▼0.05 | 41.97 ▲2.14 |
Dashboard /wp-admin | 2,209 ▲18 | 4.85 ▼0.03 | 112.60 ▲10.71 | 42.94 ▲0.22 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.97 ▼0.05 | 40.13 ▼0.76 | 34.76 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 23.39 ▲0.20 | 627.53 ▲37.87 | 52.40 ▲1.30 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.18 ▼0.08 | 96.57 ▲1.52 | 42.69 ▼1.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% 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
10 plugin tags: woocommerce authorizenet, customer information manager, payment gateway, woocommerce payment, authorizenet...
authnet-cim-for-woo/woocommerce-cardpay-authnet.php 69% from 13 tests
The main file in "Payment Gateway Authorize.Net CIM for WooCommerce" v. 2.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "2.2.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("authnet-cim-for-woo.php" instead of "woocommerce-cardpay-authnet.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 176 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected2,693 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 272 | 843 | 2,495 |
JavaScript | 2 | 11 | 0 | 155 |
CSS | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 1 | 1.06% |
▷ Public methods | 82 | 87.23% |
▷ Protected methods | 10 | 10.64% |
▷ Private methods | 2 | 2.13% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin