Questions tagged [metrics]

Software metrics are quantitative data related to software.

A software metric is an objective and reproducible quantitative measure of some property of the product, its source code, its specification, or the development process that was applied. These can refer to development time metrics such as or runtime metrics such as .

Although the generic term "metrics" is usually used to refer to the latter especially in server-side development. For further information about metrics and their importance in modern software development you can read the seminal work Measure Anything Measure Everything by Ian Malpass.

This tag should be applied to general questions about metrics or questions that span multiple metrics types or implementations or if your are not sure which specific tag applies. For questions specific to a particular metric system more specific tags such as ,, and so forth.

2802 questions
1
vote
2 answers

Xcode 6 Do I have to make an application for every screen size?

So I have created my webapplication and when I build it in xcode I have to under "Simulated Metrics" > "Size" set it to 3.5 inch since I have a iPhone 4s. When I build it and run on the iPhone everything looks perfect, but I want this application…
1
vote
2 answers

spring boot repository metrics

I am trying to make an object repositoryMetrics in SpringBoot and later I obtained information with this repository. But I create a repository and this always is null. How I generate a repository and this save the metrics? I have this code: public…
herzo
  • 105
  • 4
  • 12
1
vote
2 answers

Standard node.js metrics?

Are there any standard metrics publishing packages for node.js? I'm not asking about general metrics libraries, but rather packages that produce a specific set of metrics (e.g. http QPS, runtime memory usage, gc stats, etc...) If you wanted to…
1
vote
2 answers

Android Canvas.drawString display problem

I encounter this problem when displaying text on SurfaceView, some chars can climb up on others, code is here: private static void fakeDraw(Canvas c) { Paint mPaint = new Paint(); int color = 0xff000000; mPaint.setColor(color); …
Arkaha
  • 1,582
  • 3
  • 17
  • 19
1
vote
2 answers

Stress testing for a distributed SOA architecture based System

We currently have a system with 20 SOA services and having a single master mysql database and 2 slave nodes. We currently have 10 GB of data in the database. We have a requirement in which the data in a table is going to be significantly increased.…
Boolean
  • 14,266
  • 30
  • 88
  • 129
1
vote
2 answers

program for calculating metrics in java

i need to calculate few metrics (CBO, NOC, DAC, LCOM, WMC, RFC and DIT metric). Program is written in jdeveloper and i do not know how to calculate this metrics. Migration to eclipse is not possible becouse code is not compiled. Does anyone know any…
senzacionale
  • 20,448
  • 67
  • 204
  • 316
1
vote
2 answers

Normalized screen size in Android

In one of my Activities I'd like to adjust an amount of textual content according to current screen size. What metric should I rely on? Just width in pixels seems not too reliable since font scaling can be very different. On the other hand…
src091
  • 2,807
  • 7
  • 44
  • 74
1
vote
0 answers

spring actuator increases the metric counter.status.200.{my endpoint} even if the endpoint returns a 500

I've developed my first rest service with Spring Boot, Spring MVC Spring Actuator using embedded tomcat 8. For some reason, when the endpoint fails due to an exception which is not caught, the returned response from the endpoint has the status 500,…
1
vote
1 answer

How to persist Storm metrics? How a Storm topology picks up its metrics history when it restarts?

I'm totally new to Storm. Here I'm trying to implement Storm metrics. I implemented metrics bolt and consumer which extends IMetrisConsumer. I'm looking to persist my topology metrics. So when topology restarts it should pickup earlier metrics…
pearl
  • 11
  • 1
1
vote
0 answers

Dropwizard Yaml for graphite server configuration

I am using metrics with dropwizard and I am reporting these to the graphite server. Almost the same way described in the tutorial. https://dropwizard.github.io/metrics/3.1.0/manual/graphite/#manual-graphite But I wanted to configure the graphite…
user_mda
  • 18,148
  • 27
  • 82
  • 145
1
vote
1 answer

Kibana visualization options for metrics?

Advice on the available options for getting all metrics in one chart would be very much appreciated. Scenario: I am trying to visualize a set of metrics (cpu, memory, etc..) over time in kibana. I have been able to parse the data so that there are…
Gregg
  • 492
  • 2
  • 7
  • 16
1
vote
1 answer

Can I use Serilog.Extra.Web's HttpRequestNumber or HttpRequestId as the SerilogMetrics timed-operation identifier?

I'm using SerilogMetrics's BeginTimedOperation() in a Web API, and it would be really great to be able to use the HttpRequestNumber or HttpRequestId properties (from the respective Serilog.Extra.Web enrichers) as the identifier, making it super easy…
David Rubin
  • 1,610
  • 1
  • 17
  • 28
1
vote
1 answer

How to find true positives, true negatives, false positives, false negatives in Python

I have trained a classifier in Python and i want to find the true positives, true negatives, false positives, false negatives when i am doing a new classification. The thing is that every time, my true_labels consist of one value points because in…
azal
  • 1,210
  • 6
  • 23
  • 43
1
vote
0 answers

java metrics aggregation counters

I'm starting to use the metrics, and I have a "problem" about counters visualization, in this situation: MetricRegistry.name("mymetrics", "count1", "") MetricRegistry.name("mymetrics", "count2", "") In this way I have two entry as: -- Counters …
J.R.
  • 2,335
  • 2
  • 19
  • 21
1
vote
1 answer

Why sonar metrics are sometimes wrong?

My sonar metrics are sometimes wrong on : number of comments number of classes number of lines number of code lines For example, when I click on the metric number of classes, I see some files with correct count number of classes, but I see some…
Dev95
  • 11
  • 2
1 2 3
99
100