-
-
Notifications
You must be signed in to change notification settings - Fork 58
New Metrics: Support of source code related metrics #139
Comments
Thank you @inishchith for triggering the discussions about code related metrics. Overall they look OK, find below some comments for each idea.
Possible additions to the proposed list could be:
It could be interesting to apply the same metrics also at package level. This info could be useful to drive refactorings. |
@valeriocos Thanks for suggesting the improvements, Overall I like the ideas. We can prioritize their implementation accordingly. I'll update the thread in case of refinements to the initially suggested ideas. @GeorgLink @jgbarah Can you please have a look Thanks. |
I like the idea, but I'm not sure how to convey it. We have some working groups potentially involved... Maybe the best thing could be one of these:
@germonprez @GeorgLink any feedback about this? |
Thanks @inishchith for kicking off the discussion. I agree with @jgbarah, any WG can pick up a metric they are interested in. The Common, Risk, or Evolution Working Groups are good places to advance these metrics. I suggest you see which WG is most interested and advance the metrics there. |
@jgbarah @GeorgLink Thanks for the suggestions :) Thanks |
Schedule of meetings: https://chaoss.community/participate/ Please let me know if you have any questions about the meetings or the page I directed you to. |
@GeorgLink Thanks for the response. |
Issue resolved. |
After the ideation of adding support to GrimoireLab to produce
source code related metrics
using Graal was introduced in chaoss/grimoirelab#182 and supporting discussion thread chaoss/grimoirelab#182 (comment) and a response chaoss/grimoirelab#182 (comment). I had some thoughts to get the discussion started here in order to understand the current state and future scope of additions of metrics.Some of the ideas aligned were:
License & Copyright analysis related
All licenses
: List of licenses present in the repository.License Count
: Number of licenses found in a software repository.Package License Declaration
: A list of license declarations on the softwarepackage.
Copyright Declaration
: The degree to which the project properly declarescopyright details.
License Coverage
: Number of files with a file notice (copyright notice + licensenotice) and ones without a file notice.
Code complexity analysis related ( cyclomatic complexity, LOC )
LOC
: Total Lines of CodeCCN
: Cyclomatic Code Complexity of a software repository.Complex Files
: A list of files with higher complexity in terms of Cyclomatic CodeComplexity (CCN) & Lines of Code (LOC).
Functions
: Number of functionsComments
: Total comment lines present in the repository.Would like to know if this is the right place for the discussion.
I'd be more than happy to join a call for the discussion :)
Would also like to have some pointers from @jgbarah @valeriocos @aswanipranjal
Thanks
The text was updated successfully, but these errors were encountered: