Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to get LOC (lines of code) for Jazz SCM

 I need to get the LOC from the JAZZ SCM in a branch. How can i get it? 
Are there any command line options ?

0 votes


Accepted answer

Permanent link
You can use "scm list changesets" and "scm list changes" commands to get the change sets and files modified on the steam.
Then use "scm diff" to show the difference of a file in two change sets. You may need some scripting to get lines of changes then.
David Lafreniere selected this answer as the correct answer

1 vote

Comments

There currently is no build-in feature to determine/calculate the LOC. The answer above would be one way, or you could load an entire workspace/stream to disk, then write your own tool to walk/read the files, generating your own report of the LOC per file as you go.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,029
× 1,204
× 1

Question asked: Jul 05 '16, 10:33 a.m.

Question was seen: 2,948 times

Last updated: Jul 11 '16, 11:23 a.m.

Confirmation Cancel Confirm