Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/concordpay-for-wp-ecommerce/concordpay-for-wp-ecommerce.php+24
require_once(wp-content/plugins/concordpay-for-wp-ecommerce/../wp-e-commerce/wpsc-includes/merchant.class.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.68ms] Passed 4 tests
This is a short check of server-side resources used by ConcordPay Payment Gateway for WP eCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.52 ▼7.70 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.55 ▼2.56 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.52 ▼1.81 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.74 ▼14.63 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.42 ▲4.69 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
ConcordPay Payment Gateway for WP eCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.33 ▼1.43 | 1.67 ▼0.36 | 40.96 ▼9.23 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▼0.06 | 102.32 ▼13.99 | 42.00 ▼3.19 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.02 | 37.05 ▼3.35 | 34.42 ▼4.75 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.17 ▲4.87 | 658.65 ▲14.94 | 52.04 ▼0.28 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▼0.01 | 94.68 ▼13.08 | 41.99 ▼5.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
concordpay-for-wp-ecommerce/concordpay-for-wp-ecommerce.php 92% from 13 tests
The main PHP file in "ConcordPay Payment Gateway for WP eCommerce" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.5" instead of "3.0.0")
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
Good job! No executable or dangerous file extensions detected659 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 101 | 205 | 410 |
PO File | 2 | 107 | 195 | 168 |
SVG | 1 | 0 | 1 | 68 |
Markdown | 1 | 10 | 0 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 2 | 14.29% |
▷ Private methods | 2 | 14.29% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin