Stats is the fully-aggregated analytics result for one window/project.
| 22 | |
| 23 | // Stats is the fully-aggregated analytics result for one window/project. |
| 24 | type Stats struct { |
| 25 | Window string |
| 26 | Project string |
| 27 | LookupsByKind map[LookupKind]int |
| 28 | LookupsTotal int |
| 29 | Tokens Usage |
| 30 | TasksDone int |
| 31 | AutoRuns int |
| 32 | OwnerTicks int |
| 33 | PlaybookRuns int |
| 34 | KBFacts int |
| 35 | Savings Savings |
| 36 | DollarPerHour float64 |
| 37 | Weekly []WeeklyPoint |
| 38 | } |
| 39 | |
| 40 | // BuildOpts are the injectable inputs to BuildStats (paths injected so |
| 41 | // tests can point at temp dirs). |
nothing calls this directly
no outgoing calls
no test coverage detected