analyze

package
v0.0.0-...-bdf0c9e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAll

func RunAll(c *fetch.Context, sg []*fetch.Stargazer, rs map[string]*fetch.Repo) error

RunAll runs all analyses.

func RunAttributesByTime

func RunAttributesByTime(c *fetch.Context, sg []*fetch.Stargazer, rs map[string]*fetch.Repo) error

RunCumulativeStars creates a table of date and cumulative star count for the provided stargazers.

func RunCommitters

func RunCommitters(c *fetch.Context, sg []*fetch.Stargazer, rs map[string]*fetch.Repo) error

RunCommitters lists stargazers by commits to subscribed repos, from most prolific committer to least.

func RunCorrelatedRepos

func RunCorrelatedRepos(c *fetch.Context, listType string, sg []*fetch.Stargazer, rs map[string]*fetch.Repo) error

RunCorrelatedRepos creates a map from repo name to count of repos for repo lists of each stargazer.

func RunCumulativeStars

func RunCumulativeStars(c *fetch.Context, sg []*fetch.Stargazer) error

RunCumulativeStars creates a table of date and cumulative star count for the provided stargazers.

func RunFollowers

func RunFollowers(c *fetch.Context, sg []*fetch.Stargazer) error

RunFollowers computes the size of follower networks, as well as the count of shared followers.

Types

type Contributors

type Contributors []*fetch.Stargazer

func (Contributors) Len

func (slice Contributors) Len() int

func (Contributors) Less

func (slice Contributors) Less(i, j int) bool

func (Contributors) Swap

func (slice Contributors) Swap(i, j int)

type RepoCount

type RepoCount struct {
	// contains filtered or unexported fields
}

type RepoCounts

type RepoCounts []*RepoCount

func (RepoCounts) Len

func (slice RepoCounts) Len() int

func (RepoCounts) Less

func (slice RepoCounts) Less(i, j int) bool

func (RepoCounts) Swap

func (slice RepoCounts) Swap(i, j int)

type Stargazers

type Stargazers []*fetch.Stargazer

func (Stargazers) Len

func (slice Stargazers) Len() int

func (Stargazers) Less

func (slice Stargazers) Less(i, j int) bool

func (Stargazers) Swap

func (slice Stargazers) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL