Documentation ¶
Index ¶
- func GetCalledClasses(class BSDataStruct, maps map[string]bool) []string
- func SortSmellByType(models []BadSmellModel, filterFunc func(key string) bool) map[string][]BadSmellModel
- func WithoutGetterSetterClass(fullMethods []BSFunction) int
- type BSDataStruct
- type BSFunction
- type BadSmellModel
- type ClassBadSmellInfo
- type FunctionBSInfo
- type IfParInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCalledClasses ¶
func GetCalledClasses(class BSDataStruct, maps map[string]bool) []string
fixme java lambda & recursive
func SortSmellByType ¶
func SortSmellByType(models []BadSmellModel, filterFunc func(key string) bool) map[string][]BadSmellModel
func WithoutGetterSetterClass ¶
func WithoutGetterSetterClass(fullMethods []BSFunction) int
Types ¶
type BSDataStruct ¶
type BSDataStruct struct { core_domain.CodeDataStruct Functions []BSFunction DataStructBS ClassBadSmellInfo }
func NewJFullClassNode ¶
func NewJFullClassNode() BSDataStruct
func (*BSDataStruct) HasCallSuper ¶
func (b *BSDataStruct) HasCallSuper() bool
type BSFunction ¶
type BSFunction struct { core_domain.CodeFunction FunctionBody string FunctionBS FunctionBSInfo }
type BadSmellModel ¶
type BadSmellModel struct { File string `json:"EntityName,omitempty"` Line string `json:"Line,omitempty"` Bs string `json:"BS,omitempty"` Description string `json:"Description,omitempty"` Size int `size:"Description,omitempty"` }
func FilterBadSmellList ¶
func FilterBadSmellList(models []BadSmellModel, ignoreRules map[string]bool) []BadSmellModel
type ClassBadSmellInfo ¶
type FunctionBSInfo ¶
func NewMethodBadSmellInfo ¶
func NewMethodBadSmellInfo() FunctionBSInfo
Click to show internal directories.
Click to hide internal directories.