图9:废弃—通过被删除的代码行数进行测量。
SQLJ程序需要的代码行数比JDBC程序更少。
SQLJ programs require fewer lines of code than JDBC programs.
一个关键的评估变量是手工编写的代码行数,它被用来计算项目的总规模。
Lines of manually written source code, which acted as a key variable in estimates, were counted to calculate the total size of the project.
计算代码复杂度的老方法,一般是统计一个给定的函数或方法中的代码行数目。
The oldest method for calculating code complexity is counting the number of lines in a given function or method.
除此之外,您在您所有的测试脚本中,减少了执行一个搜索的代码行数量,从三个减少到一个。
In addition, you reduce the number of lines to perform a search from three to one in all you test scripts.
举例来说,如果您度量软件开发人员的代码行数,那么团队将生成拥有许多不必要代码行的程序。
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.
识别会随着(您所造成的)其它变更(包括使用受影响的数据项和间接的数据项的代码行数)而改变的应用程序范围的能力。
Ability to identify areas of an application that will change as a consequence of other changes you make, including lines of code that use affected data items and indirect data items.
对于这些对象的调用数目,以及为取得期望结果必须执行的代码行数,让我们了解要取得期望结果需要进行多么重大的处理。
The number of calls to the objects and the number of lines of code that must be execute to achieve the desired result gives us an idea of the serious processing required to achieve the desired result.
如果把SQL、XML-RPC监听器和客户端的代码行数都计算在内,估计这个中间件系统的代码会低于 600 行。
If the number of lines of code for the SQL, XML-RPC listener, and client are counted, this middleware system was weighs in under 600 lines of 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.
如果你理解软件的运作方式,就能知道按代码行数衡量工作效率毫无意义。
If you understand how software works, you know the futility of measuring productivity by lines of code.
Groovy中的duck - typing和属性语义通过减少代码行数来减少冗余;然而,也可以通过增加透明度来减少冗余。
The duck-typing and property semantics in Groovy help remove noise by reducing the number of source lines of code; however, you can also remove noise by adding transparency.
这有点烦人,但是如果您已经知道这是怎么回事,您也就不会再困惑了,因为您仍可以看到代码的正确行数。
That's annoying, but not too confusing once you know what's happening, because you'll still see the correct line of code.
其目的是展示不触及任何源代码而进行数据源和连接程序的更改是多么简单。
The idea here is to show how easy it is to change data sources and connectors without touching the source code.
此自定义代码可以根据客户实现的需求执行数据或流程的其他验证。
This custom code can perform additional validation of data or process enforcement as required by customer implementations.
常用于减少代码行数和重复表达的串联字符串对于开发人员来说可能比较方便,但是有时候会导致全球化阶段需要付出更多的努力。
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.
因为可以在运行数据库应用程序代码的JVM之外管理连接或数据库游标这样的资源,所以应用程序必须显式地关闭这些资源。
Because these resources, like the connection or any database cursors, can be managed outside the JVM running your database application code, your application must close them explicitly.
即便我们可以采用不同的测量方式,例如代码行数、类的数量、函数指针的数量、系统漏洞的数量,等等,软件还是缺乏一种定义良好的原子结构。
Software also lacks a well defined atomic unit of work — even though we can apply various measures, such as lines-of-code, number of classes, number of function points, number of bugs, etc.
图1中的图,描述了缺陷密度与评审代码行数量之间的关系,支持该规则。
The graph in Figure 1, which plots defect density against the number of lines of code under review, supports this rule.
在第一个示例中,创建一个用来开发和执行数据库应用程序代码的干净的工作空间。
In this first example, you create a clean workspace for developing and executing your database application code.
表示并行数组上的操作的代码有点欺骗性。
The code for expressing operations on parallel arrays is somewhat deceptive.
您可以配置所有格式,包括源代码中的各个元素所需的缩进,以及导入组之间显示的空行数目。
You can configure everything from how much indentation is required for each element in the source code to how many blank lines appear between import groups.
敏捷教练和咨询顾问们经常警告他们的客户:传统的度量指标,诸如收益价值、工作小时数、代码行数,以及代码测试覆盖率等都不能与敏捷项目很好地吻合。
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.
它会增加代码行数,增加复杂度,而且会增加您真正关注的业务逻辑代码的阅读难度。
It means extra code, extra complexity, and it obscures the real business logic that is your true focus.
在测量为特定项目生成的工作量时,诸如代码行数和类数量等标准度量非常重要。
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.
当然如果您仅仅按照程序开发人员在一个特定时间创建的应用程序代码的行数(或者一些其他方法)来计算的话,这一点是正确的。
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.
造成代码行数量增长的原因是由于DOMAPI的低级特性、对方法和编程样式不正确的应用以及对整个API缺乏了解。
What contributed to the increase in the number of code lines were the low-level nature of the DOM API, incorrect application of methods and programming patterns, and lack of knowledge of the full API.
造成代码行数量增长的原因是由于DOMAPI的低级特性、对方法和编程样式不正确的应用以及对整个API缺乏了解。
What contributed to the increase in the number of code lines were the low-level nature of the DOM API, incorrect application of methods and programming patterns, and lack of knowledge of the full API.
应用推荐