qiniu / logkit
Files Coverage
audit/audit.go 73.63%
cleaner/cleaner.go 58.82%
cli/upgrade.go 47.56%
conf/load_conf.go 93.22%
conf/map_conf.go 98.99%
logkit.go 35.20%
mgr/api_cleaner.go 100.00%
mgr/api_metric.go 100.00%
mgr/api_parser.go 82.86%
mgr/api_reader.go 72.41%
mgr/api_sender.go 72.22%
mgr/api_transformer.go 70.59%
mgr/cluster.go 67.18%
mgr/dataflow.go 67.45%
mgr/metric_runner.go 68.89%
mgr/mgr.go 62.55%
mgr/models.go 100.00%
mgr/rest.go 74.16%
mgr/runner.go 60.17%
parser/csv/csv.go 96.00%
parser/grok/grok.go 90.58%
parser/json/json.go 88.18%
parser/kafkarest/kafkarest.go 93.41%
parser/linuxaudit/audit.go 81.52%
parser/logfmt/logfmt.go 91.21%
parser/mysql/mysql.go 78.85%
parser/nginx/nginx.go 77.25%
parser/parser.go 100.00%
parser/qiniu/qiniu.go 70.82%
parser/raw/raw.go 92.31%
parser/syslog/syslog.go 86.33%
parser/utils.go 100.00%
queue/direct.go 69.23%
queue/disk.go 74.60%
queue/utils.go 100.00%
rateio/controller.go 96.55%
rateio/reader.go 100.00%
rateio/writer.go 90.48%
reader/autofile/autofile.go 43.33%
reader/bufreader/bufreader.go 64.20%
reader/bufreader/linecache.go 100.00%
reader/cloudtrail/cloudtrail.go 3.31%
reader/dirx/dir_reader.go 80.24%
reader/dirx/dirx.go 70.07%
reader/elastic/elastic.go 5.39%
reader/extract/reader.go 63.26%
reader/http/http.go 66.12%
reader/httpfetch/http_fetch.go 48.33%
reader/kafka/kafka.go 4.73%
reader/meta.go 37.85%
reader/mongo/mongo.go 8.37%
reader/mysql/mysql.go 64.23%
reader/mysql/mysqloffset.go 53.91%
reader/postgres/mongooffset.go 65.33%
reader/postgres/postgres.go 55.17%
reader/postgres/time.go 83.33%
reader/reader.go 0.00%
reader/redis/redis.go 34.31%
reader/script/script.go 48.04%
reader/seqfile/seqfile.go 50.94%
reader/singlefile/singlefile.go 32.44%
reader/snmp/snmp.go 71.04%
reader/socket/socket.go 64.86%
reader/sql/compare.go 56.79%
reader/sql/dataconvert.go 0.00%
reader/sql/magic.go 86.42%
reader/sql/meta.go 31.43%
reader/sql/records.go 52.03%
reader/sql/sortdata.go 0.00%
reader/sql/time.go 0.00%
reader/sql/utils.go 6.82%
reader/tailx/tailx.go 60.98%
reader/utils.go 75.98%
router/rest_router_models.go 0.00%
router/sender_router.go 80.82%
samples/parser.go 100.00%
samples/sender.go 100.00%
self/logrunner.go 53.88%
sender/csv/csv.go 67.62%
sender/fault_tolerant.go 5.49%
sender/file/file.go 75.47%
sender/file/writer.go 80.00%
sender/http/http.go 67.88%
sender/mysql/mysql.go 68.35%
sender/open_falcon/transfer.go 23.68%
sender/pandora/pandora.go 62.65%
sender/sender.go 0.00%
sender/sqlfile/sqlfile.go 71.15%
times/times.go 91.30%
transforms/apps/redis.go 26.50%
transforms/apps/tode.go 15.66%
transforms/aws/cloudtrail.go 50.00%
transforms/date/date.go 49.21%
transforms/ip/dat.go 70.73%
transforms/ip/datx.go 61.29%
transforms/ip/ip.go 50.75%
transforms/ip/locator.go 90.91%
transforms/ip/mmdb.go 95.00%
transforms/ip/number2ip.go 50.66%
transforms/mutate/arrayexpand.go 83.33%
transforms/mutate/case.go 35.20%
transforms/mutate/concat.go 65.60%
transforms/mutate/convert.go 52.80%
transforms/mutate/copy.go 73.08%
transforms/mutate/discard.go 75.36%
transforms/mutate/filter.go 65.73%
transforms/mutate/json.go 45.93%
transforms/mutate/keyvalue.go 59.54%
transforms/mutate/label.go 67.92%
transforms/mutate/mapreplace.go 46.11%
transforms/mutate/pandorakey_convert.go 63.51%
transforms/mutate/pick.go 72.34%
transforms/mutate/rename.go 72.28%
transforms/mutate/replace.go 52.98%
transforms/mutate/script.go 53.06%
transforms/mutate/split.go 50.74%
transforms/mutate/substring.go 69.11%
transforms/mutate/timestamp.go 45.76%
transforms/mutate/trim.go 48.48%
transforms/mutate/urlconvert.go 64.44%
transforms/mutate/urlparam.go 67.93%
transforms/mutate/xml.go 55.87%
transforms/service/k8stag.go 51.18%
transforms/ua/ua.go 50.20%
utils/equeue/queue.go 84.55%
utils/magic/magic.go 93.75%
utils/models/code.go 0.00%
utils/models/models.go 23.26%
utils/models/utils.go 60.23%
utils/mongo.go 0.00%
utils/os/signal.go 0.00%
utils/os/utils_common.go 75.00%
utils/os/utils_linux.go 64.29%
utils/os/utils_unix.go 23.81%
utils/parse/linuxaudit/linuxaudit.go 84.30%
utils/parse/mutate/keyvalue.go 90.28%
utils/parse/syslog/syslog.go 16.46%
utils/timetracker.go 0.00%
utils/utils.go 36.52%
Project Totals (139 files) 56.94%
Loading