Is there a tool to measure the “maturity” (age) of a code in Git?Is there a tool to find groups of files that are changed together?How to perform static code analysis?What are the criteria to convert code smell to a bugHow to improve the code quality mindset?Static code analysis for needs of manual testingCode quality metrics

I noticed an error in a graded exam during office hours. Should I give the student the lower grade?

How would medieval/Renaissance-era castles protect themselves from air raids?

What type of interpreter were most 8-bit BASIC implementations?

Is there a difference between “When you are reduced to 0 hit points” and “when you would be reduced to 0 hit points”?

Is it acceptable for the secretary to have full access to our entire Outlook agenda?

How can a rakshasa deal with sleeping when relying on the "Disguise Self" spell?

How did Boris Johnson manage to be elected Mayor of London for two terms when London is usually staunchly Labour?

Is 33 the minimum skill check result for a multiclassed 11 rogue/9 artificer using Reliable Talent, Expertise, Guidance, and Flash of Genius?

What's politest way of writing you got no reply?

Which biphenyl is optically active?

Threatening to discontinue a service for a client

Why does the B-2 Spirit have a pattern of thin white lines?

Using a sealant to stop a toilet tank leak

What was the sound coming from below the feet of the Death Eaters at Malfoy Manor?

Seen from Europe, why is there a hard separation between Republicans and Democrats in the US?

How was the Luftwaffe able to destroy nearly 4000 Soviet aircraft in 3 days of operation Barbarossa?

Why does the hyperref documentation suggest using gather instead of equation?

Why does the Eurofighter Typhoon pitch up on brake release?

Why would one use "enter the name of the project to confirm"?

Why would a berry have a slow-acting poison?

Why is it so important who the whistleblower in the Trump-Zelensky phone call is?

Solving a knapsack problem with a lot of items

Translate the French quote "Il n’y a pas d'amour, il n’y a que des preuves d’amour" to English?

What does play with feeling mean?



Is there a tool to measure the “maturity” (age) of a code in Git?


Is there a tool to find groups of files that are changed together?How to perform static code analysis?What are the criteria to convert code smell to a bugHow to improve the code quality mindset?Static code analysis for needs of manual testingCode quality metrics






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









33


















The vc-annotate in Emacs is a nice tool to see the "maturity" (age) of each line of code in colors. More blue dark, more mature, more red, less mature. This functionality has already been considered to be implemented in MediaWiki (but I don't know if it ever came to be). Usually, in a active project, untouchables lines or functions are very stable (it's applicable to Wiki too - information not disputed tend to be better) and bug-free.



Is there a tool to make a analysis of maturity of a code on Git based on the age of each line? That output something like:



Total lines: 500
Until 1 month lines: 100
1mo-6mo lines: 200
6mo-1yr lines: 100
more than 1yr lines: 100


This could be very useful in active projects (in abandoned maybe it is useless since the entire code would be false-flagged to "mature").










share|improve this question



























  • Hello Felipe, welcome to SO :) As answered below by O.F., SonarQube has this feature. I did use something similar but the use of this feature made the syntactic colorization quite unreadable, so the leaddev did modify background colors with dark gray scales instead of text colors.

    – Benj
    Sep 13 at 22:26







  • 2





    I think a better word may be "age". Also does changing the indentation level of a snippet reset this counter? This could happen if something was put inside a conditional without changing the code itself.

    – Thorbjørn Ravn Andersen
    Sep 15 at 13:25


















33


















The vc-annotate in Emacs is a nice tool to see the "maturity" (age) of each line of code in colors. More blue dark, more mature, more red, less mature. This functionality has already been considered to be implemented in MediaWiki (but I don't know if it ever came to be). Usually, in a active project, untouchables lines or functions are very stable (it's applicable to Wiki too - information not disputed tend to be better) and bug-free.



Is there a tool to make a analysis of maturity of a code on Git based on the age of each line? That output something like:



Total lines: 500
Until 1 month lines: 100
1mo-6mo lines: 200
6mo-1yr lines: 100
more than 1yr lines: 100


This could be very useful in active projects (in abandoned maybe it is useless since the entire code would be false-flagged to "mature").










share|improve this question



























  • Hello Felipe, welcome to SO :) As answered below by O.F., SonarQube has this feature. I did use something similar but the use of this feature made the syntactic colorization quite unreadable, so the leaddev did modify background colors with dark gray scales instead of text colors.

    – Benj
    Sep 13 at 22:26







  • 2





    I think a better word may be "age". Also does changing the indentation level of a snippet reset this counter? This could happen if something was put inside a conditional without changing the code itself.

    – Thorbjørn Ravn Andersen
    Sep 15 at 13:25














33













33









33


19






The vc-annotate in Emacs is a nice tool to see the "maturity" (age) of each line of code in colors. More blue dark, more mature, more red, less mature. This functionality has already been considered to be implemented in MediaWiki (but I don't know if it ever came to be). Usually, in a active project, untouchables lines or functions are very stable (it's applicable to Wiki too - information not disputed tend to be better) and bug-free.



Is there a tool to make a analysis of maturity of a code on Git based on the age of each line? That output something like:



Total lines: 500
Until 1 month lines: 100
1mo-6mo lines: 200
6mo-1yr lines: 100
more than 1yr lines: 100


This could be very useful in active projects (in abandoned maybe it is useless since the entire code would be false-flagged to "mature").










share|improve this question
















The vc-annotate in Emacs is a nice tool to see the "maturity" (age) of each line of code in colors. More blue dark, more mature, more red, less mature. This functionality has already been considered to be implemented in MediaWiki (but I don't know if it ever came to be). Usually, in a active project, untouchables lines or functions are very stable (it's applicable to Wiki too - information not disputed tend to be better) and bug-free.



Is there a tool to make a analysis of maturity of a code on Git based on the age of each line? That output something like:



Total lines: 500
Until 1 month lines: 100
1mo-6mo lines: 200
6mo-1yr lines: 100
more than 1yr lines: 100


This could be very useful in active projects (in abandoned maybe it is useless since the entire code would be false-flagged to "mature").







code-quality git static-analysis






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 16 at 23:47







Felipe

















asked Sep 13 at 5:13









FelipeFelipe

4332 silver badges7 bronze badges




4332 silver badges7 bronze badges















  • Hello Felipe, welcome to SO :) As answered below by O.F., SonarQube has this feature. I did use something similar but the use of this feature made the syntactic colorization quite unreadable, so the leaddev did modify background colors with dark gray scales instead of text colors.

    – Benj
    Sep 13 at 22:26







  • 2





    I think a better word may be "age". Also does changing the indentation level of a snippet reset this counter? This could happen if something was put inside a conditional without changing the code itself.

    – Thorbjørn Ravn Andersen
    Sep 15 at 13:25


















  • Hello Felipe, welcome to SO :) As answered below by O.F., SonarQube has this feature. I did use something similar but the use of this feature made the syntactic colorization quite unreadable, so the leaddev did modify background colors with dark gray scales instead of text colors.

    – Benj
    Sep 13 at 22:26







  • 2





    I think a better word may be "age". Also does changing the indentation level of a snippet reset this counter? This could happen if something was put inside a conditional without changing the code itself.

    – Thorbjørn Ravn Andersen
    Sep 15 at 13:25

















Hello Felipe, welcome to SO :) As answered below by O.F., SonarQube has this feature. I did use something similar but the use of this feature made the syntactic colorization quite unreadable, so the leaddev did modify background colors with dark gray scales instead of text colors.

– Benj
Sep 13 at 22:26






Hello Felipe, welcome to SO :) As answered below by O.F., SonarQube has this feature. I did use something similar but the use of this feature made the syntactic colorization quite unreadable, so the leaddev did modify background colors with dark gray scales instead of text colors.

– Benj
Sep 13 at 22:26





2




2





I think a better word may be "age". Also does changing the indentation level of a snippet reset this counter? This could happen if something was put inside a conditional without changing the code itself.

– Thorbjørn Ravn Andersen
Sep 15 at 13:25






I think a better word may be "age". Also does changing the indentation level of a snippet reset this counter? This could happen if something was put inside a conditional without changing the code itself.

– Thorbjørn Ravn Andersen
Sep 15 at 13:25











5 Answers
5






active

oldest

votes


















38



















I think you can use: https://github.com/erikbern/git-of-theseus



It can visualize the amount of code still in use since its conception.



This is a graph of the Git codebase itself:



enter image description here






share|improve this answer























  • 7





    Funny. It hints at a soft ceiling for the amount of LOC in use.

    – Mindwin
    Sep 13 at 17:07






  • 19





    @Mindwin to go beyond that border is the land of enterprise code Simba. You must never venture there.

    – mbrig
    Sep 13 at 18:16


















11



















On browsing through the
of @Niels van Reijmersdal answer, I found this written in the README




Markovtsev Vadim implemented a very similar analysis that claims to be 20%-6x faster than Git of Theseus. It's named Hercules and there's a great blog post about all the complexity going into the analysis of Git history.




So well lookup Hercules and go through the blog post.



Disclaimer: I have neither used Hercules, nor
git-of-theseus.






share|improve this answer

































    10



















    Well, SonarQube has a metric actually called Maturity, so, yeah. :)






    share|improve this answer

































      1



















      The best tool I know is Codescene https://codescene.io.






      share|improve this answer

































        1



















        You can check Codacy. This will give some insight about code.






        share|improve this answer



























          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "244"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsqa.stackexchange.com%2fquestions%2f40783%2fis-there-a-tool-to-measure-the-maturity-age-of-a-code-in-git%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown


























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          38



















          I think you can use: https://github.com/erikbern/git-of-theseus



          It can visualize the amount of code still in use since its conception.



          This is a graph of the Git codebase itself:



          enter image description here






          share|improve this answer























          • 7





            Funny. It hints at a soft ceiling for the amount of LOC in use.

            – Mindwin
            Sep 13 at 17:07






          • 19





            @Mindwin to go beyond that border is the land of enterprise code Simba. You must never venture there.

            – mbrig
            Sep 13 at 18:16















          38



















          I think you can use: https://github.com/erikbern/git-of-theseus



          It can visualize the amount of code still in use since its conception.



          This is a graph of the Git codebase itself:



          enter image description here






          share|improve this answer























          • 7





            Funny. It hints at a soft ceiling for the amount of LOC in use.

            – Mindwin
            Sep 13 at 17:07






          • 19





            @Mindwin to go beyond that border is the land of enterprise code Simba. You must never venture there.

            – mbrig
            Sep 13 at 18:16













          38















          38











          38









          I think you can use: https://github.com/erikbern/git-of-theseus



          It can visualize the amount of code still in use since its conception.



          This is a graph of the Git codebase itself:



          enter image description here






          share|improve this answer
















          I think you can use: https://github.com/erikbern/git-of-theseus



          It can visualize the amount of code still in use since its conception.



          This is a graph of the Git codebase itself:



          enter image description here







          share|improve this answer















          share|improve this answer




          share|improve this answer








          edited Sep 13 at 15:47

























          answered Sep 13 at 8:09









          Niels van ReijmersdalNiels van Reijmersdal

          25.4k2 gold badges39 silver badges92 bronze badges




          25.4k2 gold badges39 silver badges92 bronze badges










          • 7





            Funny. It hints at a soft ceiling for the amount of LOC in use.

            – Mindwin
            Sep 13 at 17:07






          • 19





            @Mindwin to go beyond that border is the land of enterprise code Simba. You must never venture there.

            – mbrig
            Sep 13 at 18:16












          • 7





            Funny. It hints at a soft ceiling for the amount of LOC in use.

            – Mindwin
            Sep 13 at 17:07






          • 19





            @Mindwin to go beyond that border is the land of enterprise code Simba. You must never venture there.

            – mbrig
            Sep 13 at 18:16







          7




          7





          Funny. It hints at a soft ceiling for the amount of LOC in use.

          – Mindwin
          Sep 13 at 17:07





          Funny. It hints at a soft ceiling for the amount of LOC in use.

          – Mindwin
          Sep 13 at 17:07




          19




          19





          @Mindwin to go beyond that border is the land of enterprise code Simba. You must never venture there.

          – mbrig
          Sep 13 at 18:16





          @Mindwin to go beyond that border is the land of enterprise code Simba. You must never venture there.

          – mbrig
          Sep 13 at 18:16













          11



















          On browsing through the
          of @Niels van Reijmersdal answer, I found this written in the README




          Markovtsev Vadim implemented a very similar analysis that claims to be 20%-6x faster than Git of Theseus. It's named Hercules and there's a great blog post about all the complexity going into the analysis of Git history.




          So well lookup Hercules and go through the blog post.



          Disclaimer: I have neither used Hercules, nor
          git-of-theseus.






          share|improve this answer






























            11



















            On browsing through the
            of @Niels van Reijmersdal answer, I found this written in the README




            Markovtsev Vadim implemented a very similar analysis that claims to be 20%-6x faster than Git of Theseus. It's named Hercules and there's a great blog post about all the complexity going into the analysis of Git history.




            So well lookup Hercules and go through the blog post.



            Disclaimer: I have neither used Hercules, nor
            git-of-theseus.






            share|improve this answer




























              11















              11











              11









              On browsing through the
              of @Niels van Reijmersdal answer, I found this written in the README




              Markovtsev Vadim implemented a very similar analysis that claims to be 20%-6x faster than Git of Theseus. It's named Hercules and there's a great blog post about all the complexity going into the analysis of Git history.




              So well lookup Hercules and go through the blog post.



              Disclaimer: I have neither used Hercules, nor
              git-of-theseus.






              share|improve this answer














              On browsing through the
              of @Niels van Reijmersdal answer, I found this written in the README




              Markovtsev Vadim implemented a very similar analysis that claims to be 20%-6x faster than Git of Theseus. It's named Hercules and there's a great blog post about all the complexity going into the analysis of Git history.




              So well lookup Hercules and go through the blog post.



              Disclaimer: I have neither used Hercules, nor
              git-of-theseus.







              share|improve this answer













              share|improve this answer




              share|improve this answer










              answered Sep 13 at 15:16









              Tejas ShettyTejas Shetty

              2114 bronze badges




              2114 bronze badges
























                  10



















                  Well, SonarQube has a metric actually called Maturity, so, yeah. :)






                  share|improve this answer






























                    10



















                    Well, SonarQube has a metric actually called Maturity, so, yeah. :)






                    share|improve this answer




























                      10















                      10











                      10









                      Well, SonarQube has a metric actually called Maturity, so, yeah. :)






                      share|improve this answer














                      Well, SonarQube has a metric actually called Maturity, so, yeah. :)







                      share|improve this answer













                      share|improve this answer




                      share|improve this answer










                      answered Sep 13 at 14:22









                      O.F.O.F.

                      2391 silver badge3 bronze badges




                      2391 silver badge3 bronze badges
























                          1



















                          The best tool I know is Codescene https://codescene.io.






                          share|improve this answer






























                            1



















                            The best tool I know is Codescene https://codescene.io.






                            share|improve this answer




























                              1















                              1











                              1









                              The best tool I know is Codescene https://codescene.io.






                              share|improve this answer














                              The best tool I know is Codescene https://codescene.io.







                              share|improve this answer













                              share|improve this answer




                              share|improve this answer










                              answered Sep 15 at 13:48









                              Robert SösemannRobert Sösemann

                              1112 bronze badges




                              1112 bronze badges
























                                  1



















                                  You can check Codacy. This will give some insight about code.






                                  share|improve this answer






























                                    1



















                                    You can check Codacy. This will give some insight about code.






                                    share|improve this answer




























                                      1















                                      1











                                      1









                                      You can check Codacy. This will give some insight about code.






                                      share|improve this answer














                                      You can check Codacy. This will give some insight about code.







                                      share|improve this answer













                                      share|improve this answer




                                      share|improve this answer










                                      answered Sep 17 at 6:27









                                      VimalVimal

                                      312 bronze badges




                                      312 bronze badges































                                          draft saved

                                          draft discarded















































                                          Thanks for contributing an answer to Software Quality Assurance & Testing Stack Exchange!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid


                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.

                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function ()
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsqa.stackexchange.com%2fquestions%2f40783%2fis-there-a-tool-to-measure-the-maturity-age-of-a-code-in-git%23new-answer', 'question_page');

                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown









                                          Popular posts from this blog

                                          Tamil (spriik) Luke uk diar | Nawigatjuun

                                          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                                          Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?