90% wp-kakao-plusfriend

Code Review | WP Kakao Plusfriend

WordPress plugin WP Kakao Plusfriend scored90%from 54 tests.

About plugin

  • Plugin page: wp-kakao-plusfriend
  • Plugin version: 0.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.1
  • WordPress version: 6.3.1
  • First release: Mar 15, 2019
  • Latest release: Mar 19, 2019
  • Number of updates: 19
  • Update frequency: every 0.2 days
  • Top authors: usefulparadigm (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active /3,229 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.04MB] [CPU: ▼8.56ms] Passed 4 tests

This is a short check of server-side resources used by WP Kakao Plusfriend
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0540.57 ▲1.24
Dashboard /wp-admin3.35 ▲0.0150.21 ▼14.96
Posts /wp-admin/edit.php3.40 ▲0.0550.67 ▼5.71
Add New Post /wp-admin/post-new.php5.93 ▲0.0582.83 ▼12.15
Media Library /wp-admin/upload.php3.27 ▲0.0539.58 ▼1.42
Kakao Plusfriend /wp-admin/options-general.php?page=kakao-plusfriend3.2434.53

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for WP Kakao Plusfriend
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,839 ▲9313.65 ▼0.967.94 ▲6.2638.61 ▼2.53
Dashboard /wp-admin2,213 ▲224.86 ▼0.0597.06 ▼12.6441.16 ▼3.31
Posts /wp-admin/edit.php2,093 ▲12.06 ▲0.0139.65 ▼3.2433.21 ▼1.72
Add New Post /wp-admin/post-new.php1,536 ▲1623.03 ▼0.16601.96 ▼53.3953.38 ▲3.54
Media Library /wp-admin/upload.php1,392 ▲44.21 ▼0.0296.79 ▼6.9544.44 ▼5.60
Kakao Plusfriend /wp-admin/options-general.php?page=kakao-plusfriend1,0211.7326.6377.28

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments

Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: kakao, 11, kakaotalk, plusfriend

wp-kakao-plusfriend/wp-kakao-plusfriend.php Passed 13 tests

"WP Kakao Plusfriend" version 0.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
136 characters long description:
워드프레스 사이트에 카카오 플러스친구 추가하기 버튼과 1:1 채팅 버튼을 사용할 수 있게 도와줍니다.

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 plugin291 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP43453279
CSS10012

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions12
▷ Named functions1191.67%
▷ Anonymous functions18.33%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin