Skip to content

Commit

Permalink
#185 better doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 4, 2024
1 parent 1cb50a2 commit f0e5963
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metrics/authors.sh
Expand Up @@ -35,4 +35,4 @@ else
noca=0
fi

echo "noga ${noca} Number of Git Authors (Different Committers)" > "${output}"
echo "noga ${noca} Number of unique Git committers of a file" > "${output}"
4 changes: 3 additions & 1 deletion metrics/cyclomatic_complexity.py
Expand Up @@ -58,7 +58,9 @@ def branches(parser_class):
for path, node in ast:
complexity += branches(node)
with open(METRICS, 'a', encoding='utf-8') as m:
m.write(f'cc {complexity} Total Cyclomatic Complexity of all methods\n')
m.write(f'cc {complexity} Total \
\\href{{https://en.wikipedia.org/wiki/Cyclomatic_complexity}}{{Cyclomatic Complexity}} \
of all methods\n')
except FileNotFoundError as exception:
message = f"{type(exception).__name__} {str(exception)}: {JAVA}"
sys.exit(message)

0 comments on commit f0e5963

Please sign in to comment.