Closed marslo closed 5 months ago
This was intentional when I created the csv format, because the underlying idea was that it would be used to create your own aggregations (similar to the SQL output format). As such I kept it as simple as possible because adding calculated columns makes parsing it after a little more annoying.
Whats the use case here? Im not opposed to making changes, but I would really want to know what you are trying to achieve.
Hey @boyter,
I've using scc
to collect data and generate slides, and since csv can be recognized by Excel, so it's easy to transfer to chart ( as below ).
So, if the columns can be configurable via parameters, it will be awesome. Now, I have to manually added ... thanks
Yep I promise the moment I am not swamped at work I will be getting back to doing a lot of these things.
Main goal will be to improve the gitfile support, followed by all of these sort of changes. I have not forgotten, just no time right now.
Done.
$ scc -f csv -u ./processor
Language,Lines,Code,Comments,Blanks,Complexity,Bytes,Files,ULOC
Go,8136,6402,410,1324,1400,369653,23,3293
Files as a count is in the summary now, along with the new special ULOC calculation (if you want it). Will make it into the next release, which should be done in a week or so.
nice thanks. verified !
Describe the bug The
Files
column ( count of files ) shows in tabular/json format, but doesn't shows in csv format, details as below:To Reproduce
scc
either as command line or library:command line
If command line please list the arguments. If library please supply code to demonstrate the issue.
Expected behavior Has
Files
column in csv format, or any params to turn on/off Files columnDesktop (please complete the following information):
OS: Linux + WSL:
scc version 3.2.0
scc version 3.1.0