Unanswered TFS 2010 - Calculating Various Version Control Metrics

  • Monday, April 16, 2012 12:23 PM
     
     

    I want to get at the following information (and I guess it has to be via the databases directly, that's why I posted to the Administration forum):

    #1 I have a project in a collection (contains multiple projects). How do I calculate the total size of sources?

    #2 Someone has checked in say ClosedXML.dll. They updated it x times. How do I calculate the total size for all deltas? (including branches it was branched to)

    #3 "Checked in bytes / day". Again, on the database level with all deltas.

    Can anyone point me to SQL statement / ... that can do this sort of analysis?

    Chris


    Christoph Wille - Glengamoi Alumni - Realnamen sind ein Gebot der Höflichkeit in der Community

All Replies

  • Wednesday, April 18, 2012 1:45 AM
    Moderator
     
     

    Hi Chris,

    Thanks for your post.

    I’m currently looking into this issue and will give you an update as soon as possible. 


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us

  • Monday, April 23, 2012 1:52 PM
    Owner
     
     

    Hi Christoph,

    We do not have any readymade queries for the information you request.  However, I am going to continue looking to see if I can find anything. I plan on updating you again tomorrow.

    Thanks and have a great day.


    Trevor Hancock (Microsoft)
    Please remember to "Mark As Answer" the replies that help.

  • Monday, April 23, 2012 5:42 PM
     
     

    A SQL query for SSMS is perfectly fine (I knew there aren't any precanned reports, that's why I asked for guidance. Trying to reverse-engineer the collection database model myself wasn't high on my list...).

    Chris


    Christoph Wille - Glengamoi Alumni - Realnamen sind ein Gebot der Höflichkeit in der Community

  • Tuesday, April 24, 2012 9:01 PM
    Owner
     
     

    Chris,

    Research continues on this. We will do our best to update you tomorrow morning. Sorry for the delay.


    Trevor Hancock (Microsoft)
    Please remember to "Mark As Answer" the replies that help.

  • Wednesday, April 25, 2012 7:22 PM
    Owner
     
     

    Chris,

    Sorry for the delay. We've not been able to determine a way to do all this and I'm afraid we're at a point where we can't continue to research this based on a forum thread. We may be able to help further, but it will require a support case from here. If you cannot determine your answer here or on your own, consider opening a support case with us. Visit this link to see the various support options that are available to better meet your needs:  http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone.


    Trevor Hancock (Microsoft)
    Please remember to "Mark As Answer" the replies that help.