Code metric analyzer for Swift projects.
NOI
(number of imports) metric and graphimport
statementsgraphviz
(fallback on SVG export for the dependency graph)output.json
Enforced UTF-8 encoding on file opening
First release available on pip
: https://pypi.org/project/swift-code-metrics/
Reports are saved in the output.json
Graphs generation is now optional
Documentation update
Test coverage extension
Language and environment: Python 3.6.
Extended test coverage Removed hardcoded exclusion of tests Sample project with test
Language and environment: Python 3.6.5
Code refactor Added new Percentage of Comments metric Added aggregate output data for the whole codebase Printing report to reports.txt file if artefacts folder is provided
Language and environment: Python 3.6.5
Parsing engine improvements Added new metrics: Lines Of Code, Number Of Comments, Number of concrete components Project renaming Bug fixing
Language and environment: Python 3.6.5