然而,这种效力往往受到时间约束条件的限制,导致以下这种情况的出现:代码复查和检查或者是不被执行,或者是很少被执行。
However, the effectiveness is often limited because of time constraints, leading to a situation where code reviews and inspections are either not conducted or are conducted infrequently.
因为检查大型的代码基址需要的时间相当长,即使是在快速硬件上也是如此,所以这种方法还可以帮助您更快地发现您要查找的特定问题。
Because checking a large code base can take a noticeable amount of time, even on fast hardware, this can also help you find specific problems you're looking for more quickly.
这些函数优化您的PHP配置和代码,以防止对每个请求进行不必要的文件状态检查,从而减少响应时间。
These optimize your PHP configuration and code to prevent unneeded file status checks on every request, which can slow down response times.
静态分析让您可以关注应用程序中引发的问题的更有创造性的方面,因而使得花在代码检查上的时间更有生产力。
Static analysis allows you to focus on more creative aspects of issues that may arise in your application, thus making the time spent in code inspections that much more productive.
可以在代码中放上标志,检查完成特定操作所需要的时间间隔。
They can place markers in the code and check the elapsed time it takes to complete certain operations.
这时您就需要检查覆盖率分析的数据,以帮您确定哪些自动化测试的子集需要运行,这样就可以让您在更短的时间内验证新的代码。
You can examine the coverage analysis data to help you determine which subset of the automation suite needs to be run, allowing you to validate the new code in less time.
检查表是解决这个问题的最好方式,因为它会提醒评审者和代码开发者花点时间去考虑一下可能被遗忘的事情。
A checklist is the single best way to combat the problem, because it reminds the reviewer or author to take the time to look for something that might be missing.
这种行为可通过手动或者自动的方式启动——或者间隔固定的时间或者由程序员检查代码。
This activity can be triggered either manually or automatically — either at fixed intervals or incrementally as programmers check in code.
比如说,他们想知道在什么时间检查引擎或者维修程序的隐形代码,但是他们不会有任何关键部分的信息。
"They'd know, for example, at what number of hours do the engines get checked, or the procedures for maintaining the stealth coding, " but "they wouldn't have information about key parts, " he said.
时间或缺少时间看起来是进行代码检查的主要障碍。
Time or rather lack of time seems to be a major inhibitor of code reviews.
通常来说,单行的代码也会影响到整个的系统,所以花上五分钟时间去检查更改可能造成的结果是值得的。
Often, a single line can have consequences throughout the system, and it's worth the five minutes to think through the possible effects that a change could have.
如果您把大量的时间用在创建用例和体系结构的决策上,而并没有拟定开发人员需要遵守的基本规则,那么代码检查将毫无作用。
It's no use if you spend a lot of time creating use cases and architectural decisions, but then don't lay down the basic rules for developers to follow.
所以当开发者在第九天的时候说编写代码马上结束时,我们实际在时间表上已经有了四天的检查时间。
So when the developer announces on day nine that "coding is complete," we're actually four days off schedule.
代码的语法检查或编译的时间愈长,公司里的新来的员工,弄明白我们编写的系统所花费的时间就愈长。
The longer checkouts or compiles take. The longer it takes a new employee to make sense of your system.
因此,每次执行这个代码段的时候,将检查 $TIME是否匹配case语句所指定的时间。
So, each time this section of code is executed, the $TIME is checked to see if it matches the times of the case statement.
重量级检查平均花费的时间是每 200行代码9 个小时。
The average heavyweight inspection takes nine hours per 200 lines of code.
check_site():这一小段XQuery代码用来检查一个WebURL是否可被访问以及 Web 服务器做出响应要多长时间。
utility:check_site(). This bit of XQuery code checks whether a Web URL is accessible and how long it took for the Web server to respond.
整个ERP应用程序由3个开发人员花了9个月的时间来完成,“3650个工时用于移植代码,3400个工时用于检查和重构代码,1300个工时进行测试”。
The entire ERP application was migrated in 9 months by 3 developers totaling “3,650 developer-hours to migrate the code, 3,400 hours for code review and refactoring, and 1,300 hours for testing.”
详细的程序代码检查是最好的防御方式,但多数公司没有时间或资源来全面做好这件事。
Detailed code reviews are the best defense, but most companies do not have the time or resources to do this adequately.
详细的程序代码检查是最好的防御方式,但多数公司没有时间或资源来全面做好这件事。
Detailed code reviews are the best defense, but most companies do not have the time or resources to do this adequately.
应用推荐