例如,知道代码行数几乎不能带来任何价值。
For example, it's very hard to get much value from knowing the number of lines of code.
图9:废弃—通过被删除的代码行数进行测量。
SQLJ程序需要的代码行数比JDBC程序更少。
SQLJ programs require fewer lines of code than JDBC programs.
如果你理解软件的运作方式,就能知道按代码行数衡量工作效率毫无意义。
If you understand how software works, you know the futility of measuring productivity by lines of code.
一个关键的评估变量是手工编写的代码行数,它被用来计算项目的总规模。
Lines of manually written source code, which acted as a key variable in estimates, were counted to calculate the total size of the project.
图1中的图,描述了缺陷密度与评审代码行数量之间的关系,支持该规则。
The graph in Figure 1, which plots defect density against the number of lines of code under review, supports this rule.
用代码行数来评估程序的开发进度,就好比是拿重量来评估一个飞机的建造进度。
Measuring programming progress by lines of code is like measuring aircraft building progress by weight. -- Bill Gates, co-founder of Microsoft Corporation
在测量为特定项目生成的工作量时,诸如代码行数和类数量等标准度量非常重要。
Standard metrics, such as lines of code and number of classes, are important when measuring the amount of effort that is being generated for a particular project.
我不希望太过强调代码行数—显然,您可以通过最小化或最大化代码长度做手脚。
I would not want to emphasize LOC too strongly — obviously, you can play games with minimizing or maximizing code length.
计算代码复杂度的老方法,一般是统计一个给定的函数或方法中的代码行数目。
The oldest method for calculating code complexity is counting the number of lines in a given function or method.
举例来说,如果您度量软件开发人员的代码行数,那么团队将生成拥有许多不必要代码行的程序。
For example, if you measure lines of code per software developer, the team will generate programs with lots of unnecessary lines of code.
FishEye为我们展示的代码行数在过去的两年半时间内,已经稳步地增长到了超过50万行。
FishEye shows us the number of lines of code has steadily grown to more than half a million over the past 2 and half years.
Eelco报告说生成的代码行数与DSL代码的比值超过100,并认为改善代码生成器会有很好的回报。
Eelco reports ratios of lines of code generated over lines of DSL of over 100 which he sees as an opportunity to improve the generator.
DOMAPI的低级本质、方法和编程模式的不正确应用以及缺乏完整 API 的知识,都会致使代码行数增加。
The low-level nature of the DOM API, incorrect application of methods and programming patterns, and lack of knowledge of the full API all contributed to the increase in the number of code lines.
常用于减少代码行数和重复表达的串联字符串对于开发人员来说可能比较方便,但是有时候会导致全球化阶段需要付出更多的努力。
Concatenation strings, usually used to reduce the code lines and duplicated expressions, can be convenient for developers, but sometimes they can require more effort in the globalization phase.
举例来说,通过代码行数(lines - of - code,LOC)来度量会刺激他们写新的代码来代替现有的代码。
For example, measuring them on lines-of-code (LOC) motivates them to write new code instead of reusing existing code.
近日,Eclipse基金会发布了EclipseIndigo,它包含了 62个项目,总的代码行数达到了 4600万行。
The Eclipse Foundation has announced the release of Eclipse Indigo, a combination of 62 projects with a combined total of 46 million lines of code between them.
敏捷教练和咨询顾问们经常警告他们的客户:传统的度量指标,诸如收益价值、工作小时数、代码行数,以及代码测试覆盖率等都不能与敏捷项目很好地吻合。
Agile Coaches and Consultants frequently warn their clients that traditional measures such as Earned Value, Hours Worked, Lines of Code, Code Coverage for Tests are not well suited to Agile Projects.
修改的代码的行数:少于100。
我通过在终端输入的命令的数量、我必须输入的Ruby代码的行数,以及我必须要写的HTML和内嵌的Ruby (ERb)代码行的总量来度量我的工作。
I measure my effort by the number of commands I had to enter on my terminal, the number of lines of Ruby code that I had to write, and the amount of HTML and embedded Ruby (ERb) lines I had to write.
一个方法(或类)的行数越多,将来维护其代码就可能越难。
The more lines in a method (or class), the more likely it will be difficult to maintain the code in the future.
清单5中的代码(通常用代码生成工具生成)展示了一个skeleton,它使用XMLBeans生成的类(即PurchaseOrderDocument)进行数据绑定。
The code in Listing 5 (typically generated by a code generation tool) shows a skeleton that USES XMLBeans generated classes, meaning a PurchaseOrderDocument for data binding.
仅仅在一个类上运行数据结构分析引擎代码,不那么有趣,因为结果只是代表另一个数据结构的数据结构。
Simply running the data structure analysis engine code on a class isn't all that much fun because the result is just one data structure representing another data structure.
如果我们要数代码的行数,我们不该把他们当成生产出来的行数,而是花费掉的行数。
If we wish to count lines of code, we should not regard them as lines produced but as lines spent. (Edsger Dijkstra).
Rake是Ruby的构建工具,用于自动执行类似于shell的命令,如打包和部署Ruby代码以及执行数据库迁移。
Rake is Ruby's build tool that is used to automate shell-like commands, such as packaging and deploying Ruby code, and performing database migrations.
当然如果您仅仅按照程序开发人员在一个特定时间创建的应用程序代码的行数(或者一些其他方法)来计算的话,这一点是正确的。
Certainly this is true if you just count the number of lines of application code (or some other measure) that the programmer produces in a specific period.
我们将定义一些基于层级的web页面,并展示如何使用最少的Struts2OGNL框架代码执行数据提取。
We will define hierarchical-based web pages and how we can perform data extraction using the minimal code of the Struts 2 OGNL framework.
表示并行数组上的操作的代码有点欺骗性。
The code for expressing operations on parallel arrays is somewhat deceptive.
要运行数据库代码,在名为dbcode的文件夹中打开DOS控制台。
To run the database code, open a DOS console in the folder called dbcode.
此自定义代码可以根据客户实现的需求执行数据或流程的其他验证。
This custom code can perform additional validation of data or process enforcement as required by customer implementations.
应用推荐