You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
303 B
13 lines
303 B
#! /bin/bash
|
|
VERTICAL_HEADERS=(
|
|
"Cyclomatic complexity"
|
|
"Source lines of code"
|
|
"Maintainability index"
|
|
"Number of Arguments"
|
|
"Maximum Nesting"
|
|
"Technical Debt"
|
|
)
|
|
|
|
for header in "${VERTICAL_HEADERS[@]}"; do
|
|
sed "/:/! s/$header/\\\rot{$header}/g" metrics.tex > tmp; mv tmp metrics.tex
|
|
done |