Preparing report...

Report for github.com/evanmiller/hecate

(v0.0.1)

C    Needs some work    Found 21 issues across 23 files

Tweet

gofmt47%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo73%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • scan.go
    • Line 39: warning: cyclomatic complexity 27 of function scanSearchString() is high (> 15) (gocyclo)
    • Line 133: warning: cyclomatic complexity 20 of function scanEditedContent() is high (> 15) (gocyclo)
    • field_editor.go
    • Line 23: warning: cyclomatic complexity 22 of function (*FieldEditor).handleKeyEvent() is high (> 15) (gocyclo)
    • screen_data.go
    • Line 70: warning: cyclomatic complexity 20 of function (*DataScreen).handleKeyEvent() is high (> 15) (gocyclo)
    • hecate.go
    • Line 68: warning: cyclomatic complexity 16 of function mainLoop() is high (> 15) (gocyclo)
    • tab.go
    • Line 140: warning: cyclomatic complexity 59 of function (*DataTab).handleKeyEvent() is high (> 15) (gocyclo)
    • Line 388: warning: cyclomatic complexity 39 of function (*DataTab).drawTab() is high (> 15) (gocyclo)
    • widget_cursor.go
    • Line 40: warning: cyclomatic complexity 41 of function (CursorWidget).drawAtPoint() is high (> 15) (gocyclo)

golint21%

Golint is a linter for Go source code.

    • layout.go
    • Line 3: warning: exported type Layout should have comment or be unexported (golint)
    • Line 6: warning: don't use underscores in Go names; struct field num_spaces should be numSpaces (golint)
    • Line 7: warning: don't use underscores in Go names; struct field show_date should be showDate (golint)
    • Line 8: warning: don't use underscores in Go names; struct field widget_size should be widgetSize (golint)
    • scan.go
    • Line 10: warning: don't use underscores in Go names; var parsed_time should be parsedTime (golint)
    • Line 10: warning: don't use underscores in Go names; var parse_error should be parseError (golint)
    • Line 17: warning: don't use underscores in Go names; func parameter file_pos should be filePos (golint)
    • Line 20: warning: don't use underscores in Go names; var scanned_file_pos should be scannedFilePos (golint)
    • Line 42: warning: don't use underscores in Go names; var scanned_fp should be scannedFp (golint)
    • Line 43: warning: don't use underscores in Go names; var rest_of_value should be restOfValue (golint)
    • Line 45: warning: don't use underscores in Go names; var fp32_string should be fp32String (golint)
    • Line 46: warning: don't use underscores in Go names; var fp32_cursor should be fp32Cursor (golint)
    • Line 49: warning: don't use underscores in Go names; var fp64_string should be fp64String (golint)
    • Line 50: warning: don't use underscores in Go names; var fp64_cursor should be fp64Cursor (golint)
    • Line 53: warning: don't use underscores in Go names; var scanned_int should be scannedInt (golint)
    • Line 56: warning: don't use underscores in Go names; var int8_string should be int8String (golint)
    • Line 57: warning: don't use underscores in Go names; var int8_cursor should be int8Cursor (golint)
    • Line 61: warning: don't use underscores in Go names; var int16_string should be int16String (golint)
    • Line 62: warning: don't use underscores in Go names; var int16_cursor should be int16Cursor (golint)
    • Line 67: warning: don't use underscores in Go names; var int32_string should be int32String (golint)
    • Line 68: warning: don't use underscores in Go names; var int32_cursor should be int32Cursor (golint)
    • Line 72: warning: don't use underscores in Go names; var int64_string should be int64String (golint)
    • Line 73: warning: don't use underscores in Go names; var int64_cursor should be int64Cursor (golint)
    • Line 78: warning: don't use underscores in Go names; var text_cursor should be textCursor (golint)
    • Line 81: warning: don't use underscores in Go names; var first_match should be firstMatch (golint)
    • Line 82: warning: don't use underscores in Go names; var first_length should be firstLength (golint)
    • Line 83: warning: don't use underscores in Go names; var first_cursor should be firstCursor (golint)
    • Line 86: warning: don't use underscores in Go names; var start_pos should be startPos (golint)
    • Line 87: warning: don't use underscores in Go names; var found_pos should be foundPos (golint)
    • Line 91: warning: don't use underscores in Go names; var found_pos should be foundPos (golint)
    • Line 103: warning: don't use underscores in Go names; var found_match should be foundMatch (golint)
    • Line 108: warning: don't use underscores in Go names; var ranked_pos should be rankedPos (golint)
    • Line 110: warning: don't use underscores in Go names; var ranked_pos should be rankedPos (golint)
    • Line 138: warning: don't use underscores in Go names; var rest_of_value should be restOfValue (golint)
    • Line 140: warning: don't use underscores in Go names; var scanned_int should be scannedInt (golint)
    • Line 170: warning: don't use underscores in Go names; var scanned_fp should be scannedFp (golint)
    • Line 180: warning: don't use underscores in Go names; var scanned_int should be scannedInt (golint)
    • Line 181: warning: don't use underscores in Go names; var scan_fmt should be scanFmt (golint)
    • screen_about.go
    • Line 9: warning: exported type Command should have comment or be unexported (golint)
    • Line 14: warning: exported type AboutScreen should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; struct field show_html should be showHTML (golint)
    • Line 19: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 19: warning: don't use underscores in Go names; var y_pos should be yPos (golint)
    • Line 20: warning: don't use underscores in Go names; var longest_key_len should be longestKeyLen (golint)
    • Line 38: warning: don't use underscores in Go names; var do_quit should be doQuit (golint)
    • Line 61: warning: don't use underscores in Go names; var default_fg should be defaultFg (golint)
    • Line 62: warning: don't use underscores in Go names; var default_bg should be defaultBg (golint)
    • Line 140: warning: don't use underscores in Go names; var first_line should be firstLine (golint)
    • Line 141: warning: don't use underscores in Go names; var start_x should be startX (golint)
    • Line 142: warning: don't use underscores in Go names; var start_y should be startY (golint)
    • Line 143: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 144: warning: don't use underscores in Go names; var y_pos should be yPos (golint)
    • Line 169: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 171: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 173: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 175: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 178: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • screen_palette.go
    • Line 9: warning: exported type PaletteScreen should have comment or be unexported (golint)
    • Line 13: warning: don't use underscores in Go names; var do_quit should be doQuit (golint)
    • style.go
    • Line 7: warning: exported type Style should have comment or be unexported (golint)
    • Line 8: warning: don't use underscores in Go names; struct field default_bg should be defaultBg (golint)
    • Line 9: warning: don't use underscores in Go names; struct field default_fg should be defaultFg (golint)
    • Line 11: warning: don't use underscores in Go names; struct field rune_fg should be runeFg (golint)
    • Line 12: warning: don't use underscores in Go names; struct field space_rune_fg should be spaceRuneFg (golint)
    • Line 13: warning: don't use underscores in Go names; struct field int_fg should be intFg (golint)
    • Line 14: warning: don't use underscores in Go names; struct field bit_fg should be bitFg (golint)
    • Line 16: warning: don't use underscores in Go names; struct field selected_option_bg should be selectedOptionBg (golint)
    • Line 17: warning: don't use underscores in Go names; struct field search_progress_fg should be searchProgressFg (golint)
    • Line 19: warning: don't use underscores in Go names; struct field text_cursor_hex_bg should be textCursorHexBg (golint)
    • Line 20: warning: don't use underscores in Go names; struct field bit_cursor_hex_bg should be bitCursorHexBg (golint)
    • Line 21: warning: don't use underscores in Go names; struct field int_cursor_hex_bg should be intCursorHexBg (golint)
    • Line 22: warning: don't use underscores in Go names; struct field fp_cursor_hex_bg should be fpCursorHexBg (golint)
    • Line 24: warning: don't use underscores in Go names; struct field hilite_hex_fg should be hiliteHexFg (golint)
    • Line 25: warning: don't use underscores in Go names; struct field hilite_rune_fg should be hiliteRuneFg (golint)
    • Line 27: warning: don't use underscores in Go names; struct field field_editor_bg should be fieldEditorBg (golint)
    • Line 28: warning: don't use underscores in Go names; struct field field_editor_fg should be fieldEditorFg (golint)
    • Line 30: warning: don't use underscores in Go names; struct field field_editor_last_bg should be fieldEditorLastBg (golint)
    • Line 31: warning: don't use underscores in Go names; struct field field_editor_last_fg should be fieldEditorLastFg (golint)
    • Line 33: warning: don't use underscores in Go names; struct field field_editor_invalid_bg should be fieldEditorInvalidBg (golint)
    • Line 34: warning: don't use underscores in Go names; struct field field_editor_invalid_fg should be fieldEditorInvalidFg (golint)
    • Line 36: warning: don't use underscores in Go names; struct field about_logo_bg should be aboutLogoBg (golint)
    • Line 38: warning: don't use underscores in Go names; struct field filled_bit_rune should be filledBitRune (golint)
    • Line 39: warning: don't use underscores in Go names; struct field empty_bit_rune should be emptyBitRune (golint)
    • Line 40: warning: don't use underscores in Go names; struct field space_rune should be spaceRune (golint)
    • widget.go
    • Line 7: warning: exported type Widget should have comment or be unexported (golint)
    • Line 12: warning: exported type WidgetSlice should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; var total_widget_width should be totalWidgetWidth (golint)
    • Line 16: warning: don't use underscores in Go names; var max_widget_height should be maxWidgetHeight (golint)
    • Line 18: warning: don't use underscores in Go names; var widget_size should be widgetSize (golint)
    • Line 19: warning: don't use underscores in Go names; var total_widget_width should be totalWidgetWidth (golint)
    • Line 30: warning: don't use underscores in Go names; var widget_size should be widgetSize (golint)
    • Line 38: warning: don't use underscores in Go names; method parameter show_date should be showDate (golint)
    • Line 56: warning: don't use underscores in Go names; var all_widgets should be allWidgets (golint)
    • Line 65: warning: don't use underscores in Go names; func parameter show_date should be showDate (golint)
    • Line 77: warning: don't use underscores in Go names; var start_x should be startX (golint)
    • Line 78: warning: don't use underscores in Go names; var start_y should be startY (golint)
    • Line 81: warning: don't use underscores in Go names; var widget_size should be widgetSize (golint)
    • widget_cursor.go
    • Line 5: warning: exported type CursorWidget should have comment or be unexported (golint)
    • Line 14: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 19: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 23: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 32: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 44: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 45: warning: don't use underscores in Go names; var y_pos should be yPos (golint)
    • Line 46: warning: don't use underscores in Go names; var max_x_pos should be maxXPos (golint)
    • Line 51: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 54: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 56: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 61: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 67: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 69: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 81: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 83: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 92: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 94: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 100: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 102: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 110: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 112: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 116: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 127: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 129: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 132: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 135: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 137: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 139: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 141: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 144: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 146: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 149: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 159: warning: don't use underscores in Go names; var date_fg should be dateFg (golint)
    • Line 164: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 167: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 169: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 171: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 173: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 175: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 179: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 181: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • widget_nav.go
    • Line 3: warning: exported type NavigationWidget should have comment or be unexported (golint)
    • Line 14: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 23: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 25: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 27: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 29: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 31: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • cursor.go
    • Line 11: warning: exported type CursorMode should have comment or be unexported (golint)
    • Line 12: warning: exported type TimeSinceEpochUnit should have comment or be unexported (golint)
    • Line 14: warning: exported const MAX_INTEGER_WIDTH should have comment or be unexported (golint)
    • Line 15: warning: exported const MIN_INTEGER_WIDTH should have comment or be unexported (golint)
    • Line 16: warning: exported const MAX_FLOATING_POINT_WIDTH should have comment or be unexported (golint)
    • Line 17: warning: exported const MIN_FLOATING_POINT_WIDTH should have comment or be unexported (golint)
    • Line 18: warning: exported const MAX_BIT_PATTERN_WIDTH should have comment or be unexported (golint)
    • Line 19: warning: exported const MIN_BIT_PATTERN_WIDTH should have comment or be unexported (golint)
    • Line 22: warning: exported const StringMode should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported const SecondsSinceEpoch should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type ByteRange should have comment or be unexported (golint)
    • Line 38: warning: exported type Cursor should have comment or be unexported (golint)
    • Line 40: warning: don't use underscores in Go names; struct field max_pos should be maxPos (golint)
    • Line 41: warning: don't use underscores in Go names; struct field int_length should be intLength (golint)
    • Line 42: warning: don't use underscores in Go names; struct field fp_length should be fpLength (golint)
    • Line 43: warning: don't use underscores in Go names; struct field bit_length should be bitLength (golint)
    • Line 46: warning: don't use underscores in Go names; struct field big_endian should be bigEndian (golint)
    • Line 47: warning: don't use underscores in Go names; struct field hex_mode should be hexMode (golint)
    • Line 48: warning: don't use underscores in Go names; struct field epoch_time should be epochTime (golint)
    • Line 49: warning: don't use underscores in Go names; struct field epoch_unit should be epochUnit (golint)
    • Line 52: warning: don't use underscores in Go names; method c_type should be cType (golint)
    • Line 56: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 182: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 188: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 194: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 200: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 224: warning: don't use underscores in Go names; var date_time should be dateTime (golint)
    • hecate.go
    • Line 14: warning: exported const PROGRAM_NAME should have comment or be unexported (golint)
    • Line 16: warning: exported type SwitchScreen should have comment or be unexported (golint)
    • Line 20: warning: exported type ScreenIndex should have comment or be unexported (golint)
    • Line 25: warning: exported type FileInfo should have comment or be unexported (golint)
    • Line 39: warning: don't use underscores in Go names; method parameter read_write should be readWrite (golint)
    • Line 40: warning: don't use underscores in Go names; var new_file should be newFile (golint)
    • Line 48: warning: exported type ScreenInstance should have comment or be unexported (golint)
    • Line 55: warning: exported function NewScreenInstance should have comment or be unexported (golint)
    • Line 69: warning: don't use underscores in Go names; var main_key_channel should be mainKeyChannel (golint)
    • Line 70: warning: don't use underscores in Go names; var command_channel should be commandChannel (golint)
    • Line 92: warning: don't use underscores in Go names; var do_quit should be doQuit (golint)
    • Line 106: warning: don't use underscores in Go names; var new_screen_index should be newScreenIndex (golint)
    • Line 137: warning: don't use underscores in Go names; func parameter read_write should be readWrite (golint)
    • Line 138: warning: don't use underscores in Go names; var file_mode should be fileMode (golint)
    • Line 139: warning: don't use underscores in Go names; var mmap_mode should be mmapMode (golint)
    • Line 147: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 152: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 156: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 161: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 176: warning: don't use underscores in Go names; var file_info should be fileInfo (golint)
    • screen.go
    • Line 5: warning: exported type Screen should have comment or be unexported (golint)
    • Line 12: warning: exported const ABOUT_SCREEN_INDEX should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; var data_screen should be dataScreen (golint)
    • Line 22: warning: don't use underscores in Go names; var about_screen should be aboutScreen (golint)
    • Line 23: warning: don't use underscores in Go names; var palette_screen should be paletteScreen (golint)
    • screen_dialog.go
    • Line 9: warning: exported const HEAVY_VERTICAL_RIGHT should have comment or be unexported (golint)
    • Line 10: warning: exported const HEAVY_VERTICAL_LEFT should have comment or be unexported (golint)
    • Line 11: warning: exported const HEAVY_VERTICAL should have comment or be unexported (golint)
    • Line 12: warning: exported const HEAVY_HORIZONTAL should have comment or be unexported (golint)
    • Line 13: warning: exported const HEAVY_TOP_LEFT should have comment or be unexported (golint)
    • Line 14: warning: exported const HEAVY_TOP_RIGHT should have comment or be unexported (golint)
    • Line 15: warning: exported const HEAVY_BOTTOM_LEFT should have comment or be unexported (golint)
    • Line 16: warning: exported const HEAVY_BOTTOM_RIGHT should have comment or be unexported (golint)
    • Line 18: warning: exported type DialogProc should have comment or be unexported (golint)
    • Line 19: warning: exported type DialogScreen should have comment or be unexported (golint)
    • Line 33: warning: don't use underscores in Go names; var do_quit should be doQuit (golint)
    • Line 86: warning: exported function NewDialogScreen should have comment or be unexported (golint)
    • Line 96: warning: exported function ShowModal should have comment or be unexported (golint)
    • Line 100: warning: exported function ShowMessage should have comment or be unexported (golint)
    • Line 109: warning: exported function Max should have comment or be unexported (golint)
    • Line 116: warning: exported function Min should have comment or be unexported (golint)
    • field_editor.go
    • Line 10: warning: exported type FieldEditor should have comment or be unexported (golint)
    • Line 12: warning: don't use underscores in Go names; struct field cursor_pos should be cursorPos (golint)
    • Line 13: warning: don't use underscores in Go names; struct field last_value should be lastValue (golint)
    • Line 14: warning: don't use underscores in Go names; struct field init_value should be initValue (golint)
    • Line 18: warning: don't use underscores in Go names; struct field at_bol should be atBol (golint)
    • Line 19: warning: don't use underscores in Go names; struct field at_eol should be atEol (golint)
    • Line 24: warning: don't use underscores in Go names; var is_done should be isDone (golint)
    • Line 130: warning: don't use underscores in Go names; method delete_front should be deleteFront (golint)
    • Line 137: warning: don't use underscores in Go names; method delete_back should be deleteBack (golint)
    • point.go
    • Line 3: warning: exported type Point should have comment or be unexported (golint)
    • Line 8: warning: exported type Size should have comment or be unexported (golint)
    • screen_data.go
    • Line 5: warning: exported const NAME_PADDING should have comment or be unexported (golint)
    • Line 6: warning: exported const TAB_MARGIN should have comment or be unexported (golint)
    • Line 8: warning: exported const THICK_LINE should have comment or be unexported (golint)
    • Line 9: warning: exported const RIGHT_JOINT should have comment or be unexported (golint)
    • Line 10: warning: exported const LEFT_JOINT should have comment or be unexported (golint)
    • Line 11: warning: exported const DOUBLE_JOINT should have comment or be unexported (golint)
    • Line 20: warning: exported type TabListViewPort should have comment or be unexported (golint)
    • Line 25: warning: exported type DataScreen should have comment or be unexported (golint)
    • Line 27: warning: don't use underscores in Go names; struct field tab_view_port should be tabViewPort (golint)
    • Line 28: warning: don't use underscores in Go names; struct field active_tab should be activeTab (golint)
    • Line 29: warning: don't use underscores in Go names; struct field show_tabs should be showTabs (golint)
    • Line 51: warning: don't use underscores in Go names; var do_quit should be doQuit (golint)
    • Line 71: warning: don't use underscores in Go names; var active_tab should be activeTab (golint)
    • Line 85: warning: don't use underscores in Go names; var new_tabs should be newTabs (golint)
    • Line 86: warning: don't use underscores in Go names; range var old_tab should be oldTab (golint)
    • Line 89: warning: don't use underscores in Go names; var file_info should be fileInfo (golint)
    • Line 90: warning: don't use underscores in Go names; var tab_copy should be tabCopy (golint)
    • Line 112: warning: don't use underscores in Go names; var new_tabs should be newTabs (golint)
    • Line 113: warning: don't use underscores in Go names; range var old_tab should be oldTab (golint)
    • Line 149: warning: don't use underscores in Go names; var tab_pos should be tabPos (golint)
    • Line 150: warning: don't use underscores in Go names; var active_tab_start_pos should be activeTabStartPos (golint)
    • Line 151: warning: don't use underscores in Go names; var active_tab_name_len should be activeTabNameLen (golint)
    • Line 155: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 159: warning: don't use underscores in Go names; var tab_pos should be tabPos (golint)
    • Line 160: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 164: warning: don't use underscores in Go names; var active_tab_end_pos should be activeTabEndPos (golint)
    • Line 182: warning: don't use underscores in Go names; var active_tab should be activeTab (golint)
    • Line 186: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 192: warning: don't use underscores in Go names; var name_fg should be nameFg (golint)
    • string_util.go
    • Line 20: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 29: warning: don't use underscores in Go names; var new_string should be newString (golint)
    • Line 34: warning: don't use underscores in Go names; func parameter big_endian should be bigEndian (golint)
    • Line 35: warning: don't use underscores in Go names; var new_string should be newString (golint)
    • Line 46: warning: don't use underscores in Go names; func parameter big_endian should be bigEndian (golint)
    • Line 47: warning: don't use underscores in Go names; var new_string should be newString (golint)
    • Line 62: warning: don't use underscores in Go names; func parameter big_endian should be bigEndian (golint)
    • Line 63: warning: don't use underscores in Go names; var new_string should be newString (golint)
    • tab.go
    • Line 18: warning: exported const EditingOffset should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type EditMode should have comment or be unexported (golint)
    • Line 26: warning: exported type DataViewPort should have comment or be unexported (golint)
    • Line 27: warning: don't use underscores in Go names; struct field bytes_per_row should be bytesPerRow (golint)
    • Line 28: warning: don't use underscores in Go names; struct field number_of_rows should be numberOfRows (golint)
    • Line 29: warning: don't use underscores in Go names; struct field first_row should be firstRow (golint)
    • Line 32: warning: exported type DataTab should have comment or be unexported (golint)
    • Line 33: warning: don't use underscores in Go names; struct field file_info should be fileInfo (golint)
    • Line 37: warning: don't use underscores in Go names; struct field view_port should be viewPort (golint)
    • Line 38: warning: don't use underscores in Go names; struct field prev_mode should be prevMode (golint)
    • Line 39: warning: don't use underscores in Go names; struct field prev_search should be prevSearch (golint)
    • Line 40: warning: don't use underscores in Go names; struct field edit_mode should be editMode (golint)
    • Line 41: warning: don't use underscores in Go names; struct field show_date should be showDate (golint)
    • Line 42: warning: don't use underscores in Go names; struct field is_searching should be isSearching (golint)
    • Line 43: warning: don't use underscores in Go names; struct field search_progress should be searchProgress (golint)
    • Line 44: warning: don't use underscores in Go names; struct field search_progress_channel should be searchProgressChannel (golint)
    • Line 45: warning: don't use underscores in Go names; struct field search_result_channel should be searchResultChannel (golint)
    • Line 46: warning: don't use underscores in Go names; struct field search_quit_channel should be searchQuitChannel (golint)
    • Line 47: warning: don't use underscores in Go names; struct field quit_channel should be quitChannel (golint)
    • Line 48: warning: don't use underscores in Go names; struct field field_editor should be fieldEditor (golint)
    • Line 51: warning: exported function NewDataTab should have comment or be unexported (golint)
    • Line 77: warning: don't use underscores in Go names; var do_quit should be doQuit (golint)
    • Line 79: warning: don't use underscores in Go names; var bytes_read should be bytesRead (golint)
    • Line 85: warning: don't use underscores in Go names; var search_result should be searchResult (golint)
    • Line 108: warning: don't use underscores in Go names; var legend_height should be legendHeight (golint)
    • Line 109: warning: don't use underscores in Go names; var line_height should be lineHeight (golint)
    • Line 110: warning: don't use underscores in Go names; var cursor_row_within_view_port should be cursorRowWithinViewPort (golint)
    • Line 119: warning: don't use underscores in Go names; var new_view_port should be newViewPort (golint)
    • Line 263: warning: don't use underscores in Go names; var new_pos should be newPos (golint)
    • Line 264: warning: don't use underscores in Go names; var is_done should be isDone (golint)
    • Line 266: warning: don't use underscores in Go names; var string_value should be stringValue (golint)
    • Line 288: warning: don't use underscores in Go names; var new_value should be newValue (golint)
    • Line 289: warning: don't use underscores in Go names; var delta_pos should be deltaPos (golint)
    • Line 374: warning: don't use underscores in Go names; var scanned_data should be scannedData (golint)
    • Line 379: warning: don't use underscores in Go names; var scanned_value should be scannedValue (golint)
    • Line 380: warning: don't use underscores in Go names; var rescanned_data should be rescannedData (golint)
    • Line 388: warning: don't use underscores in Go names; method parameter vertical_offset should be verticalOffset (golint)
    • Line 391: warning: don't use underscores in Go names; var view_port should be viewPort (golint)
    • Line 394: warning: don't use underscores in Go names; var start_x should be startX (golint)
    • Line 394: warning: don't use underscores in Go names; var start_y should be startY (golint)
    • Line 396: warning: don't use underscores in Go names; var x_pad should be xPad (golint)
    • Line 397: warning: don't use underscores in Go names; var line_height should be lineHeight (golint)
    • Line 400: warning: don't use underscores in Go names; var last_y should be lastY (golint)
    • Line 401: warning: don't use underscores in Go names; var last_x should be lastX (golint)
    • Line 405: warning: don't use underscores in Go names; var cursor_x should be cursorX (golint)
    • Line 406: warning: don't use underscores in Go names; var cursor_y should be cursorY (golint)
    • Line 407: warning: don't use underscores in Go names; var cursor_length should be cursorLength (golint)
    • Line 410: warning: don't use underscores in Go names; var rune_bg should be runeBg (golint)
    • Line 413: warning: don't use underscores in Go names; var hex_fg should be hexFg (golint)
    • Line 414: warning: don't use underscores in Go names; var hex_bg should be hexBg (golint)
    • Line 415: warning: don't use underscores in Go names; var code_fg should be codeFg (golint)
    • Line 416: warning: don't use underscores in Go names; var rune_fg should be runeFg (golint)
    • Line 462: warning: don't use underscores in Go names; var x_copy should be xCopy (golint)
    • Line 463: warning: don't use underscores in Go names; var y_copy should be yCopy (golint)
    • Line 475: warning: don't use underscores in Go names; var y_copy should be yCopy (golint)
    • Line 493: warning: don't use underscores in Go names; var total_length should be totalLength (golint)
    • Line 495: warning: don't use underscores in Go names; var x_copy should be xCopy (golint)
    • Line 496: warning: don't use underscores in Go names; var y_copy should be yCopy (golint)
    • Line 500: warning: don't use underscores in Go names; var y_copy should be yCopy (golint)
    • Line 510: warning: don't use underscores in Go names; var y_copy should be yCopy (golint)
    • Line 523: warning: don't use underscores in Go names; var widget_width should be widgetWidth (golint)
    • Line 524: warning: don't use underscores in Go names; var widget_height should be widgetHeight (golint)
    • widget_offset.go
    • Line 5: warning: exported type OffsetWidget should have comment or be unexported (golint)
    • Line 26: warning: don't use underscores in Go names; var y_pos should be yPos (golint)
    • Line 27: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 30: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 35: warning: don't use underscores in Go names; var last_pos should be lastPos (golint)
    • Line 36: warning: don't use underscores in Go names; var last_pos_len should be lastPosLen (golint)
    • Line 44: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 56: warning: don't use underscores in Go names; var fifty_sixths should be fiftySixths (golint)
    • Line 67: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 68: warning: don't use underscores in Go names; var x_pos should be xPos (golint)
    • Line 82: warning: don't use underscores in Go names; var epoch_string should be epochString (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!