문제

Is there a tool that parses a Ruby script (MRI/YARV) and gives statistics of how many lines each module/class/method definition is?

도움이 되었습니까?

해결책

What do you mean by MRI/YARV? A script doesn't have an implementation associated with it. The tool may be associated with a particular implementation, though.

There may be such a tool in the code metrics section of Ruby Toolbox.

다른 팁

Saikuro will do this. It's also included in metric_fu, which makes it easy to run Saikuro and many other code metrics tools.

(Be careful, the saikuro gem is probably not what you want, instead it's Saikuro with a capital "S".)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top