Analysis Results: https://github.com/kojix2/uing

2026-09-30 02:20

Lines of Code by Language

Code, Comments, and Blank Lines Ratio

Language ↕ Files ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
▶ Crystal
179 14802 951 2912 18665
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./download.cr 245 18 32 295
./examples/gallery/basic_label.cr 13 0 5 18
./examples/gallery/basic_progressbar.cr 13 0 5 18
./examples/gallery/boid3d.cr 627 31 113 771
./examples/gallery/basic_window.cr 10 0 4 14
./examples/gallery/basic_spinbox.cr 16 0 5 21
./examples/gallery/basic_date_time_picker.cr 16 0 5 21
./examples/gallery/csv_viewer.cr 173 9 40 222
./examples/gallery/basic_form.cr 33 0 10 43
./examples/gallery/basic_font_button.cr 16 0 5 21
./examples/gallery/calculator.cr 262 18 59 339
./examples/gallery/basic_tab.cr 17 0 5 22
./examples/gallery/area_breakout.cr 427 13 92 532
./examples/gallery/basic_menu.cr 43 2 10 55
./examples/gallery/basic_box_vertical.cr 30 0 9 39
./examples/gallery/basic_radio_buttons.cr 17 0 6 23
./examples/gallery/basic_separator.cr 12 0 5 17
./examples/gallery/basic_multiline_entry.cr 13 0 5 18
./examples/gallery/basic_grid.cr 33 3 10 46
./examples/gallery/area_analog_clock.cr 95 14 21 130
./examples/gallery/basic_slider.cr 16 0 5 21
./examples/gallery/basic_box_horizontal.cr 30 0 9 39
./examples/gallery/basic_group.cr 31 3 9 43
./examples/gallery/basic_table.cr 33 1 11 45
./examples/gallery/basic_entry.cr 16 0 5 21
./examples/gallery/basic_draw_text.cr 77 0 19 96
./examples/gallery/area_matrix.cr 269 12 56 337
./examples/gallery/area_draw_image.cr 57 3 12 72
./examples/gallery/basic_msg_box.cr 4 0 3 7
./examples/gallery/area_colors_and_brushes.cr 113 31 22 166
./examples/gallery/basic_button.cr 17 0 5 22
./examples/gallery/basic_checkbox.cr 15 0 5 20
./examples/gallery/control_gallery.cr 483 3 83 569
./examples/gallery/basic_combobox.cr 15 0 5 20
./examples/gallery/reversi.cr 543 35 120 698
./examples/gallery/basic_color_button.cr 17 0 5 22
./examples/gallery/advanced_table.cr 288 34 57 379
./examples/gallery/basic_area.cr 21 0 6 27
./examples/gallery/basic_editable_combobox.cr 15 0 5 20
./examples/gallery/basic_image_view.cr 36 0 10 46
./examples/gallery/area_basic_shapes.cr 44 12 11 67
./examples/gallery/basic_toolbar.cr 56 0 17 73
./examples/gallery/basic_msg_box_error.cr 4 0 3 7
./examples/basic_button_dsl.cr 18 0 2 20
./examples/air_hockey/src/air_hockey/input.cr 27 0 1 28
./examples/air_hockey/src/air_hockey/math.cr 38 2 11 51
./examples/air_hockey/src/air_hockey/config.cr 42 12 7 61
./examples/air_hockey/src/air_hockey/log.cr 32 1 8 41
./examples/air_hockey/src/air_hockey/game.cr 280 32 52 364
./examples/air_hockey/src/air_hockey/renderer.cr 201 6 37 244
./examples/air_hockey/src/air_hockey/pieces.cr 33 3 5 41
./examples/air_hockey/src/air_hockey/audio.cr 207 3 41 251
./examples/air_hockey/src/air_hockey/app.cr 122 1 18 141
./examples/air_hockey/src/air_hockey.cr 11 0 1 12
./examples/video_player/video_player.cr 363 22 104 489
./examples/video_player/src/platform_embedding.cr 56 6 14 76
./examples/video_player/src/mpv_player.cr 215 32 68 315
./examples/video_player/src/mpv_bindings.cr 86 12 18 116
./examples/world_clock.cr 160 37 43 240
./examples/notepad.cr 144 18 21 183
./examples/md5_checker/src/table_handler.cr 22 3 3 28
./examples/md5_checker/src/checker.cr 97 19 22 138
./examples/md5_checker/src/md5_checker.cr 17 4 2 23
./examples/md5_checker/src/app.cr 89 24 25 138
./examples/sparklers.cr 207 27 59 293
./examples/MT/mandelbrot.cr 345 2 53 400
./scripts/update_libui_ng.cr 72 1 17 90
./src/uing.cr 180 32 37 249
./src/uing/grid/align.cr 8 0 0 8
./src/uing/grid/at.cr 10 0 0 10
./src/uing/tab.cr 104 2 19 125
./src/uing/menu_item.cr 98 9 17 124
./src/uing/group.cr 68 4 17 89
./src/uing/tm.cr 91 14 16 121
./src/uing/control_registry.cr 38 4 7 49
./src/uing/multiline_entry.cr 78 3 13 94
./src/uing/text_italic.cr 7 0 0 7
./src/uing/version.cr 4 0 0 4
./src/uing/image_view.cr 33 2 7 42
./src/uing/lib_ui/area_key_event.cr 11 0 0 11
./src/uing/lib_ui/tm.cr 31 0 0 31
./src/uing/lib_ui/area_handler.cr 19 4 1 24
./src/uing/lib_ui/lib_ui.cr 446 4 20 470
./src/uing/lib_ui/area_mouse_event.cr 15 0 0 15
./src/uing/lib_ui/table_text_column_optional_params.cr 7 0 0 7
./src/uing/lib_ui/draw_brush_gradient_stop.cr 11 0 0 11
./src/uing/lib_ui/draw_text_layout_params.cr 10 0 0 10
./src/uing/lib_ui/font_descriptor.cr 11 1 0 12
./src/uing/lib_ui/draw_brush.cr 18 0 0 18
./src/uing/lib_ui/area_draw_params.cr 13 0 0 13
./src/uing/lib_ui/control.cr 20 0 0 20
./src/uing/lib_ui/table_model_handler.cr 19 4 1 24
./src/uing/lib_ui/draw_stroke_params.cr 13 0 0 13
./src/uing/lib_ui/table_params.cr 8 0 0 8
./src/uing/lib_ui/table_selection.cr 8 0 0 8
./src/uing/lib_ui/init_options.cr 7 0 0 7
./src/uing/lib_ui/draw_matrix.cr 12 0 0 12
./src/uing/area/area/ext_key.cr 45 0 0 45
./src/uing/area/area/modifiers.cr 11 0 0 11
./src/uing/area/area/attribute.cr 130 11 31 172
./src/uing/area/area/key_event.cr 29 1 6 36
./src/uing/area/area/attribute/underline.cr 12 0 0 12
./src/uing/area/area/attribute/underline_color.cr 12 0 0 12
./src/uing/area/area/attribute/open_type_features.cr 89 3 17 109
./src/uing/area/area/attribute/type.cr 18 0 0 18
./src/uing/area/area/handler.cr 123 38 13 174
./src/uing/area/area/draw_params.cr 65 2 16 83
./src/uing/area/area/mouse_event.cr 39 1 10 50
./src/uing/area/area/attributed_string.cr 158 15 29 202
./src/uing/area/area/draw/text_align.cr 11 0 0 11
./src/uing/area/area/draw/path.cr 94 6 18 118
./src/uing/area/area/draw/line_join.cr 11 0 0 11
./src/uing/area/area/draw/brush.cr 137 3 30 170
./src/uing/area/area/draw/stroke_params.cr 81 2 18 101
./src/uing/area/area/draw/text_layout.cr 52 3 9 64
./src/uing/area/area/draw/matrix.cr 57 0 12 69
./src/uing/area/area/draw/text_layout/params.cr 51 2 11 64
./src/uing/area/area/draw/fill_mode.cr 10 0 0 10
./src/uing/area/area/draw/line_cap.cr 11 0 0 11
./src/uing/area/area/draw/context.cr 143 11 23 177
./src/uing/area/area/draw/brush/gradient_stop.cr 56 0 12 68
./src/uing/area/area/draw/brush/type.cr 14 0 0 14
./src/uing/area/area/window_resize_edge.cr 14 0 0 14
./src/uing/area/area.cr 54 2 16 72
./src/uing/progress_bar.cr 19 0 5 24
./src/uing/entry.cr 61 1 10 72
./src/uing/color_button.cr 45 1 8 54
./src/uing/grid.cr 50 0 11 61
./src/uing/checkbox.cr 51 1 10 62
./src/uing/menu.cr 90 5 16 111
./src/uing/date_time_picker.cr 64 16 9 89
./src/uing/text_stretch.cr 13 0 0 13
./src/uing/font_descriptor.cr 121 10 25 156
./src/uing/control.cr 160 32 43 235
./src/uing/slider.cr 90 2 16 108
./src/uing/block_constructor.cr 36 0 2 38
./src/uing/spinbox.cr 49 1 9 59
./src/uing/box.cr 64 6 16 86
./src/uing/radio_buttons.cr 54 1 10 65
./src/uing/font_button.cr 60 6 9 75
./src/uing/separator.cr 20 0 3 23
./src/uing/text_weight.cr 17 0 0 17
./src/uing/label.cr 34 5 8 47
./src/uing/image.cr 58 2 12 72
./src/uing/button.cr 41 1 8 50
./src/uing/toolbar.cr 183 15 39 237
./src/uing/editable_combobox.cr 54 7 10 71
./src/uing/table/table.cr 225 10 40 275
./src/uing/table/table/selection/mode.cr 12 0 0 12
./src/uing/table/table/value.cr 94 8 20 122
./src/uing/table/table/text_column_optional_params.cr 20 0 4 24
./src/uing/table/table/params.cr 29 0 6 35
./src/uing/table/table/model/handler.cr 179 45 20 244
./src/uing/table/table/selection.cr 48 25 10 83
./src/uing/table/table/model.cr 88 24 20 132
./src/uing/table/table/model_column.cr 8 2 0 10
./src/uing/table/table/value/type.cr 12 0 0 12
./src/uing/table/table/sort_indicator.cr 9 0 0 9
./src/uing/window.cr 257 11 49 317
./src/uing/form.cr 56 1 14 71
./src/uing/combobox.cr 66 1 14 81
./spec/value_object_spec.cr 84 0 14 98
./spec/image_spec.cr 26 0 7 33
./spec/drawing_value_spec.cr 53 0 9 62
./spec/table_schema_spec.cr 83 0 14 97
./spec/attributed_string_spec.cr 59 0 15 74
./spec/table_model_column_spec.cr 7 0 1 8
./spec/area_event_spec.cr 64 0 9 73
./spec/container_lifetime_spec.cr 291 0 86 377
./spec/libui_spec.cr 25 0 6 31
./spec/spec_helper.cr 18 2 3 23
./spec/fixtures/init_block_cleanup.cr 20 3 6 29
./spec/tm_spec.cr 41 0 8 49
./spec/lifetime_safety_spec.cr 279 0 68 347
./spec/control_lifetime_spec.cr 310 0 75 385
./spec/toolbar_spec.cr 36 0 8 44
./spec/table_model_handler_spec.cr 129 0 20 149
./spec/error_handler_spec.cr 21 0 4 25
./spec/native/control_lifecycle_spec.cr 599 15 96 710
▶ JSON
1 6 0 0 6
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./renovate.json 6 0 0 6
▶ Makefile
1 33 0 8 41
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./examples/air_hockey/Makefile 33 0 8 41
▶ Markdown
5 0 720 184 904
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./examples/air_hockey/README.md 0 60 19 79
./examples/video_player/README.md 0 36 22 58
./examples/md5_checker/README.md 0 28 14 42
./README.md 0 562 119 681
./spec/README.md 0 34 10 44
▶ PowerShell
1 99 12 21 132
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./examples/md5_checker/build-win.ps1 99 12 21 132
▶ Python
1 173 2 58 233
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./examples/air_hockey/assets/generate_bgm.py 173 2 58 233
▶ Shell
2 139 17 31 187
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./examples/md5_checker/build-mac.sh 91 10 20 121
./examples/md5_checker/build-deb.sh 48 7 11 66
▶ YAML
4 51 0 21 72
File ↕ Code ↕ Comments ↕ Blanks ↕ Total ↕
./examples/air_hockey/shard.yml 16 0 6 22
./examples/video_player/shard.yml 14 0 6 20
./examples/md5_checker/shard.yml 10 0 4 14
./shard.yml 11 0 5 16
Total 194 15303 1702 3235 20240

README Badges

Add these badges to your README.md to showcase your code statistics:

Lines of Code GitHub
Top Language GitHub
Languages GitHub
Code to Comment Ratio GitHub
Note: These badges are dynamic and will automatically reflect the latest analysis of your repository. For efficiency, analysis results are cached for 24 hours. If you've made changes to your repository and want to update the badge data, you can run a new analysis after the cache period expires.
GitHub Badge: Using GitHub-specific badge format. This URL format is optimized for GitHub repositories.