Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.50ms] Passed 4 tests
This is a short check of server-side resources used by 워드프레스 결제 심플페이 - 우커머스 결제 플러그인
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.43 ▼4.71 |
Dashboard /wp-admin | 3.36 ▲0.02 | 43.40 ▼17.45 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.17 ▼0.68 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.64 ▼3.17 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 30.93 ▲0.29 |
Server storage [IO: ▲22.15MB] [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: 745 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for 워드프레스 결제 심플페이 - 우커머스 결제 플러그인
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.70 ▼0.03 | 1.49 ▼0.21 | 36.18 ▼7.37 |
Dashboard /wp-admin | 2,195 ▲21 | 5.61 ▲0.05 | 91.41 ▲5.25 | 40.63 ▲0.90 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.00 ▲0.05 | 39.31 ▲1.04 | 35.05 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,526 ▼10 | 23.07 ▼0.13 | 597.56 ▼21.60 | 59.23 ▲4.16 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.06 | 95.52 ▼0.18 | 40.80 ▼1.24 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/pgall-for-woocommerce/templates/checkout/pafw/payment-fields.php
- > /wp-content/plugins/pgall-for-woocommerce/includes/admin/meta-boxes/views/subscription.php
- > /wp-content/plugins/pgall-for-woocommerce/templates/checkout/pafw/payment-button.php
- > /wp-content/plugins/pgall-for-woocommerce/templates/checkout/pafw/payment-methods.php
- 80× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function WC() in wp-content/plugins/pgall-for-woocommerce/templates/pafw/bacs/cash-receipt.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_order() in wp-content/plugins/pgall-for-woocommerce/templates/myaccount/exchange-return-request.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pgall-for-woocommerce/templates/pafw/tosspayments/form-key-in.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/pgall-for-woocommerce/templates/checkout/pafw/account.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pgall-for-woocommerce/templates/pafw/nicepay/form-key-in.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function pafw_get_payment_gateway_from_order() in wp-content/plugins/pgall-for-woocommerce/includes/admin/meta-boxes/views/additional_charge.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function get_meta() on null in wp-content/plugins/pgall-for-woocommerce/includes/admin/meta-boxes/views/cash-receipt.php:3
- > PHP Notice
Undefined variable: register_delivery_info in wp-content/plugins/pgall-for-woocommerce/includes/admin/meta-boxes/views/escrow.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pgall-for-woocommerce/templates/checkout/pafw/payment-fields.php on line 36
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/pgall-for-woocommerce/includes/admin/views/guide.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #10, #11, #12, #13, #14, #7, #8, #9 in pgall-for-woocommerce/assets to your readme.txt
pgall-for-woocommerce/pgall-for-woocommerce.php Passed 13 tests
The main file in "워드프레스 결제 심플페이 - 우커머스 결제 플러그인" v. 3.3.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
94 characters long description:
코드엠샵에서 개발, 운영되는 우커머스 전용 결제 통합 시스템 입니다.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin183,783 lines of code in 567 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 122 | 21,875 | 31,410 | 145,368 |
PHP | 301 | 4,344 | 320 | 27,905 |
HTML | 49 | 375 | 29 | 5,843 |
Markdown | 5 | 656 | 0 | 1,899 |
SVG | 59 | 40 | 0 | 1,831 |
JSON | 17 | 0 | 0 | 923 |
CSS | 14 | 0 | 16 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 184.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 216 | |
▷ Abstract classes | 14 | 6.48% |
▷ Concrete classes | 202 | 93.52% |
▷ Final classes | 1 | 0.50% |
Methods | 1,007 | |
▷ Static methods | 354 | 35.15% |
▷ Public methods | 967 | 96.03% |
▷ Protected methods | 37 | 3.67% |
▷ Private methods | 3 | 0.30% |
Functions | 75 | |
▷ Named functions | 65 | 86.67% |
▷ Anonymous functions | 10 | 13.33% |
Constants | 43 | |
▷ Global constants | 7 | 16.28% |
▷ Class constants | 36 | 83.72% |
▷ Public constants | 36 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
129 PNG files occupy 1.03MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/vendor/amcharts/patterns/black/pattern16.png | 0.16KB | 0.10KB | ▼ 36.88% |
assets/vendor/amcharts/patterns/black/pattern10.png | 0.15KB | 0.10KB | ▼ 34.84% |
assets/images/register.png | 0.67KB | 0.38KB | ▼ 43.71% |
assets/vendor/amcharts/images/dragIconRectBigH.png | 0.70KB | 0.29KB | ▼ 58.46% |
assets/gateways/npay/images/card_logo.png | 3.03KB | 1.56KB | ▼ 48.48% |