| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
27
|
53111
|
1008
-
1014
|
Select
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.prefix
|
|
GeoMesaMetrics.this.prefix
|
|
27
|
53112
|
982
-
1015
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.safePrefix
|
|
GeoMesaMetrics.safePrefix(GeoMesaMetrics.this.prefix)
|
|
29
|
53113
|
1078
-
1079
|
Literal
|
<nosymbol>
|
|
""
|
|
29
|
53114
|
1082
-
1083
|
Literal
|
<nosymbol>
|
|
""
|
|
29
|
53115
|
1120
-
1121
|
Literal
|
<nosymbol>
|
|
""
|
|
29
|
53116
|
1123
-
1124
|
Literal
|
<nosymbol>
|
|
""
|
|
29
|
53117
|
1079
-
1082
|
Select
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.pre
|
|
GeoMesaMetrics.this.pre
|
|
29
|
53118
|
1084
-
1119
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.safePrefix
|
|
GeoMesaMetrics.safePrefix(typeName)
|
|
29
|
53119
|
1076
-
1124
|
Apply
|
scala.StringContext.s
|
|
scala.StringContext.apply("", "", "", "").s(GeoMesaMetrics.this.pre, GeoMesaMetrics.safePrefix(typeName), id)
|
|
38
|
53120
|
1367
-
1388
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.id
|
|
this.id(typeName, id)
|
|
38
|
53121
|
1350
-
1389
|
Apply
|
com.codahale.metrics.MetricRegistry.counter
|
|
GeoMesaMetrics.this.registry.counter(this.id(typeName, id))
|
|
50
|
53122
|
1818
-
1839
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.id
|
|
this.id(typeName, id)
|
|
54
|
53123
|
2014
-
2044
|
Apply
|
java.util.Map.get
|
|
GeoMesaMetrics.this.registry.getMetrics().get(ident)
|
|
55
|
53124
|
2081
-
2082
|
Ident
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.g
|
|
g
|
|
56
|
53125
|
2104
-
2136
|
Apply
|
com.codahale.metrics.MetricRegistry.register
|
|
GeoMesaMetrics.this.registry.register[com.codahale.metrics.Gauge[_$1]](ident, metric)
|
|
56
|
53126
|
2104
-
2136
|
Block
|
com.codahale.metrics.MetricRegistry.register
|
|
GeoMesaMetrics.this.registry.register[com.codahale.metrics.Gauge[_$1]](ident, metric)
|
|
58
|
53127
|
2165
-
2274
|
Throw
|
<nosymbol>
|
|
throw new scala.`package`.IllegalArgumentException(scala.StringContext.apply("", " already registered under the name \'", "\'").s(m.getClass().getSimpleName(), ident))
|
|
58
|
53128
|
2165
-
2274
|
Block
|
<nosymbol>
|
|
throw new scala.`package`.IllegalArgumentException(scala.StringContext.apply("", " already registered under the name \'", "\'").s(m.getClass().getSimpleName(), ident))
|
|
63
|
53129
|
2405
-
2418
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.getOrCreate
|
|
getOrCreate()
|
|
63
|
53130
|
2405
-
2418
|
Block
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.getOrCreate
|
|
getOrCreate()
|
|
63
|
53131
|
2465
-
2478
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.getOrCreate
|
|
getOrCreate()
|
|
63
|
53132
|
2465
-
2478
|
Block
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.getOrCreate
|
|
getOrCreate()
|
|
73
|
53133
|
2739
-
2760
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.id
|
|
this.id(typeName, id)
|
|
73
|
53134
|
2720
-
2761
|
Apply
|
com.codahale.metrics.MetricRegistry.histogram
|
|
GeoMesaMetrics.this.registry.histogram(this.id(typeName, id))
|
|
82
|
53135
|
2996
-
3017
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.id
|
|
this.id(typeName, id)
|
|
82
|
53136
|
2981
-
3018
|
Apply
|
com.codahale.metrics.MetricRegistry.meter
|
|
GeoMesaMetrics.this.registry.meter(this.id(typeName, id))
|
|
91
|
53137
|
3251
-
3272
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.id
|
|
this.id(typeName, id)
|
|
91
|
53138
|
3236
-
3273
|
Apply
|
com.codahale.metrics.MetricRegistry.timer
|
|
GeoMesaMetrics.this.registry.timer(this.id(typeName, id))
|
|
104
|
53139
|
3690
-
3711
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.id
|
|
this.id(typeName, id)
|
|
104
|
53140
|
3672
-
3720
|
Apply
|
com.codahale.metrics.MetricRegistry.register
|
|
GeoMesaMetrics.this.registry.register[T](this.id(typeName, id), metric)
|
|
106
|
53141
|
3770
-
3779
|
Select
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.reporters
|
|
GeoMesaMetrics.this.reporters
|
|
106
|
53142
|
3769
-
3769
|
Select
|
org.locationtech.geomesa.utils.io.IsCloseableImplicits.iterableIsCloseable
|
|
io.this.IsCloseable.iterableIsCloseable
|
|
106
|
53143
|
3753
-
3780
|
ApplyToImplicitArgs
|
org.locationtech.geomesa.utils.io.CloseWithLogging.apply
|
|
org.locationtech.geomesa.utils.io.`package`.CloseWithLogging.apply[Seq[com.codahale.metrics.ScheduledReporter]](GeoMesaMetrics.this.reporters)(io.this.IsCloseable.iterableIsCloseable)
|
|
106
|
53144
|
3769
-
3769
|
Literal
|
<nosymbol>
|
|
()
|
|
119
|
53145
|
4048
-
4068
|
Apply
|
com.codahale.metrics.MetricRegistry.<init>
|
|
new com.codahale.metrics.MetricRegistry()
|
|
120
|
53146
|
4098
-
4132
|
Apply
|
org.locationtech.geomesa.metrics.core.ReporterFactory.apply
|
|
ReporterFactory.apply(x$1, registry)
|
|
120
|
53147
|
4097
-
4097
|
TypeApply
|
scala.collection.Seq.canBuildFrom
|
|
collection.this.Seq.canBuildFrom[com.codahale.metrics.ScheduledReporter]
|
|
120
|
53148
|
4084
-
4140
|
Select
|
scala.collection.TraversableOnce.toList
|
|
reporters.map[com.codahale.metrics.ScheduledReporter, Seq[com.codahale.metrics.ScheduledReporter]](((x$1: com.typesafe.config.Config) => ReporterFactory.apply(x$1, registry)))(collection.this.Seq.canBuildFrom[com.codahale.metrics.ScheduledReporter]).toList
|
|
121
|
53149
|
4145
-
4187
|
Apply
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.<init>
|
|
new GeoMesaMetrics(registry, prefix, reps)
|
|
125
|
53150
|
4263
-
4299
|
Apply
|
java.lang.String.replaceAll
|
|
name.replaceAll("[^A-Za-z0-9]", ".")
|
|
126
|
53151
|
4328
-
4350
|
Apply
|
java.lang.String.endsWith
|
|
replaced.endsWith(".")
|
|
126
|
53152
|
4308
-
4350
|
Apply
|
scala.Boolean.||
|
|
replaced.isEmpty().||(replaced.endsWith("."))
|
|
126
|
53153
|
4354
-
4362
|
Ident
|
org.locationtech.geomesa.metrics.core.GeoMesaMetrics.replaced
|
|
replaced
|
|
126
|
53154
|
4372
-
4385
|
Apply
|
scala.StringContext.s
|
|
scala.StringContext.apply("", ".").s(replaced)
|
|
126
|
53155
|
4372
-
4385
|
Block
|
scala.StringContext.s
|
|
scala.StringContext.apply("", ".").s(replaced)
|