How to find out how many lines of code there are in an Xcode project?

前端 未结 15 1637
闹比i
闹比i 2020-11-30 16:32

Is there a way to determine how many lines of code an Xcode project contains? I promise not to use such information for managerial measurement or employee benchmarking purp

15条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 16:56

    Check out Xcode Statistician, it does exactly what you want. It also provides other interesting statistics so is worth a run for fun now and then.

    Note that it will not look inside real folders, though it will look in groups. Odds are you aren't using real folders so it'll work great. If you are using folders then you just have to do the count in each folder and add them together.

    Note: As of June, 2012, it seems this does not work properly with the latest versions of Xcode.

提交回复
热议问题