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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.46MB] [CPU: ▼26.52ms] Passed 4 tests
Analyzing server-side resources used by kakao-tam
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.78 ▼0.69 | 12.92 ▼29.89 |
Dashboard /wp-admin | 3.41 ▲0.06 | 46.11 ▼20.33 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 48.94 ▼1.67 |
Add New Post /wp-admin/post-new.php | 4.64 ▼1.25 | 42.91 ▼54.19 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.19 ▲3.96 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 64 new files
Database: no new tables, 28 new options
New WordPress options |
---|
kakaotalk_channel_add_icon |
kakao_login_after_landing |
kakaotalk_channel_chat_icon |
kakao_login_icon_display |
kakaotalk_share_icon_subset |
kakaotalk_me_icon_display |
kakaotalk_me_icon |
kakao_login_icon |
kakaostory_share_icon |
kakao_login_secure_state_use |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for kakao-tam
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲111 | 13.58 ▼0.75 | 5.85 ▲4.01 | 39.25 ▼5.53 |
Dashboard /wp-admin | 2,206 ▲29 | 5.55 ▼0.11 | 91.76 ▼5.34 | 41.57 ▼5.00 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 1.97 ▼0.05 | 42.08 ▲4.38 | 39.67 ▲2.16 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.07 ▼0.09 | 689.47 ▲1.32 | 71.10 ▲20.21 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.22 ▼0.01 | 95.67 ▼1.96 | 43.10 ▼0.41 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 28 options
- kakaotalk_share_icon_display
- kakaostory_share_icon_display
- widget_recent-comments
- kakaotalk_me_icon_display
- kakao_login_secure_state_use
- kakao_login_after_landing
- kakaotalk_share_icon
- kakao_login_mapping_state_use
- kakao_login_icon_display
- kakaotalk_me_icon
- ...
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
Good news, no errors were detected
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
Please fix the following items
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'validate' not found in wp-content/plugins/kakao-tam/validateKakaoLoginAfterLanding.php:2
- > PHP Fatal error
Uncaught Error: Class 'oAuthLogin' not found in wp-content/plugins/kakao-tam/oAuthLoginKakao.php:3
- > PHP Fatal error
Uncaught Error: Class 'validate' not found in wp-content/plugins/kakao-tam/validateChannel.php:2
- > PHP Fatal error
Uncaught Error: Class 'validate' not found in wp-content/plugins/kakao-tam/validateStoryShare.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/kakao-tam/admin-developers-setting.php:2
- > PHP Fatal error
Uncaught Error: Class 'validate' not found in wp-content/plugins/kakao-tam/validateKakaoMap.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/kakao-tam/index.php:47
- > PHP Fatal error
Uncaught Error: Class 'validate' not found in wp-content/plugins/kakao-tam/validateMe.php:2
- > PHP Fatal error
Uncaught Error: Class 'validate' not found in wp-content/plugins/kakao-tam/validateKakaoLoginSecure.php:2
- > PHP Fatal error
Uncaught Error: Class 'validate' not found in wp-content/plugins/kakao-tam/validateKakaoNavi.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Screen Shot), #2 (Kakao Login), #3 (Settings)
kakao-tam/index.php 85% from 13 tests
The primary PHP file in "kakao-tam" version 1.8.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 198 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("kakao-tam.php" instead of "index.php")
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
No dangerous file extensions were detected2,104 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 216 | 61 | 1,984 |
CSS | 1 | 11 | 0 | 65 |
JavaScript | 2 | 3 | 0 | 55 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 9.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 113 | 99.12% |
▷ Protected methods | 1 | 0.88% |
▷ Private methods | 0 | 0.00% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 77 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 77 | 100.00% |
▷ Public constants | 77 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
41 PNG files occupy 0.29MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon/consult_small_yellow_mobile_2X.png | 9.00KB | 4.47KB | ▼ 50.36% |
icon/kakaotalk_me_btn_medium.png | 6.53KB | 2.61KB | ▼ 59.99% |
icon/kakaotalk_me_btn_small.png | 3.45KB | 1.55KB | ▼ 54.98% |
icon/consult_large_yellow_pc_2X.png | 8.17KB | 4.11KB | ▼ 49.75% |
icon/consult_small_yellow_pc_2X.png | 6.76KB | 3.48KB | ▼ 48.51% |