From 0b280080d8a40f2419c4bed87a8e631bd3c06fce Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Mon, 4 Mar 2024 07:18:58 +0300 Subject: [PATCH] #185 better doc for jpeek metrics --- metrics/cloc.sh | 2 +- metrics/jpeek.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/metrics/cloc.sh b/metrics/cloc.sh index 2523cb7a..d9377316 100755 --- a/metrics/cloc.sh +++ b/metrics/cloc.sh @@ -32,5 +32,5 @@ IFS=',' read -r -a M <<< "${out}" cat < "${output}" nobl ${M[2]} Number of Blank Lines nocl ${M[3]} Number of Commenting Lines -loc ${M[4]} Lines Of Code +loc ${M[4]} Total Lines Of Code EOT diff --git a/metrics/jpeek.sh b/metrics/jpeek.sh index b1531f68..f301669b 100755 --- a/metrics/jpeek.sh +++ b/metrics/jpeek.sh @@ -32,11 +32,11 @@ if [[ ! "$(realpath --relative-to="${TARGET}/github" "${java}")" =~ ^\.\. ]]; th fi cat < "${output}" -MMAC 0 Method-Method through Attributes Cohesion. -CAMC 0 Cohesion Among Methods in Class -NHD 0 Normalized Hamming Distance -LCOM5 0 Revision of the initial LCOM metric -SCOM 0 Sensitive Class Cohesion Metric +MMAC 0 Method-Method through Attributes Cohesion, per \href{https://dl.acm.org/doi/10.1145/2089116.2089118}{Jehad Al Dallal et al.} +CAMC 0 Cohesion Among Methods in Class, per \href{https://www.semanticscholar.org/paper/A-Class-Cohesion-Metric-For-Object-Oriented-Designs-Bansiya-Etzkorn/27091005bacefaee0242cf2643ba5efa20fa7c47}{Jagdish Bansiya et al.} +NHD 0 Normalized Hamming Distance, per \href{https://dl.acm.org/doi/abs/10.1145/1131421.1131422}{Steve Counsell et al.} +LCOM5 0 Revision of the initial LCOM metric, per \href{https://www.semanticscholar.org/paper/Coupling-and-cohesion-(towards-a-valid-metrics-for-Henderson-Sellers-Constantine/65120b21ce259c613184281198d3c7ec7bf38966}{Brian Henderson-Sellers et al.} +SCOM 0 Sensitive Class Cohesion Metric, per \href{https://www.researchgate.net/publication/250004848_A_sensitive_metric_of_class_cohesion}{Luis Fernández et al.} MMAC-cvc 0 Same as MMAC, but constructors are excluded CAMC-cvc 0 Same as CAMC, but constructors are excluded NHD-cvc 0 Same as NHD, but constructors are excluded