Skip to content

Commit

Permalink
#185 better doc for jpeek metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 4, 2024
1 parent f0e5963 commit 0b28008
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion metrics/cloc.sh
Expand Up @@ -32,5 +32,5 @@ IFS=',' read -r -a M <<< "${out}"
cat <<EOT> "${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
10 changes: 5 additions & 5 deletions metrics/jpeek.sh
Expand Up @@ -32,11 +32,11 @@ if [[ ! "$(realpath --relative-to="${TARGET}/github" "${java}")" =~ ^\.\. ]]; th
fi

cat <<EOT> "${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
Expand Down

0 comments on commit 0b28008

Please sign in to comment.