Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.88ms] Passed 4 tests
Analyzing server-side resources used by iamport-for-easy-digital-downloads
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.78 ▼5.05 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.60 ▼3.19 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.08 ▲0.81 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 84.66 ▼4.08 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.49 ▲1.74 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for iamport-for-easy-digital-downloads
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.74 ▼0.64 | 1.94 ▼0.22 | 45.74 ▲3.42 |
Dashboard /wp-admin | 2,207 ▲19 | 5.79 ▲0.69 | 95.51 ▼11.42 | 44.94 ▲0.66 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.02 ▼0.00 | 36.27 ▼6.05 | 39.50 ▲4.97 |
Add New Post /wp-admin/post-new.php | 1,526 ▼16 | 23.06 ▲4.56 | 665.83 ▲43.63 | 53.75 ▼6.33 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.29 ▲0.07 | 98.99 ▼5.71 | 48.14 ▲5.51 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/iamport-for-easy-digital-downloads/edd-iamport-gateway.php:489
- > PHP Fatal error
Uncaught Error: Class 'EddIamportNormal' not found in wp-content/plugins/iamport-for-easy-digital-downloads/includes/edd-iamport-samsung.php:2
- > PHP Fatal error
Uncaught Error: Class 'EddIamportNormal' not found in wp-content/plugins/iamport-for-easy-digital-downloads/includes/edd-iamport-trans.php:2
- > PHP Fatal error
Uncaught Error: Class 'EddIamportNormal' not found in wp-content/plugins/iamport-for-easy-digital-downloads/includes/edd-iamport-kakao.php:2
- > PHP Fatal error
Uncaught Error: Class 'EddIamportNormal' not found in wp-content/plugins/iamport-for-easy-digital-downloads/includes/edd-iamport-naverpay.php:2
- > PHP Fatal error
Uncaught Error: Class 'EddIamportBase' not found in wp-content/plugins/iamport-for-easy-digital-downloads/includes/edd-iamport-subscription.php:2
- > PHP Fatal error
Uncaught Error: Class 'EddIamportNormal' not found in wp-content/plugins/iamport-for-easy-digital-downloads/includes/edd-iamport-card.php:2
- > PHP Fatal error
Uncaught Error: Class 'EddIamportBase' not found in wp-content/plugins/iamport-for-easy-digital-downloads/includes/abstract/edd-iamport-normal.php:2
- > PHP Fatal error
Uncaught Error: Class 'EddIamportNormal' not found in wp-content/plugins/iamport-for-easy-digital-downloads/includes/edd-iamport-phone.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Tags: Too many tags (24 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== iamport-for-easy-digital-downloads ===
)
iamport-for-easy-digital-downloads/edd-iamport-gateway.php 69% from 13 tests
This is the main PHP file of "iamport-for-easy-digital-downloads" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 167 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("iamport-for-easy-digital-downloads.php" instead of "edd-iamport-gateway.php")
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 91 characters long)
- Git Repository: Please do not include Git repositories in your plugin
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
Good job! No executable or dangerous file extensions detected2,977 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 367 | 198 | 1,616 |
JavaScript | 6 | 183 | 239 | 1,361 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 11.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 2 | 13.33% |
▷ Concrete classes | 13 | 86.67% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 86 | 77.48% |
▷ Protected methods | 13 | 11.71% |
▷ Private methods | 12 | 10.81% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 13 | 100.00% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin