Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼140.65ms] Passed 4 tests
This is a short check of server-side resources used by EDD Recent Payments History
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 39.26 ▲4.29 |
Dashboard /wp-admin | 3.06 ▲0.01 | 52.26 ▲1.67 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 46.52 ▲0.07 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 96.68 ▼561.38 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 36.00 ▼2.95 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by EDD Recent Payments History
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲107 | 15.89 ▲0.37 | 9.14 ▼1.22 | 50.45 ▲0.62 |
Dashboard /wp-admin | 2,964 ▲30 | 5.91 ▼0.03 | 165.04 ▲3.32 | 114.20 ▼1.71 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 79.29 ▲10.08 | 91.41 ▼4.39 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.71 ▼0.01 | 402.14 ▼21.95 | 103.68 ▼5.83 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.02 ▲0.02 | 192.48 ▲31.99 | 118.17 ▲1.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/edd-recent-payments-history/edd-recent-payments-history.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function edd_recent_purchase_payments() in wp-content/plugins/edd-recent-payments-history/recent-complete-payments.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: checkout, edd, payment, purchase
edd-recent-payments-history/edd-recent-payments-history.php Passed 13 tests
"EDD Recent Payments History" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
87 characters long description:
show last complete payments. just insert shortcode [recent_purchase_history] on a page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected87 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 31 | 16 | 87 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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