I
I
IgorFedorchuk2013-10-16 11:51:12
Objective-C
IgorFedorchuk, 2013-10-16 11:51:12

What are the programs for determining code metrics in Objective-C?

Good afternoon!
Recently I took up the issue of defining code metrics in Objective-C. I would like to get such metrics as the number of classes in the project, the average number of lines of code in the class, code coverage with tests, class diagrams, etc. Well, the main thing that I would like to get is the cyclomatic complexity of the program.
Searching the Internet gave such results as Xcode Statistician and the well-known Doxygen . But they give only part of the metrics.
Can you please tell me what software do you use for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mbazaliy, 2013-10-16
@IgorFedorchuk

1. Code coverage with tests - set generate code coverage and instrument program flow in the build settings and view with Coverstory, gcov, lcov, xcoverage utilities
2. Class and dependency diagrams - objc_dep on github
3. Cyclomatic complexity - hfcca.py on github
4. Quantity lines - cloc.sourceforge.net/
5. By code metrics - OCLint, objclint on github

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question