78% korean-spell-checker

Code Review | 한글 맞춤법 검사기 - Korean Spell Checker!

WordPress plugin 한글 맞춤법 검사기 - Korean Spell Checker! scored78%from 54 tests.

About plugin

  • Plugin page: korean-spell-checker
  • Plugin version: 4.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.4
  • WordPress version: 6.3.1
  • First release: Jan 22, 2013
  • Latest release: Mar 29, 2019
  • Number of updates: 8
  • Update frequency: every 282.1 days
  • Top authors: sujin2f (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

70+ active /2,666 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.96ms] Passed 4 tests

An overview of server-side resources used by 한글 맞춤법 검사기 - Korean Spell Checker!
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0041.36 ▼0.49
Dashboard /wp-admin3.32 ▲0.0149.94 ▼3.66
Posts /wp-admin/edit.php3.37 ▲0.0147.69 ▼5.96
Add New Post /wp-admin/post-new.php5.90 ▲0.0177.37 ▼17.72
Media Library /wp-admin/upload.php3.24 ▲0.0139.29 ▲2.29

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for 한글 맞춤법 검사기 - Korean Spell Checker!
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,791 ▲3014.19 ▼0.171.71 ▼0.0441.14 ▼1.39
Dashboard /wp-admin2,200 ▲235.59 ▼0.0783.95 ▼7.0442.50 ▲3.78
Posts /wp-admin/edit.php2,105 ▲51.98 ▲0.0034.25 ▼2.6133.81 ▼2.72
Add New Post /wp-admin/post-new.php1,536 ▼123.32 ▲5.06673.59 ▲5.0763.29 ▼3.16
Media Library /wp-admin/upload.php1,402 ▲54.18 ▼0.04100.56 ▼3.3247.47 ▲2.05

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/korean-spell-checker/tests/bootstrap.php
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/korean-spell-checker/tests/test-editor.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/korean-spell-checker/tests/test-base.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: korean, tinymce, spell

korean-spell-checker/korean-spell-checker.php 92% from 13 tests

The entry point to "한글 맞춤법 검사기 - Korean Spell Checker!" version 4.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 179 characters long)

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
Good job! No executable or dangerous file extensions detected14,089 lines of code in 26 files:
LanguageFilesBlank linesComment linesLines of code
JSON40013,145
JavaScript659106458
PHP87086252
Bourne Shell12111120
XML215369
YAML10026
JSX1229
Sass1207
Markdown1102
CSS1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity2.80
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.35
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods26
▷ Static methods311.54%
▷ Public methods26100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants23
▷ Global constants23100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin