Documentation ¶
Index ¶
- Constants
- func InjectCyclomaticComplex(s *CycloComplex)
- func LoadCyclomaticComplex() baseiface.ISingleton
- type CycloComplex
- func (cc *CycloComplex) CcCheckAllScan(topNums ...int)
- func (cc *CycloComplex) CcCheckFileScan(file string, topNums ...int) error
- func (cc *CycloComplex) CcCheckScan(topNums ...int)
- func (cc *CycloComplex) CcMkdir()
- func (cc *CycloComplex) Ccrmdir()
- func (cc *CycloComplex) ExecScanCmd()
- func (cc *CycloComplex) ExistGoFiles(dirPath string) (bool, error)
- func (cc *CycloComplex) FindDirs(rootdir string) error
- func (cc *CycloComplex) Scan() ([]string, error)
- func (cc *CycloComplex) ScanAll() ([]string, error)
- func (cc *CycloComplex) ScanFile(file string) ([]string, error)
Constants ¶
View Source
const ( ScanMode_Cc = iota ScanMode_ALL ScanMode_File )
Variables ¶
This section is empty.
Functions ¶
func InjectCyclomaticComplex ¶
func InjectCyclomaticComplex(s *CycloComplex)
func LoadCyclomaticComplex ¶
func LoadCyclomaticComplex() baseiface.ISingleton
Types ¶
type CycloComplex ¶
type CycloComplex struct { basedto.BaseEntitySingle Dirs []string Report []string Rootdir, DestDir string Cmd string Cmds []string ScanMode int // contains filtered or unexported fields }
func FindBeanCycloComplex ¶
func FindBeanCycloComplex() *CycloComplex
func NewCycloComplex ¶
func NewCycloComplex() *CycloComplex
func (*CycloComplex) CcCheckAllScan ¶
func (cc *CycloComplex) CcCheckAllScan(topNums ...int)
func (*CycloComplex) CcCheckFileScan ¶
func (cc *CycloComplex) CcCheckFileScan(file string, topNums ...int) error
func (*CycloComplex) CcCheckScan ¶
func (cc *CycloComplex) CcCheckScan(topNums ...int)
func (*CycloComplex) CcMkdir ¶
func (cc *CycloComplex) CcMkdir()
func (*CycloComplex) Ccrmdir ¶
func (cc *CycloComplex) Ccrmdir()
func (*CycloComplex) ExecScanCmd ¶
func (cc *CycloComplex) ExecScanCmd()
func (*CycloComplex) ExistGoFiles ¶
func (cc *CycloComplex) ExistGoFiles(dirPath string) (bool, error)
func (*CycloComplex) FindDirs ¶
func (cc *CycloComplex) FindDirs(rootdir string) error
func (*CycloComplex) Scan ¶
func (cc *CycloComplex) Scan() ([]string, error)
func (*CycloComplex) ScanAll ¶
func (cc *CycloComplex) ScanAll() ([]string, error)
Click to show internal directories.
Click to hide internal directories.