vorteil/vorteil

View on GitHub

Showing 546 of 546 total issues

exported type InodeCore should have comment or be unexported
Open

type InodeCore struct {
Severity: Minor
Found in pkg/xfs/structures.go by golint

error strings should not be capitalized or end with punctuation or a newline
Open

            if err != nil && err.Error() != fmt.Errorf("The pipe is being closed.").Error() && err.Error() != fmt.Errorf("write unix @->%s: write: broken pipe", filepath.ToSlash(filepath.Join(v.folder, "monitor.sock"))).Error() {
Severity: Minor
Found in pkg/virtualizers/qemu/virtualizer.go by golint

exported function NewSparseWriter should have comment or be unexported
Open

func NewSparseWriter(w io.WriteSeeker, h HolePredictor) (*SparseWriter, error) {
Severity: Minor
Found in pkg/vmdk/sparse.go by golint

exported type InodeBTRecord should have comment or be unexported
Open

type InodeBTRecord struct {
Severity: Minor
Found in pkg/xfs/structures.go by golint

exported type Dirent should have comment or be unexported
Open

type Dirent struct {
Severity: Minor
Found in pkg/vdecompiler/fs.go by golint

exported const BaseAddr should have comment (or a comment on this block) or be unexported
Open

    BaseAddr = "10.26.10.0"
Severity: Minor
Found in pkg/virtualizers/iputil/ip.go by golint

exported method SparseWriter.Seek should have comment or be unexported
Open

func (w *SparseWriter) Seek(offset int64, whence int) (int64, error) {
Severity: Minor
Found in pkg/vmdk/sparse.go by golint

exported method Compiler.SetMinimumInodes should have comment or be unexported
Open

func (c *Compiler) SetMinimumInodes(inodes int64) {
Severity: Minor
Found in pkg/xfs/compiler.go by golint

should replace blockNo += 1 with blockNo++
Open

        blockNo += 1
Severity: Minor
Found in pkg/xfs/dir.go by golint

exported type SuperBlock should have comment or be unexported
Open

type SuperBlock struct {
Severity: Minor
Found in pkg/xfs/structures.go by golint

exported type Dir2UnusedEntry should have comment or be unexported
Open

type Dir2UnusedEntry struct {
Severity: Minor
Found in pkg/xfs/structures.go by golint

exported type BlockInfo should have comment or be unexported
Open

type BlockInfo struct {
Severity: Minor
Found in pkg/xfs/structures.go by golint

exported type XLogRecHeader should have comment or be unexported
Open

type XLogRecHeader struct {
Severity: Minor
Found in pkg/xfs/structures.go by golint

exported type Dir2FreeIndexHeader should have comment or be unexported
Open

type Dir2FreeIndexHeader struct {
Severity: Minor
Found in pkg/xfs/structures.go by golint

error strings should not be capitalized or end with punctuation or a newline
Open

            if err != nil && err.Error() != fmt.Errorf("The pipe is being closed.").Error() && err.Error() != fmt.Errorf("write unix ->%s: write: broken pipe", filepath.ToSlash(filepath.Join(v.folder, "monitor.sock"))).Error() && err.Error() != fmt.Errorf("write unix @->%s: write: broken pipe", filepath.ToSlash(filepath.Join(v.folder, "monitor.sock"))).Error() {
Severity: Minor
Found in pkg/virtualizers/qemu/virtualizer.go by golint

exported method Virtualizer.Bind should have comment or be unexported
Open

func (v *Virtualizer) Bind(args string, i int, j int, protocol string, port virtualizers.RouteMap, networkType string) (string, string, bool, error) {
Severity: Minor
Found in pkg/virtualizers/qemu/virtualizer.go by golint

error strings should not be capitalized or end with punctuation or a newline
Open

            return fmt.Errorf("unable to listen on unix socket within timeframe.")

exported method Compiler.Compile should have comment or be unexported
Open

func (c *Compiler) Compile(ctx context.Context, w io.WriteSeeker) error {
Severity: Minor
Found in pkg/xfs/compiler.go by golint

should replace x += 1 with x++
Open

                        x += 1  // node block
Severity: Minor
Found in pkg/xfs/xfs.go by golint

exported method CLIRemoteManager.Latest should have comment or be unexported
Open

func (mgr *CLIRemoteManager) Latest() (out string, err error) {
Severity: Minor
Found in pkg/vkern/cli.go by golint
Severity
Category
Status
Source
Language