84% kakao-talk-link

Code Review | Kakao Talk Link

WordPress plugin Kakao Talk Link scored84%from 54 tests.

About plugin

  • Plugin page: kakao-talk-link
  • Plugin version: 1.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4
  • WordPress version: 6.3.1
  • First release: May 14, 2013
  • Latest release: Nov 24, 2014
  • Number of updates: 41
  • Update frequency: every 13.6 days
  • Top authors: Jongmyoung Kim (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /2,933 total downloads

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
Installer ran successfully

Server metrics [RAM: ▼0.32MB] [CPU: ▼19.41ms] Passed 4 tests

An overview of server-side resources used by Kakao Talk Link
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.44 ▼0.0332.82 ▼7.26
Dashboard /wp-admin3.32 ▲0.0242.82 ▼6.80
Posts /wp-admin/edit.php3.38 ▲0.0244.91 ▼3.90
Add New Post /wp-admin/post-new.php4.62 ▼1.2742.65 ▼59.66
Media Library /wp-admin/upload.php3.25 ▲0.0132.32 ▼2.33
Kakao Talk Link /wp-admin/options-general.php?page=kk_options3.2229.95

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
kk_position
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Kakao Talk Link
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,914 ▲16813.59 ▼0.785.26 ▲3.5243.26 ▲0.25
Dashboard /wp-admin2,212 ▲244.87 ▼0.94107.58 ▼9.5644.10 ▼1.94
Posts /wp-admin/edit.php2,095 ▲62.01 ▲0.0039.26 ▲3.1535.11 ▼0.57
Add New Post /wp-admin/post-new.php1,533 ▲1322.76 ▼0.27596.37 ▼61.7448.87 ▼8.49
Media Library /wp-admin/upload.php1,388 ▼04.16 ▼0.0495.79 ▼19.2741.20 ▼6.53
Kakao Talk Link /wp-admin/options-general.php?page=kk_options8132.1524.3127.45

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • kk_position
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kakao-talk-link/kakaolink.php:25

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === kakao-talk-link === )
You can look at the official readme.txt

kakao-talk-link/kakaolink.php 92% from 13 tests

"Kakao Talk Link" version 1.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("kakao-talk-link.php" instead of "kakaolink.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
There were no executable files found in this plugin146 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1252779
JavaScript111367

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were 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
Namespaces0
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
kakaotalk.png1.05KB0.77KB▼ 26.80%