Benchmarks
Plugin footprint 83% 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.00MB] [CPU: ▼1.53ms] Passed 4 tests
An overview of server-side resources used by 3-D Secure Payment Gateway by CardinalCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.14 ▼1.97 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.71 ▼3.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.84 ▲0.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.09 ▼1.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.99 ▲5.92 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for 3-D Secure Payment Gateway by CardinalCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.21 ▼1.17 | 2.03 ▼0.03 | 55.94 ▲11.62 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.95 | 119.36 ▲0.41 | 46.39 ▲1.64 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▼0.01 | 36.50 ▲1.26 | 34.78 ▼3.33 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.06 ▼0.12 | 711.14 ▲68.85 | 60.89 ▲3.62 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.18 ▼0.11 | 109.48 ▲6.14 | 49.13 ▲5.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: 3ds, sca, payment, authentication, psd2
cardinalcommerce-oneconnect/cardinalcommerce-oneconnect.php Passed 13 tests
This is the main PHP file of "3-D Secure Payment Gateway by CardinalCommerce" version 1.2.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
104 characters long description:
Module for processing payments with CardinalCommerce and optional Cardinal Consumer Authentication (CCA)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,048 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 113 | 66 | 970 |
JavaScript | 1 | 11 | 0 | 78 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 4 | 11.43% |
▷ Public methods | 29 | 82.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.14% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.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
There were not PNG files found in your plugin