Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.93ms] Passed 4 tests
A check of server-side resources used by GNUPAY - KG Inicis
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.18 ▼4.71 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.92 ▼5.15 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.91 ▼2.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.61 ▼7.04 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.89 ▲0.69 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- Illegal file modification found: 16 files (9.27KB) outside of "wp-content/plugins/gnupay-inicis/" and "wp-content/uploads/"
- (new file) wp-content/gnupay-inicis/.htaccess
- (new file) wp-content/gnupay-inicis/key/iniescrow0/mpriv.pem
- (new file) wp-content/gnupay-inicis/key/INIpayTest/mpriv.pem
- (new file) wp-content/gnupay-inicis/key/iniescrow0/keypass.enc
- (new file) wp-content/gnupay-inicis/key/INIpayTest/keypass.enc
- (new file) wp-content/gnupay-inicis/key/iniescrow0/readme.txt
- (new file) wp-content/gnupay-inicis/key/keypass.enc
- (new file) wp-content/gnupay-inicis/key/INIpayTest/mcert.pem
- (new file) wp-content/gnupay-inicis/key/INIpayTest/readme.txt
- (new file) wp-content/gnupay-inicis/key/iniescrow0/mcert.pem
- ...
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for GNUPAY - KG Inicis
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.65 ▼0.58 | 1.75 ▼0.33 | 44.16 ▼5.71 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼0.05 | 99.86 ▼13.83 | 40.85 ▼5.71 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▲0.00 | 33.52 ▼3.84 | 35.80 ▲1.24 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.26 ▼0.08 | 622.84 ▼67.49 | 53.24 ▼14.60 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.20 ▼0.02 | 99.98 ▲0.22 | 44.54 ▲0.96 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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 | 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/gnupay-inicis/lib/CreateIdModule.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
gnupay-inicis/gnupay-inicis.php Passed 13 tests
The primary PHP file in "GNUPAY - KG Inicis" version 1.3.6 is used by WordPress to initiate all plugin functionality
93 characters long description:
우커머스에서 PG사 KG Inicis와 연동하여 결제할수 있는 플러그인입니다.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin8,369 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 1,754 | 2,750 | 7,646 |
PO File | 1 | 144 | 193 | 346 |
JavaScript | 1 | 84 | 20 | 295 |
CSS | 2 | 6 | 7 | 82 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 40.74 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 212.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 242 | |
▷ Static methods | 1 | 0.41% |
▷ Public methods | 238 | 98.35% |
▷ Protected methods | 3 | 1.24% |
▷ Private methods | 1 | 0.41% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 463 | |
▷ Global constants | 463 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin