diff --git a/metrics/multimetric.sh b/metrics/multimetric.sh index a18e3350..9220642e 100755 --- a/metrics/multimetric.sh +++ b/metrics/multimetric.sh @@ -33,9 +33,9 @@ temp="${TARGET}/temp/multimetric.json" mkdir -p "$(dirname "${temp}")" echo "${body}" > "${temp}" cat < "${output}" -HSD $(echo "${body}" | jq '.halstead_difficulty' | "${LOCAL}/help/float.sh") \href{https://en.wikipedia.org/wiki/Halstead_complexity_measures}{Halstead Difficulty} -HSE $(echo "${body}" | jq '.halstead_effort' | "${LOCAL}/help/float.sh") \href{https://en.wikipedia.org/wiki/Halstead_complexity_measures}{Halstead Effort} -HSV $(echo "${body}" | jq '.halstead_volume' | "${LOCAL}/help/float.sh") \href{https://en.wikipedia.org/wiki/Halstead_complexity_measures}{Halstead Volume} +HSD $(echo "${body}" | jq '.halstead_difficulty' | "${LOCAL}/help/float.sh") Halstead Difficulty~\citep{halstead1977elements} +HSE $(echo "${body}" | jq '.halstead_effort' | "${LOCAL}/help/float.sh") Halstead Effort~\citep{halstead1977elements} +HSV $(echo "${body}" | jq '.halstead_volume' | "${LOCAL}/help/float.sh") Halstead Volume~\citep{halstead1977elements} MIdx $(echo "${body}" | jq '.maintainability_index' | "${LOCAL}/help/float.sh") Maintainability Index~\citep{coleman1994} FOut $(echo "${body}" | jq '.fanout_external' | "${LOCAL}/help/float.sh") \href{https://en.wikipedia.org/wiki/Fan-out_(software)}{Fan-Out} EOT diff --git a/tex/report.bib b/tex/report.bib index a2f54b52..de4a9da0 100644 --- a/tex/report.bib +++ b/tex/report.bib @@ -170,8 +170,17 @@ @article{coleman1994 author = {Coleman, Don and Ash, Dan and Lowther, Bruce and Oman, Paul}, doi = {10.1109/2.303623}, journal = {{Computer}}, + volume={27}, + number={8}, publisher = {IEEE}, title = {{Using Metrics to Evaluate Software System Maintainability}}, year = {1994}, - doi={10.1109/2.303623} +} + +@book{halstead1977elements, + author = {Halstead, Maurice H.}, + doi = {10.5555/540137}, + publisher = {Elsevier}, + title = {{Elements of Software Science (Operating and Programming Systems Series)}}, + year = {1977}, }