Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲1.12ms] Passed 4 tests
This is a short check of server-side resources used by GNUPAY - NHN KCP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.88 ▼1.99 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.74 ▲0.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.94 ▲2.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.29 ▲11.38 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.38 ▲3.48 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 96 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for GNUPAY - NHN KCP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.21 ▼0.97 | 1.89 ▼0.75 | 41.75 ▼15.33 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▼0.15 | 108.51 ▲3.21 | 40.87 ▲0.68 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.02 | 40.14 ▲0.52 | 34.23 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,514 ▼8 | 17.71 ▼5.25 | 683.11 ▲2.78 | 59.18 ▲4.87 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▼0.01 | 98.59 ▼0.95 | 43.33 ▼0.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'SoapClient' not found in wp-content/plugins/gnupay-kcp/kcp/KCPComLibrary.php:80
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
gnupay-kcp/gnupay-kcp.php Passed 13 tests
The main file in "GNUPAY - NHN KCP" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
91 characters long description:
우커머스에서 PG사 NHN KCP와 연동하여 결제할수 있는 플러그인입니다.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Almost there! Just fix the following issues
- Do not include executable or dangerous files in your plugin
- .exe - Executable in Windows
- ☣ wp-content/plugins/gnupay-kcp/kcp/bin/pp_cli_exe.exe
- .exe - Executable in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 1,162 | 747 | 4,936 |
PO File | 1 | 183 | 223 | 429 |
JavaScript | 2 | 103 | 101 | 392 |
XML | 2 | 0 | 0 | 287 |
CSS | 3 | 44 | 14 | 217 |
HTML | 1 | 0 | 7 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 15.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 134 | |
▷ Static methods | 4 | 2.99% |
▷ Public methods | 130 | 97.01% |
▷ Protected methods | 3 | 2.24% |
▷ Private methods | 1 | 0.75% |
Functions | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
No PNG files were detected