計算項目中的代碼行數:Count the Lines of Code (LOC)

不少時候打開一個大的項目工程時,咱們會想知道這個項目有多少行代碼。web Visual Studio 自帶這個功能,在分析->窗口->代碼度量值結果,可是這個功能比較耗時,由於同時分析了代碼的耦合程度,繼承深度等內容。shell powershell中能夠實現這個功能,參考自:How do you count the lines of code in a Visual Studio solutio
相關文章
相關標籤/搜索