Skip to content

Commit 271d707

Browse files
committed
Streamline a line
1 parent b785872 commit 271d707

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

_labs/software-testing/metrics.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ layout: notes
2525
* Many more ...
2626

2727
# Computing Metrics
28-
* Will approximate the following using a combination of built-in srcML utilities and UNIX command line tools
28+
* Will approximate the following using built-in srcML and UNIX tools
2929
* Cyclomatic Complexity
3030
* Halstead
3131

@@ -101,16 +101,14 @@ layout: notes
101101
# Compute Halstead
102102
* Run the provided *halstead.sh*: `halstead source output-file`
103103
* Name the output file *tokens.txt*
104-
* Use `uniq`, `wc`, etc. as needed to compute [Halstead]'s Length, Vocabulary, Estimated length, and Purity Ratio
104+
* Use `uniq`, `wc`, etc., as needed to compute [Halstead]'s Length, Vocabulary, Estimated length, and Purity Ratio
105105
* Commit and push the output-file (i.e., *tokens.txt*) to GitHub
106106
* Answer Halstead metrics in Canvas
107107

108108
# Some Tips
109109
* Since in alphabetical order, front tokens are all operators except strings
110110
* Use `grep "'.*'"` to filter out string literals, then look at line the operators end at
111111
* `word_operators.sh` is provided to filter out word token operators
112-
* Combine above with: `wc`, `uniq`, etc., as necessary
113-
114112

115113
# Completion Requirements
116114
* You have used [good commit messages](https://cbea.ms/git-commit/)

0 commit comments

Comments
 (0)