This tag is about statistics concerning the code itself. Questions about about a metric that is reported by static code analysis tools should use this tag. If your question is about the implementation of a statistical problem use the statistics tag instead of this tag.
Questions tagged [code-statistics]
27 questions
1
vote
1 answer
How can I get calculate for a git repo on OS X
I tried using gitstats (http://gitstats.sourceforge.net/), but the damn thing doesn't generate graphs.
It requires gnuplot, which requires a bunch of other libs to be installed, none of which have a native OS X port. I've spent 4 hours trying to…

AWF4vk
- 5,810
- 3
- 37
- 70
1
vote
2 answers
Get statistics on a C# WAP Project for client communication
I have a client that thought a highly dynamic ASP.NET application was a very simple sytem, yet to implement it in the manner in which they needed for future grown it has grown to well over 100 different code files.
I am looking for a way, most…

Mitchel Sellers
- 62,228
- 14
- 110
- 173
1
vote
1 answer
How do I use gitstats by hoxu?
I want to monitor my repo on gitub, so I'm trying to use gitstats in order to see some stats like how much code has been changed. I added gitstats to my repo, but after that I'm not sure how to actually create the html files.
when I use a shell from…

octanecitizen
- 11
- 2
0
votes
1 answer
Can I get git stat to show me proper-lines-of-code?
The git stat subcommand (or git log --stat etc.) shows us the numbers of lines added and removed. This is obviously useful, but - sometimes you don't care about whitespace and comment additions and removals.
Is it possible to get git to compute its…

einpoklum
- 118,144
- 57
- 340
- 684
0
votes
0 answers
Unexpected query statistics when running multiple consecutive statements
Using SQL Server 2016 and later
I am currently evaluating two methods of displaying search results. Display all "products" that match a "criteria".
I was looking into the merits of storing the list of IDs that match the criteria in a temp table…

Matthew Baker
- 2,637
- 4
- 24
- 49
0
votes
0 answers
How to generate insight from code stored in BitBucket GIT repo
There are over 40k repositories in our company's bitbucket repository... and there are numerous questions which are super tricky to answer due to the size of the organization.
One of such questions is.
How many projects/components are implemented as…

ChiTec
- 163
- 1
- 1
- 8
0
votes
2 answers
collect stats on method usage in non-rails ruby project
I have a project where we keep our acceptance test code. It has about 1100 methods that I use for dealing with various aspects of the UI the project is quite old so I suspect that some methods are stale and never get used. Tests are run as Rspec…

Denamix
- 51
- 5
0
votes
0 answers
Count of third-party code in xcode project
How can I get a percent count of third-party code in my Xcode project? It is necessary to find not the number of lines in the "Pods" directory, but the amount of code described in the "Pods" directory that is used in the main project directory.
For…

Denis Petrov
- 47
- 1
- 8
0
votes
1 answer
merge testresults from multiple cruise control .net projects
In a SOA - environment there tend to be a lot of projects in Cruise Control .net - I have about 30 at the moment and there will be more to come.
In CI the narrow focus is a good thing but for me who want to present statistics of code quality and…

zzzuperfly
- 401
- 1
- 3
- 11
0
votes
1 answer
How to check statistics with JetBrains Idea 2016?
I am using IDEA 2016.3 and I would like to get some statistics on a Java project, like Lines-of-Code. How can I do it? I found nothing at all while browsing IDEA's menu. Some older questions said the View->Tool Windows -> Statistics but I don't have…

szab.kel
- 2,356
- 5
- 40
- 74
-1
votes
1 answer
C# WinsForm, Frequency Distribution Table [Updated]
Update 01
Thanks to Caius, found the main problem, the logic on the "if" was wrong, now fixed and giving the correct results. The loop still create more positions than needed on the secondary List, an extra position for each number on the main…

RobDaniel
- 3
- 3
-1
votes
2 answers
What percent of functions on OS X are called by the Objective-C runtime?
I'd like to get a firmer grasp of how frequently the runtime in any language that requires one is being called. In this case, I'm specifically interested in knowing:
Of all the function calls getting executed on an OS X or iOS system in any given…

emish
- 2,813
- 5
- 28
- 34