78% stibee-email-subscription-form

Code Review | 스티비 구독 폼

WordPress plugin 스티비 구독 폼 scored78%from 54 tests.

About plugin

  • Plugin page: stibee-email-subs...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.2.1
  • WordPress version: 6.3.1
  • First release: Jun 10, 2019
  • Latest release: Jun 16, 2022
  • Number of updates: 17
  • Update frequency: every 66.0 days
  • Top authors: sitbee (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,266 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.18MB] [CPU: ▼4.06ms] Passed 4 tests

An overview of server-side resources used by 스티비 구독 폼
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1736.54 ▼1.51
Dashboard /wp-admin3.49 ▲0.1848.08 ▲3.28
Posts /wp-admin/edit.php3.60 ▲0.2448.73 ▲1.54
Add New Post /wp-admin/post-new.php6.08 ▲0.2081.54 ▼14.86
Media Library /wp-admin/upload.php3.41 ▲0.1834.79 ▼1.40
주소록 선택 /wp-admin/admin.php?page=wp-stibee&tab=lists3.3834.48
계정 연결 /wp-admin/admin.php?page=wp-stibee3.3833.35
디자인 /wp-admin/admin.php?page=wp-stibee&tab=style3.3831.52

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 82 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_wp_stibee_sucscriber_widget

Browser metrics Passed 4 tests

스티비 구독 폼: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,947 ▲21214.00 ▼0.394.86 ▲3.1440.77 ▼10.54
Dashboard /wp-admin2,233 ▲455.92 ▲1.06104.40 ▼0.0075.98 ▲34.92
Posts /wp-admin/edit.php2,132 ▲432.22 ▲0.2037.79 ▼3.3944.71 ▲8.00
Add New Post /wp-admin/post-new.php1,560 ▲2018.22 ▼5.12613.53 ▲13.1340.41 ▼12.42
Media Library /wp-admin/upload.php1,418 ▲274.36 ▼0.01102.42 ▲4.7980.43 ▲37.51
주소록 선택 /wp-admin/admin.php?page=wp-stibee&tab=lists1,0721.7928.19156.47
계정 연결 /wp-admin/admin.php?page=wp-stibee8981.8023.5451.65
디자인 /wp-admin/admin.php?page=wp-stibee&tab=style1,0321.7625.7978.61

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • widget_wp_stibee_sucscriber_widget
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Please fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/stibee-email-subscription-form/public/partials/wp-stibee-public-display.php
  • 4× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stibee-email-subscription-form/admin/class-wp-stibee-admin.php:524
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/stibee-email-subscription-form/admin/partials/wp-stibee-admin-display.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/stibee-email-subscription-form/includes/class-wp-stibee-widget.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/stibee-email-subscription-form/includes/class-wp-stibee-shortcode.php:6

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention: Please take inspiration from this readme.txt

stibee-email-subscription-form/stibee-email-subscription-form.php 92% from 13 tests

The main PHP file in "스티비 구독 폼" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected27,177 lines of code in 70 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript364,3144,09918,786
CSS81,115836,159
HTML622551,368
PHP15192611765
JSON20046
Markdown232046
YAML1007

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity7.40
▷ Minimum class complexity1.00
▷ Maximum class complexity36.00
Average method complexity2.49
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods43
▷ Static methods24.65%
▷ Public methods3888.37%
▷ Protected methods00.00%
▷ Private methods511.63%
Functions7
▷ Named functions457.14%
▷ Anonymous functions342.86%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/images/login_bee.png5.15KB2.66KB▼ 48.34%
admin/images/icon.png1.66KB0.86KB▼ 48.42%