Hwaro::Services::StatsResult
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(total : Int32 = 0, drafts : Int32 = 0, published : Int32 = 0, future : Int32 = 0, expired : Int32 = 0, words_total : Int64 = 0_i64, words_avg : Int32 = 0, words_min : Int32 = 0, words_max : Int32 = 0, tags : Hash(String, Int32) = {} of String => Int32, monthly : Hash(String, Int32) = {} of String => Int32)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
drafts
Sourceexpired
Sourcefuture
Files a default build drops for reasons other than draft. They used
to be counted as published, so the report disagreed with the site.
future=(future : Int32)
Files a default build drops for reasons other than draft. They used
to be counted as published, so the report disagreed with the site.
monthly
Sourcepublished
Sourcetags
Sourcetotal
Sourcewords_avg
Sourcewords_max
Sourcewords_min
Sourcewords_total
Int64: summing per-file Int32 counts overflowed Int32 on giant corpora (an Int32 total caps out around 2 billion words).