83% beomps-korea-postcode-search

Code Review | Beomps Korea Postcode Search

WordPress plugin Beomps Korea Postcode Search scored83%from 54 tests.

About plugin

  • Plugin page: beomps-korea-post...
  • Plugin version: 3.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2.3-4.8.3
  • WordPress version: 6.3.1
  • First release: Feb 4, 2015
  • Latest release: Nov 15, 2017
  • Number of updates: 24
  • Update frequency: every 42.3 days
  • Top authors: beomps (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

100+ active /8,842 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.06MB] [CPU: ▼4.05ms] Passed 4 tests

Analyzing server-side resources used by Beomps Korea Postcode Search
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0638.71 ▼1.42
Dashboard /wp-admin3.37 ▲0.0645.44 ▼1.89
Posts /wp-admin/edit.php3.48 ▲0.1248.01 ▲0.45
Add New Post /wp-admin/post-new.php5.95 ▲0.0679.84 ▼9.25
Media Library /wp-admin/upload.php3.29 ▲0.0631.27 ▼3.65

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Beomps Korea Postcode Search
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲8814.32 ▼0.402.99 ▲1.2137.33 ▼2.45
Dashboard /wp-admin2,215 ▲415.54 ▼0.1280.71 ▼13.4539.34 ▲4.27
Posts /wp-admin/edit.php2,114 ▲142.04 ▲0.0432.29 ▼5.7132.75 ▼4.52
Add New Post /wp-admin/post-new.php1,541 ▲1523.60 ▲0.58678.54 ▲23.4452.11 ▼8.00
Media Library /wp-admin/upload.php1,402 ▲24.19 ▼0.0297.95 ▼7.3343.17 ▼3.56

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • 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
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beomps-korea-postcode-search/beomps-korea-post-search.php:12

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 issues were found


Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Plugin Name: You should set the name of your plugin on the first line ( === beomps-korea-postcode-search === )
Please take inspiration from this readme.txt

beomps-korea-postcode-search/beomps-korea-post-search.php 85% from 13 tests

The primary PHP file in "Beomps Korea Postcode Search" version 3.4 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("beomps-korea-postcode-search.php" instead of "beomps-korea-post-search.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 167 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected247 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.21
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions19100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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
No PNG images were found in this plugin