Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.26MB] [CPU: ▼18.90ms] Passed 4 tests
An overview of server-side resources used by Korea SNS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.69 ▼10.82 |
Dashboard /wp-admin | 3.38 ▲0.07 | 47.70 ▼10.26 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.86 ▼0.46 |
Add New Post /wp-admin/post-new.php | 4.67 ▼1.22 | 44.87 ▼54.07 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.45 ▲3.48 |
Korea SNS /wp-admin/options-general.php?page=kon_tergos_options | 3.26 | 33.10 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
kon_tergos |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Korea SNS
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲191 | 14.20 ▼0.16 | 7.14 ▲5.14 | 36.32 ▼11.45 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.03 | 100.25 ▲0.83 | 42.03 ▼13.34 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▼0.06 | 39.29 ▼3.15 | 31.80 ▼10.01 |
Add New Post /wp-admin/post-new.php | 1,540 ▲6 | 23.12 ▲0.05 | 657.56 ▼23.31 | 57.74 ▼7.01 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.13 ▼0.04 | 95.03 ▼6.22 | 43.85 ▼2.10 |
Korea SNS /wp-admin/options-general.php?page=kon_tergos_options | 1,085 | 2.05 | 27.48 | 27.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/korea-sns/uninstall.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/korea-sns/korea_sns.php:25
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== korea-sns ===
)
korea-sns/korea_sns.php 85% from 13 tests
The main PHP script in "Korea SNS" version 1.6.3 is automatically included on every request by WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 279 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("korea-sns.php" instead of "korea_sns.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin621 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 81 | 24 | 390 |
JavaScript | 1 | 16 | 0 | 121 |
PO File | 1 | 30 | 0 | 78 |
CSS | 1 | 10 | 0 | 32 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
16 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/b_telegram.png | 2.01KB | 1.03KB | ▼ 48.54% |
icons/b_kakaotalk.png | 1.76KB | 0.78KB | ▼ 55.88% |
icons/telegram.png | 2.18KB | 1.63KB | ▼ 25.08% |
icons/facebook.png | 1.06KB | 0.33KB | ▼ 68.45% |
icons/b_twitter.png | 2.36KB | 1.28KB | ▼ 45.82% |