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;
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
add a comment
|
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
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
add a comment
|
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
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
code-quality git static-analysis
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
add a comment
|
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
add a comment
|
5 Answers
5
active
oldest
votes
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:
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
add a comment
|
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.
add a comment
|
Well, SonarQube has a metric actually called Maturity
, so, yeah. :)
add a comment
|
The best tool I know is Codescene https://codescene.io.
add a comment
|
You can check Codacy. This will give some insight about code.
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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:
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
add a comment
|
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:
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
add a comment
|
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:
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:
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
add a comment
|
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
add a comment
|
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.
add a comment
|
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.
add a comment
|
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.
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.
answered Sep 13 at 15:16
Tejas ShettyTejas Shetty
2114 bronze badges
2114 bronze badges
add a comment
|
add a comment
|
Well, SonarQube has a metric actually called Maturity
, so, yeah. :)
add a comment
|
Well, SonarQube has a metric actually called Maturity
, so, yeah. :)
add a comment
|
Well, SonarQube has a metric actually called Maturity
, so, yeah. :)
Well, SonarQube has a metric actually called Maturity
, so, yeah. :)
answered Sep 13 at 14:22
O.F.O.F.
2391 silver badge3 bronze badges
2391 silver badge3 bronze badges
add a comment
|
add a comment
|
The best tool I know is Codescene https://codescene.io.
add a comment
|
The best tool I know is Codescene https://codescene.io.
add a comment
|
The best tool I know is Codescene https://codescene.io.
The best tool I know is Codescene https://codescene.io.
answered Sep 15 at 13:48
Robert SösemannRobert Sösemann
1112 bronze badges
1112 bronze badges
add a comment
|
add a comment
|
You can check Codacy. This will give some insight about code.
add a comment
|
You can check Codacy. This will give some insight about code.
add a comment
|
You can check Codacy. This will give some insight about code.
You can check Codacy. This will give some insight about code.
answered Sep 17 at 6:27
VimalVimal
312 bronze badges
312 bronze badges
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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