Preparing report...

Report for github.com/yumaojun03/dmidecode

A+    Excellent!    Found 18 issues across 58 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo96%

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.


golint72%

Golint is a linter for Go source code.

    • dmidecode/parser/port/types.go
    • Line 3: warning: exported type ConnectorType should have comment or be unexported (golint)
    • Line 6: warning: exported const ConnectorTypeNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 10: warning: don't use underscores in Go names; const ConnectorTypeDB_25pinmale should be ConnectorTypeDB25pinmale (golint)
    • Line 11: warning: don't use underscores in Go names; const ConnectorTypeDB_25pinfemale should be ConnectorTypeDB25pinfemale (golint)
    • Line 12: warning: don't use underscores in Go names; const ConnectorTypeDB_15pinmale should be ConnectorTypeDB15pinmale (golint)
    • Line 13: warning: don't use underscores in Go names; const ConnectorTypeDB_15pinfemale should be ConnectorTypeDB15pinfemale (golint)
    • Line 14: warning: don't use underscores in Go names; const ConnectorTypeDB_9pinmale should be ConnectorTypeDB9pinmale (golint)
    • Line 15: warning: don't use underscores in Go names; const ConnectorTypeDB_9pinfemale should be ConnectorTypeDB9pinfemale (golint)
    • Line 16: warning: don't use underscores in Go names; const ConnectorTypeRJ_11 should be ConnectorTypeRJ11 (golint)
    • Line 17: warning: don't use underscores in Go names; const ConnectorTypeRJ_45 should be ConnectorTypeRJ45 (golint)
    • Line 18: warning: don't use underscores in Go names; const ConnectorType50_pinMiniSCSI should be ConnectorType50PinMiniSCSI (golint)
    • Line 19: warning: don't use underscores in Go names; const ConnectorTypeMini_DIN should be ConnectorTypeMiniDIN (golint)
    • Line 20: warning: don't use underscores in Go names; const ConnectorTypeMicro_DIN should be ConnectorTypeMicroDIN (golint)
    • Line 23: warning: don't use underscores in Go names; const ConnectorTypeHP_HIL should be ConnectorTypeHPHIL (golint)
    • Line 26: warning: don't use underscores in Go names; const ConnectorTypeCircularDIN_8male should be ConnectorTypeCircularDIN8male (golint)
    • Line 27: warning: don't use underscores in Go names; const ConnectorTypeCircularDIN_8female should be ConnectorTypeCircularDIN8female (golint)
    • Line 30: warning: don't use underscores in Go names; const ConnectorType9_pinDualInlinepin10cut should be ConnectorType9PinDualInlinepin10cut (golint)
    • Line 31: warning: don't use underscores in Go names; const ConnectorType25_pinDualInlinepin26cut should be ConnectorType25PinDualInlinepin26cut (golint)
    • Line 32: warning: don't use underscores in Go names; const ConnectorType50_pinDualInline should be ConnectorType50PinDualInline (golint)
    • Line 33: warning: don't use underscores in Go names; const ConnectorType68_pinDualInline should be ConnectorType68PinDualInline (golint)
    • Line 34: warning: don't use underscores in Go names; const ConnectorTypeOnBoardSoundInputfromCD_ROM should be ConnectorTypeOnBoardSoundInputfromCDROM (golint)
    • Line 35: warning: don't use underscores in Go names; const ConnectorTypeMini_CentronicsType_14 should be ConnectorTypeMiniCentronicsType14 (golint)
    • Line 36: warning: don't use underscores in Go names; const ConnectorTypeMini_CentronicsType_26 should be ConnectorTypeMiniCentronicsType26 (golint)
    • Line 37: warning: don't use underscores in Go names; const ConnectorTypeMini_jackheadphones should be ConnectorTypeMiniJackheadphones (golint)
    • Line 41: warning: don't use underscores in Go names; const ConnectorTypePC_98 should be ConnectorTypePC98 (golint)
    • Line 42: warning: don't use underscores in Go names; const ConnectorTypePC_98Hireso should be ConnectorTypePC98Hireso (golint)
    • Line 43: warning: don't use underscores in Go names; const ConnectorTypePC_H98 should be ConnectorTypePCH98 (golint)
    • Line 44: warning: don't use underscores in Go names; const ConnectorTypePC_98Note should be ConnectorTypePC98Note (golint)
    • Line 45: warning: don't use underscores in Go names; const ConnectorTypePC_98Full should be ConnectorTypePC98Full (golint)
    • Line 96: warning: exported type PortType should have comment or be unexported (golint)
    • Line 99: warning: exported const PortTypeNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 124: warning: don't use underscores in Go names; const PortTypePC_98 should be PortTypePC98 (golint)
    • Line 125: warning: don't use underscores in Go names; const PortTypePC_98_Hireso should be PortTypePC98Hireso (golint)
    • Line 126: warning: don't use underscores in Go names; const PortTypePC_H98 should be PortTypePCH98 (golint)
    • dmidecode/parser/slot/types.go
    • Line 3: warning: exported type Type should have comment or be unexported (golint)
    • Line 6: warning: exported const TypeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: don't use underscores in Go names; const TypeVL_VESA should be TypeVLVESA (golint)
    • Line 19: warning: don't use underscores in Go names; const TypePCI_66MHzCapable should be TypePCI66MHzCapable (golint)
    • Line 23: warning: don't use underscores in Go names; const TypePCI_X should be TypePCIX (golint)
    • Line 41: warning: don't use underscores in Go names; const TypePC_98C20 should be TypePC98C20 (golint)
    • Line 41: warning: exported const TypePC_98C20 should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: don't use underscores in Go names; const TypePC_98C24 should be TypePC98C24 (golint)
    • Line 43: warning: don't use underscores in Go names; const TypePC_98E should be TypePC98E (golint)
    • Line 44: warning: don't use underscores in Go names; const TypePC_98LocalBus should be TypePC98LocalBus (golint)
    • Line 45: warning: don't use underscores in Go names; const TypePC_98Card should be TypePC98Card (golint)
    • Line 136: warning: exported type DataBusWidth should have comment or be unexported (golint)
    • Line 139: warning: exported const DataBusWidthOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 175: warning: exported type Usage should have comment or be unexported (golint)
    • Line 178: warning: exported const UsageOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 194: warning: exported type Length should have comment or be unexported (golint)
    • Line 197: warning: exported const LengthOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 213: warning: exported type ID should have comment or be unexported (golint)
    • Line 215: warning: exported type Characteristics1 should have comment or be unexported (golint)
    • Line 218: warning: exported const Characteristicsunknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 222: warning: don't use underscores in Go names; const CharacteristicsPCCardslotsupportsPCCard_16 should be CharacteristicsPCCardslotsupportsPCCard16 (golint)
    • Line 242: warning: exported type Characteristics2 should have comment or be unexported (golint)
    • Line 245: warning: exported const Characteristics2PCIslotsupportsPowerManagementEventsignal should have comment (or a comment on this block) or be unexported (golint)
    • Line 246: warning: don't use underscores in Go names; const Characteristics2Slotsupportshot_plugdevices should be Characteristics2SlotsupportshotPlugdevices (golint)
    • Line 261: warning: exported type SegmengGroupNumber should have comment or be unexported (golint)
    • Line 263: warning: exported type Number should have comment or be unexported (golint)
    • dmidecode/parser/chassis/types.go
    • Line 6: warning: exported const OUT_OF_SPEC should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported const Other should have comment (or a comment on this block) or be unexported (golint)
    • Line 98: warning: exported const StateOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 118: warning: exported type ContainedElementType should have comment or be unexported (golint)
    • Line 120: warning: exported type ContainedElements should have comment or be unexported (golint)
    • Line 126: warning: exported type SecurityStatus should have comment or be unexported (golint)
    • Line 129: warning: exported const ChassisSecurityStatusOther should have comment (or a comment on this block) or be unexported (golint)
    • dmidecode/parser/onboard/types.go
    • Line 7: warning: exported const ExtendedInformationTypeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported const DeviceDisabled should have comment (or a comment on this block) or be unexported (golint)
    • dmidecode/parser/processor/processor_types.go
    • Line 8: warning: exported type ProcessorType should have comment or be unexported (golint)
    • Line 11: warning: exported const ProcessorTypeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type ProcessorFamily should have comment or be unexported (golint)
    • Line 34: warning: exported const ProcessorOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 89: warning: don't use underscores in Go names; const ProcessorAMDTurionTMIIUltraDual_CoreMobileMProcessorFamily should be ProcessorAMDTurionTMIIUltraDualCoreMobileMProcessorFamily (golint)
    • Line 90: warning: don't use underscores in Go names; const ProcessorAMDTurionTMIIDual_CoreMobileMProcessorFamily should be ProcessorAMDTurionTMIIDualCoreMobileMProcessorFamily (golint)
    • Line 91: warning: don't use underscores in Go names; const ProcessorAMDAthlonTMIIDual_CoreMProcessorFamily should be ProcessorAMDAthlonTMIIDualCoreMProcessorFamily (golint)
    • Line 103: warning: don't use underscores in Go names; const ProcessorAMDC_SeriesProcessor should be ProcessorAMDCSeriesProcessor (golint)
    • Line 104: warning: don't use underscores in Go names; const ProcessorAMDE_SeriesProcessor should be ProcessorAMDESeriesProcessor (golint)
    • Line 105: warning: don't use underscores in Go names; const ProcessorAMDA_SeriesProcessor should be ProcessorAMDASeriesProcessor (golint)
    • Line 106: warning: don't use underscores in Go names; const ProcessorAMDG_SeriesProcessor should be ProcessorAMDGSeriesProcessor (golint)
    • Line 107: warning: don't use underscores in Go names; const ProcessorAMDZ_SeriesProcessor should be ProcessorAMDZSeriesProcessor (golint)
    • Line 108: warning: don't use underscores in Go names; const ProcessorAMDR_SeriesProcessor should be ProcessorAMDRSeriesProcessor (golint)
    • Line 168: warning: don't use underscores in Go names; const ProcessorDual_CoreAMDOpteronTMProcessorFamily should be ProcessorDualCoreAMDOpteronTMProcessorFamily (golint)
    • Line 169: warning: don't use underscores in Go names; const ProcessorAMDAthlonTM64X2Dual_CoreProcessorFamily should be ProcessorAMDAthlonTM64X2DualCoreProcessorFamily (golint)
    • Line 171: warning: don't use underscores in Go names; const ProcessorQuad_CoreAMDOpteronTMProcessorFamily should be ProcessorQuadCoreAMDOpteronTMProcessorFamily (golint)
    • Line 172: warning: don't use underscores in Go names; const ProcessorThird_GenerationAMDOpteronTMProcessorFamily should be ProcessorThirdGenerationAMDOpteronTMProcessorFamily (golint)
    • Line 173: warning: don't use underscores in Go names; const ProcessorAMDPhenomTMFXQuad_CoreProcessorFamily should be ProcessorAMDPhenomTMFXQuadCoreProcessorFamily (golint)
    • Line 174: warning: don't use underscores in Go names; const ProcessorAMDPhenomTMX4Quad_CoreProcessorFamily should be ProcessorAMDPhenomTMX4QuadCoreProcessorFamily (golint)
    • Line 175: warning: don't use underscores in Go names; const ProcessorAMDPhenomTMX2Dual_CoreProcessorFamily should be ProcessorAMDPhenomTMX2DualCoreProcessorFamily (golint)
    • Line 176: warning: don't use underscores in Go names; const ProcessorAMDAthlonTMX2Dual_CoreProcessorFamily should be ProcessorAMDAthlonTMX2DualCoreProcessorFamily (golint)
    • Line 177: warning: don't use underscores in Go names; const ProcessorPA_RISCFamily should be ProcessorPARISCFamily (golint)
    • Line 178: warning: don't use underscores in Go names; const ProcessorPA_RISC8500 should be ProcessorPARISC8500 (golint)
    • Line 179: warning: don't use underscores in Go names; const ProcessorPA_RISC8000 should be ProcessorPARISC8000 (golint)
    • Line 180: warning: don't use underscores in Go names; const ProcessorPA_RISC7300LC should be ProcessorPARISC7300LC (golint)
    • Line 181: warning: don't use underscores in Go names; const ProcessorPA_RISC7200 should be ProcessorPARISC7200 (golint)
    • Line 182: warning: don't use underscores in Go names; const ProcessorPA_RISC7100LC should be ProcessorPARISC7100LC (golint)
    • Line 183: warning: don't use underscores in Go names; const ProcessorPA_RISC7100 should be ProcessorPARISC7100 (golint)
    • Line 194: warning: don't use underscores in Go names; const ProcessorQuad_CoreIntelXeonprocessor3200Series should be ProcessorQuadCoreIntelXeonprocessor3200Series (golint)
    • Line 195: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessor3000Series should be ProcessorDualCoreIntelXeonprocessor3000Series (golint)
    • Line 196: warning: don't use underscores in Go names; const ProcessorQuad_CoreIntelXeonprocessor5300Series should be ProcessorQuadCoreIntelXeonprocessor5300Series (golint)
    • Line 197: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessor5100Series should be ProcessorDualCoreIntelXeonprocessor5100Series (golint)
    • Line 198: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessor5000Series should be ProcessorDualCoreIntelXeonprocessor5000Series (golint)
    • Line 199: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessorLV should be ProcessorDualCoreIntelXeonprocessorLV (golint)
    • Line 200: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessorULV should be ProcessorDualCoreIntelXeonprocessorULV (golint)
    • Line 201: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessor7100Series should be ProcessorDualCoreIntelXeonprocessor7100Series (golint)
    • Line 202: warning: don't use underscores in Go names; const ProcessorQuad_CoreIntelXeonprocessor5400Series should be ProcessorQuadCoreIntelXeonprocessor5400Series (golint)
    • Line 203: warning: don't use underscores in Go names; const ProcessorQuad_CoreIntelXeonprocessor should be ProcessorQuadCoreIntelXeonprocessor (golint)
    • Line 204: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessor5200Series should be ProcessorDualCoreIntelXeonprocessor5200Series (golint)
    • Line 205: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessor7200Series should be ProcessorDualCoreIntelXeonprocessor7200Series (golint)
    • Line 206: warning: don't use underscores in Go names; const ProcessorQuad_CoreIntelXeonprocessor7300Series should be ProcessorQuadCoreIntelXeonprocessor7300Series (golint)
    • Line 207: warning: don't use underscores in Go names; const ProcessorQuad_CoreIntelXeonprocessor7400Series should be ProcessorQuadCoreIntelXeonprocessor7400Series (golint)
    • Line 208: warning: don't use underscores in Go names; const ProcessorMulti_CoreIntelXeonprocessor7400Series should be ProcessorMultiCoreIntelXeonprocessor7400Series (golint)
    • Line 232: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelCeleronprocessor should be ProcessorDualCoreIntelCeleronprocessor (golint)
    • Line 243: warning: don't use underscores in Go names; const ProcessorVIAC7TM_MProcessorFamily should be ProcessorVIAC7TMMProcessorFamily (golint)
    • Line 244: warning: don't use underscores in Go names; const ProcessorVIAC7TM_DProcessorFamily should be ProcessorVIAC7TMDProcessorFamily (golint)
    • Line 247: warning: don't use underscores in Go names; const ProcessorMulti_CoreIntelXeonprocessor should be ProcessorMultiCoreIntelXeonprocessor (golint)
    • Line 248: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessor3xxxSeries should be ProcessorDualCoreIntelXeonprocessor3xxxSeries (golint)
    • Line 249: warning: don't use underscores in Go names; const ProcessorQuad_CoreIntelXeonprocessor3xxxSeries should be ProcessorQuadCoreIntelXeonprocessor3xxxSeries (golint)
    • Line 251: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessor5xxxSeries should be ProcessorDualCoreIntelXeonprocessor5xxxSeries (golint)
    • Line 252: warning: don't use underscores in Go names; const ProcessorQuad_CoreIntelXeonprocessor5xxxSeries should be ProcessorQuadCoreIntelXeonprocessor5xxxSeries (golint)
    • Line 254: warning: don't use underscores in Go names; const ProcessorDual_CoreIntelXeonprocessor7xxxSeries should be ProcessorDualCoreIntelXeonprocessor7xxxSeries (golint)
    • Line 255: warning: don't use underscores in Go names; const ProcessorQuad_CoreIntelXeonprocessor7xxxSeries should be ProcessorQuadCoreIntelXeonprocessor7xxxSeries (golint)
    • Line 256: warning: don't use underscores in Go names; const ProcessorMulti_CoreIntelXeonprocessor7xxxSeries should be ProcessorMultiCoreIntelXeonprocessor7xxxSeries (golint)
    • Line 257: warning: don't use underscores in Go names; const ProcessorMulti_CoreIntelXeonprocessor3400Series should be ProcessorMultiCoreIntelXeonprocessor3400Series (golint)
    • Line 263: warning: don't use underscores in Go names; const ProcessorEmbeddedAMDOpteronTMQuad_CoreProcessorFamily should be ProcessorEmbeddedAMDOpteronTMQuadCoreProcessorFamily (golint)
    • Line 264: warning: don't use underscores in Go names; const ProcessorAMDPhenomTMTriple_CoreProcessorFamily should be ProcessorAMDPhenomTMTripleCoreProcessorFamily (golint)
    • Line 265: warning: don't use underscores in Go names; const ProcessorAMDTurionTMUltraDual_CoreMobileProcessorFamily should be ProcessorAMDTurionTMUltraDualCoreMobileProcessorFamily (golint)
    • Line 266: warning: don't use underscores in Go names; const ProcessorAMDTurionTMDual_CoreMobileProcessorFamily should be ProcessorAMDTurionTMDualCoreMobileProcessorFamily (golint)
    • Line 267: warning: don't use underscores in Go names; const ProcessorAMDAthlonTMDual_CoreProcessorFamily should be ProcessorAMDAthlonTMDualCoreProcessorFamily (golint)
    • Line 271: warning: don't use underscores in Go names; const ProcessorSix_CoreAMDOpteronTMProcessorFamily should be ProcessorSixCoreAMDOpteronTMProcessorFamily (golint)
    • Line 294: warning: don't use underscores in Go names; const ProcessorSH_3 should be ProcessorSH3 (golint)
    • Line 295: warning: don't use underscores in Go names; const ProcessorSH_4 should be ProcessorSH4 (golint)
    • Line 584: warning: exported type ProcessorID should have comment or be unexported (golint)
    • Line 595: warning: exported type ProcessorVoltage should have comment or be unexported (golint)
    • Line 598: warning: exported const ProcessorVoltage5V should have comment (or a comment on this block) or be unexported (golint)
    • Line 620: warning: exported type ProcessorStatus should have comment or be unexported (golint)
    • Line 623: warning: exported const ProcessorStatusUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 658: warning: exported type ProcessorUpgrade should have comment or be unexported (golint)
    • Line 662: warning: exported const ProcessorUpgradeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 671: warning: don't use underscores in Go names; const ProcessorUpgrade370_pinsocket should be ProcessorUpgrade370Pinsocket (golint)
    • Line 758: warning: exported type ProcessorCharacteristics should have comment or be unexported (golint)
    • Line 761: warning: exported const ProcessorCharacteristicsReserved should have comment (or a comment on this block) or be unexported (golint)
    • Line 763: warning: don't use underscores in Go names; const ProcessorCharacteristics64_bitCapable should be ProcessorCharacteristics64BitCapable (golint)
    • Line 764: warning: don't use underscores in Go names; const ProcessorCharacteristicsMulti_Core should be ProcessorCharacteristicsMultiCore (golint)
    • dmidecode/parser/battery/types.go
    • Line 3: warning: exported type DeviceChemistry should have comment or be unexported (golint)
    • Line 6: warning: exported const Other should have comment (or a comment on this block) or be unexported (golint)
    • dmidecode/parser/memory/array_types.go
    • Line 3: warning: exported type PhysicalMemoryArrayLocation should have comment or be unexported (golint)
    • Line 6: warning: exported const PhysicalMemoryArrayLocationOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationISAadd_oncard should be PhysicalMemoryArrayLocationISAaddOncard (golint)
    • Line 10: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationEISAadd_oncard should be PhysicalMemoryArrayLocationEISAaddOncard (golint)
    • Line 11: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationPCIadd_oncard should be PhysicalMemoryArrayLocationPCIaddOncard (golint)
    • Line 12: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationMCAadd_oncard should be PhysicalMemoryArrayLocationMCAaddOncard (golint)
    • Line 13: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationPCMCIAadd_oncard should be PhysicalMemoryArrayLocationPCMCIAaddOncard (golint)
    • Line 14: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationProprietaryadd_oncard should be PhysicalMemoryArrayLocationProprietaryaddOncard (golint)
    • Line 16: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationPC_98C20add_oncard should be PhysicalMemoryArrayLocationPC98C20addOncard (golint)
    • Line 17: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationPC_98C24add_oncard should be PhysicalMemoryArrayLocationPC98C24addOncard (golint)
    • Line 18: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationPC_98Eadd_oncard should be PhysicalMemoryArrayLocationPC98EaddOncard (golint)
    • Line 19: warning: don't use underscores in Go names; const PhysicalMemoryArrayLocationPC_98Localbusadd_oncard should be PhysicalMemoryArrayLocationPC98LocalbusaddOncard (golint)
    • Line 42: warning: exported type PhysicalMemoryArrayUse should have comment or be unexported (golint)
    • Line 45: warning: exported const PhysicalMemoryArrayUseOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: don't use underscores in Go names; const PhysicalMemoryArrayUseNon_volatileRAM should be PhysicalMemoryArrayUseNonVolatileRAM (golint)
    • Line 67: warning: exported type PhysicalMemoryArrayErrorCorrection should have comment or be unexported (golint)
    • Line 70: warning: exported const PhysicalMemoryArrayErrorCorrectionOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: warning: don't use underscores in Go names; const PhysicalMemoryArrayErrorCorrectionSingle_bitECC should be PhysicalMemoryArrayErrorCorrectionSingleBitECC (golint)
    • Line 75: warning: don't use underscores in Go names; const PhysicalMemoryArrayErrorCorrectionMulti_bitECC should be PhysicalMemoryArrayErrorCorrectionMultiBitECC (golint)
    • dmidecode/parser/memory/device_types.go
    • Line 7: warning: exported type MemoryDeviceFormFactor should have comment or be unexported (golint)
    • Line 10: warning: exported const MemoryDeviceFormFactorOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: don't use underscores in Go names; const MemoryDeviceFormFactorFB_DIMM should be MemoryDeviceFormFactorFBDIMM (golint)
    • Line 48: warning: exported type MemoryDeviceType should have comment or be unexported (golint)
    • Line 51: warning: exported const MemoryDeviceTypeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: don't use underscores in Go names; const MemoryDeviceTypeDDR2FB_DIMM should be MemoryDeviceTypeDDR2FBDIMM (golint)
    • Line 119: warning: exported type MemoryDeviceTypeDetail should have comment or be unexported (golint)
    • Line 122: warning: exported const MemoryDeviceTypeDetailReserved should have comment (or a comment on this block) or be unexported (golint)
    • Line 125: warning: don't use underscores in Go names; const MemoryDeviceTypeDetailFast_paged should be MemoryDeviceTypeDetailFastPaged (golint)
    • Line 127: warning: don't use underscores in Go names; const MemoryDeviceTypeDetailPseudo_static should be MemoryDeviceTypeDetailPseudoStatic (golint)
    • Line 134: warning: don't use underscores in Go names; const MemoryDeviceTypeDetailNon_volatile should be MemoryDeviceTypeDetailNonVolatile (golint)
    • dmidecode/parser/processor/cache_types.go
    • Line 5: warning: exported type CacheOperationalMode should have comment or be unexported (golint)
    • Line 8: warning: exported const CacheOperationalModeWriteThrough should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type CacheLocation should have comment or be unexported (golint)
    • Line 27: warning: exported const CacheLocationInternal should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported type CacheLevel should have comment or be unexported (golint)
    • Line 46: warning: exported const CacheLevel1 should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: exported type CacheConfiguration should have comment or be unexported (golint)
    • Line 68: warning: exported function NewCacheConfiguration should have comment or be unexported (golint)
    • Line 92: warning: exported type CacheGranularity should have comment or be unexported (golint)
    • Line 95: warning: exported const CacheGranularity1K should have comment (or a comment on this block) or be unexported (golint)
    • Line 107: warning: exported type CacheSize should have comment or be unexported (golint)
    • Line 112: warning: exported function NewCacheSize should have comment or be unexported (golint)
    • Line 123: warning: exported type CacheSRAMType should have comment or be unexported (golint)
    • Line 126: warning: exported const CacheSRAMTypeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 150: warning: exported type CacheSpeed should have comment or be unexported (golint)
    • Line 152: warning: exported type CacheErrorCorrectionType should have comment or be unexported (golint)
    • Line 155: warning: exported const CacheErrorCorrectionTypeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 175: warning: exported type CacheSystemCacheType should have comment or be unexported (golint)
    • Line 178: warning: exported const CacheSystemCacheTypeOther should have comment (or a comment on this block) or be unexported (golint)
    • Line 196: warning: exported type CacheAssociativity should have comment or be unexported (golint)
    • Line 199: warning: exported const CacheAssociativityOther should have comment (or a comment on this block) or be unexported (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!


misspell98%

Misspell Finds commonly misspelled English words