Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.57ms] Passed 4 tests
An overview of server-side resources used by Paystack Easy Digital Downloads Payment Gateway
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.12 ▼0.51 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.05 ▲1.10 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.56 ▼5.81 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.18 ▼13.32 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.73 ▼2.62 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Paystack Easy Digital Downloads Payment Gateway
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.28 ▼0.08 | 1.82 ▲0.28 | 46.43 ▲11.42 |
Dashboard /wp-admin | 2,195 ▲17 | 5.62 ▼0.10 | 95.67 ▼2.92 | 40.82 ▼4.54 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.10 ▲0.08 | 33.72 ▼6.44 | 35.54 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.01 ▲4.71 | 659.41 ▲10.86 | 60.61 ▼13.20 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▼0.07 | 93.51 ▼3.52 | 41.89 ▼1.10 |
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
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
edd-paystack/edd-paystack.php Passed 13 tests
The main PHP file in "Paystack Easy Digital Downloads Payment Gateway" ver. 2.0.2 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
Paystack payment gateway for Easy Digital Downloads
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin480 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 209 | 188 | 480 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 96.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.12% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.20MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/paystack-gh.png | 66.22KB | 30.28KB | ▼ 54.28% |
assets/images/paystack-cards.png | 39.38KB | 17.89KB | ▼ 54.57% |
assets/images/paystack-za.png | 27.87KB | 10.45KB | ▼ 62.50% |
assets/images/paystack-ke.png | 20.64KB | 8.22KB | ▼ 60.20% |
assets/images/paystack.png | 52.37KB | 24.21KB | ▼ 53.76% |