Skip to content

Commit

Permalink
#77 names
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Sep 26, 2023
1 parent a7cea6e commit c463b07
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions metrics/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,17 @@ class NotClassError(Exception):
metric.write(f'smtds {smethods(tree_class)} '
f'Number of Static Methods\n')
metric.write(f'ncss {ncss(raw)} '
f'Non Commenting Source Statements (NCSS)\n')
f'Non-Commenting Source Statements (NCSS)\n')
metric.write(f'impls {impls(tree_class)} '
f'Number of implemented interfaces\n')
f'Number of Implemented Interfaces\n')
metric.write(f'extnds {extnds(tree_class)} '
f'Number of extended classes\n')
f'Number of Extended Classes\n')
metric.write(f'gnrcs {gnrcs(tree_class)} '
f'Number of type parameters (generics)\n')
f'Number of Type Parameters (generics)\n')
metric.write(f'final {final(tree_class)} '
f'Class is final\n')
f'Class is Final\n')
metric.write(f'annts {annts(tree_class)} '
f'Number of annotations\n')
f'Number of Annotations\n')
except FileNotFoundError as exception:
message = f"{type(exception).__name__} {str(exception)}: {JAVA}"
sys.exit(message)

0 comments on commit c463b07

Please sign in to comment.