73% clayful-thunder

Code Review | 클레이풀 쇼핑 위젯 (썬더)

WordPress plugin 클레이풀 쇼핑 위젯 (썬더) scored73%from 54 tests.

About plugin

  • Plugin page: clayful-thunder
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.3
  • WordPress version: 6.3.1
  • First release: Feb 13, 2019
  • Latest release: Nov 18, 2019
  • Number of updates: 4
  • Update frequency: every 69.8 days
  • Top authors: clayful (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /507 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

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

An overview of server-side resources used by 클레이풀 쇼핑 위젯 (썬더)
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0428.22 ▼12.16
Dashboard /wp-admin3.36 ▲0.0643.45 ▼3.74
Posts /wp-admin/edit.php3.48 ▲0.1248.70 ▲0.34
Add New Post /wp-admin/post-new.php5.94 ▲0.06119.30 ▲18.38
Media Library /wp-admin/upload.php3.29 ▲0.0634.50 ▲0.70
클레이풀 쇼핑 위젯 /wp-admin/options-general.php?page=clayful-thunder3.2529.68

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for 클레이풀 쇼핑 위젯 (썬더)
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6914.41 ▲0.031.65 ▼0.1340.38 ▼1.22
Dashboard /wp-admin2,207 ▲165.79 ▼0.2695.30 ▼10.4043.64 ▲4.28
Posts /wp-admin/edit.php2,093 ▲42.00 ▲0.0139.51 ▼2.0141.10 ▲4.93
Add New Post /wp-admin/post-new.php1,536 ▲2223.45 ▲5.59685.86 ▲20.2956.45 ▲4.82
Media Library /wp-admin/upload.php1,389 ▼24.24 ▼0.02102.36 ▼1.0448.66 ▲4.82
클레이풀 쇼핑 위젯 /wp-admin/options-general.php?page=clayful-thunder8332.0223.2860.34

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=clayful-thunder
    • > Notice in wp-content/plugins/clayful-thunder/admin/partials/clayful-thunder-admin-display.php+27
    Trying to access array offset on value of type bool

SRP 0% 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 take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/clayful-thunder/public/partials/clayful-thunder-public-display.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/clayful-thunder/admin/partials/clayful-thunder-admin-display.php:19

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)
Everything seems fine on the user side


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Donate link: Please fix this invalid url: ""
The official readme.txt might help

clayful-thunder/clayful-thunder.php Passed 13 tests

"클레이풀 쇼핑 위젯 (썬더)" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
120 characters long description:
클레이풀 쇼핑 위젯(썬더)의 설치 및 위젯 디스플레이를 위한 워드프레스 플러그인입니다.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin276 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.13
Average class complexity2.29
▷ Minimum class complexity1.00
▷ Maximum class complexity7.00
Average method complexity1.29
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods26.45%
▷ Public methods2683.87%
▷ Protected methods00.00%
▷ Private methods516.13%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.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
No PNG images were found in this plugin