Figure 16: Trend of total source lines of code (SLOC) developed.
图16:被开发的源代码行总数的趋势。
SLOCCount is a program I wrote that counts the number of source lines of code (therefore, SLOC) in programs (see Resources for a link).
SLOCCount是我编写的一个程序,它统计程序中源代码的行数(source lines of code)(因此名为SLOC),(参见参考资料中的链接)。
Listing 6 USES the Ambient Orb Ant task and a Ruby script to change the color and animation of an Orb if 20 or more classes exceed 300 Source Lines of Code (SLOC).
清单6使用了AmbientOr bAnt任务和ruby脚本,在20个以上的类超过300个源代码行(SLOC)时,就改变orb的颜色和动画。
Listing 6 USES the Ambient Orb Ant task and a Ruby script to change the color and animation of an Orb if 20 or more classes exceed 300 Source Lines of Code (SLOC).
清单6使用了AmbientOr bAnt任务和ruby脚本,在20个以上的类超过300个源代码行(SLOC)时,就改变orb的颜色和动画。
应用推荐