code-statistics

Which Git commit stats are easy to pull

好久不见. 提交于 2019-12-17 21:26:20
问题 Previously I have enjoyed TortoiseSvn's ability to generate simple commit stats for a given SVN repository. I wonder what is available in Git and am particularly interested in : Number of commits per user Number of lines changed per user activity over time (for instance aggregated weekly changes) Any ideas? 回答1: Actually, git already has a command for this: git shortlog in your case, it sounds like you're interested in this form: git shortlog -sne See the --help for various options. You may

How is SLOC counted by Delphi IDE?

主宰稳场 提交于 2019-12-11 02:52:41
问题 You see pretty often here people saying that they have a x million of lines of code project. How is this measured? Is this number, the number shown under 'Information' menu? The manual says that only the compilable lines are counted (so, without comments and empty lines): Source compiled -> Displays total number of lines compiled. But the manual doesn't explain how a piece of code as if/then/else is counted: if B=true then for i:= 0 to 100 do Stuff else ; Is every line that has a blue dot is

Which Git commit stats are easy to pull

二次信任 提交于 2019-11-28 15:14:33
Previously I have enjoyed TortoiseSvn's ability to generate simple commit stats for a given SVN repository. I wonder what is available in Git and am particularly interested in : Number of commits per user Number of lines changed per user activity over time (for instance aggregated weekly changes) Any ideas? Actually, git already has a command for this: git shortlog in your case, it sounds like you're interested in this form: git shortlog -sne See the --help for various options. You may also be interested in the GitStats project . They have a few examples, including the stats for the Git