NetBox lines of Python code #11199
Replies: 4 comments
-
Neat, thanks for sharing. I wonder if it's work tracking "lines of code" as a metric over time. |
Beta Was this translation helpful? Give feedback.
-
"Measuring programming progress by lines of code is like measuring aircraft building progress by weight" 🤣 but seriously, would be a fun metric to watch on the repo haha |
Beta Was this translation helpful? Give feedback.
-
Try running cloc because this repo also consists of HTML, ts, css, md etc. I believe that will bring the final count somewhere in the neighborhood of 120k lines |
Beta Was this translation helpful? Give feedback.
-
I was inspired to fiddle with this a bit in PowerShell (instead of bash / xargs)
foreach ($tag in @(git tag --list) { perl ../cloc/cloc --vcs=git --json --report-file="../cloc-$tag.json" --git $tag; }
trying to generate the history so it can be extracted and popped into gnuplot or Excel for visualization, if you are trying to see how the project changes over time. It was a bit slow to run for every version, and I tried to figure out how to parallelize it using Start-Job but didn't quite figure it out in the time I had to mess around with it. I didn't get to extracting the data into tabular form, maybe next time 😉
—
Mark Tinberg ***@***.***>
Division of Information Technology-Network Services
University of Wisconsin-Madison
…________________________________
From: Abhimanyu Saharan ***@***.***>
Sent: Saturday, December 17, 2022 1:06 AM
To: netbox-community/netbox ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [netbox-community/netbox] NetBox lines of Python code (Discussion #11199)
Try running cloc because this repo also consists of HTML, ts, css, md etc. I believe that will bring the final count somewhere in the neighborhood of 120k lines
—
Reply to this email directly, view it on GitHub<#11199 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAS7UM7DZOYFT5DDR5X3RGLWNVQ5RANCNFSM6AAAAAATACY5DU>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
To whoever is interested 😁
Beta Was this translation helpful? Give feedback.
All reactions