通常情况下,长方法和条件复杂度是息息相关的。
Often, there's a correlation between long methods and conditional complexity.
前言:目的:探索一种新式跟腱延长方法。
Objective: To explore a new operative method of calcaneal tendon lengthening.
是否真的要测试长方法中的第18个条件,是个判断问题。
Whether or not to accurately test the 18th conditional in a long method is a matter of judgment.
长方法不仅完成太多的工作,也需要人们费很大的劲去理解!
So long methods not only do too much work, but they require too much work to understand!
在清单8中,我调用PMD静态分析工具来搜索代码库中的长方法。
In Listing 8, I'm calling the PMD static analysis tool to search for long methods in the code base.
清单7中高亮显示的部分展示了一个长方法代码味道示例的一小部分。
The highlighted section in Listing 7 shows a small portion of an example of a long method code smell.
清单8中的脚本为长方法(大类)找到了sloc度量方法。
The script in Listing 8 finds SLOC measures for long methods (and, optionally, large classes).
通常,长方法和大类也暗示着存在其他代码味道,如条件复杂度和重复代码。
Often, long methods and large classes are indications of other code smells, such as conditional complexity and duplicated code.
结果表明,可靠性增长方法能充分利用信息,并可节省大量试验样本。
These results indicate that informations can be fully utilized and many samples can be saved by using this reliability growth method.
本文利用双滑尺的接长方法,探讨了机床数显改造中的定尺接长问题。
In this paper, the author USES the method of double slide-scale length-link to study the fixed-scale length-link in improving the digital display of machine tools.
有一个很有帮助的经验法则,您可以说非代码注释行超过100行的方法是长方法。
For a helpful rule of thumb, you could say that a method with more than 100 non-commenting lines of code is way too long.
这对于助力经济增长方法转变、加强节能环保工作具有十分成重要的意义。
This is of vital importance in efforts to promote the change in the pattern of economic growth and increase energy conservation and environmental protection.
提出用变桩长方法控制混凝土桩的正位率,以解决施工中存在的桩长问题。
The method of changing the pile length to control the correct position rate was raised in the paper. This method can solve the problem of pile length in the construction.
高分辨率、高精确度的偏振干涉测长方法在几何量测量中得到了广泛的应用。
The polarization interferometry with high resolution and high accuracy is widely used in the measurement of geometrical quantities.
应用等组分晶体生长方法 ,研究了牙本质晶、羟基磷灰石、釉质晶脱矿动力学。
The constant composition method was used to study the kinetics of demineralization on dentine crystal, hydroxylapatite and tooth enamel.
利用接种生长方法研究了TATMP对过饱和溶液中碳酸钙晶体生长速度的影响。
The effect of TATMP on the growth rate of calcite crystals in supersaturated solutions is studied with seeded growth technique.
针对红外图像的特点,提出了一种综合应用边缘检测和区域生长方法的图像分割方法。
An image segmentation method based on edge detection and region growing is proposed in view of the features of IR image.
着重阐述了本文所涉及的ZnO薄膜的生长方法——激光脉冲沉积法的原理及其方法。
We introduced emphatically the principle and method about pulsed laser deposition, which was adopted in our work.
这是研究与其他许多类都进行交互的长方法的好工具,并且是对方法进行文档编制的好工具。
This is a great tool for investigating long methods that have a lot of interaction with other classes, as well as for documentation of your methods.
例如,我将使用PMD的经过恰当命名的ExcessiveMethodLength规则来发现长方法。
For an example, I'll use PMD's aptly named ExcessiveMethodLength rule for finding long methods.
本文全面综述了该晶体的物性与电光性能,以及多晶原料的合成与单晶的生长方法和其应用前景。
The optical, physical and electro-optical properties of ZGP single crystal, and its synthesis, growth and applications were described in detail.
针对人工测量油管长度存在测量误差大、作业效率低等问题,提出以激光测量为核心的油管智能测长方法。
A tubing length intelligent laser measuring system is developed in the light of the low measuring accuracy and efficiency.
本文回顾了股骨延长术的适应证,各种不同的延长方法,包括最新的器械和技术,以及术中术后并发症及其防治。
We have reviewed in this paper the indications, different methods, newest devices and skills, prevention and cure of complications in femoral lengthening.
我发现人们说这个错误可能发生当我有很长的方法名,但这似乎并不适用,因为我没有长方法名称和我自己不生成代码。
I found people say this error might happen when I have very long method names, but this does not seem to apply here because I don't have long methods names and I don't generate code myself.
主要结合各种基于光 束调制和光刻技术的人工控制超级横向生长方法,讨论了获得大晶粒尺寸优质多晶硅薄膜的途径。
Approaches to enlarging poly-Si film grain size are discussed, with emphasis on existing optics-based and lithography-based artificial controlled super lateral growth(AC-SLG) methods.
该算法将边缘检测应用于区域生长规则中,充分发挥了边缘方法和区域生长方法两者的优点,实现了三维曲面边界的精确定位。
In this way, this proposed algorithm takes merits of the combination of edge detection and region growth to realize the accurate boundary location of 3d curved surface.
本文在现有的可靠性方法和可靠性增长方法的基础上,对可靠性和可靠性增长方法进行了更加深入和广泛的研究,主要体现在以下几个方面。
Based on the available methods, this paper devoted to more extensive researches of reliability methods and reliability growth methods. The main innovations are listed as follows.
到目前为止,所给出的模式都在暗示臃肿的代码(长方法、太多的public方法、过多的条件和导入,等等)将影响可读性、可测试性和可维护性。
By now, a pattern has emerged suggesting that gluttonous code (long methods, too many public methods, excessive conditionals and imports, etc.) impairs readability, testability, and maintainability.
本文对蚝油中存在的白点进行分析、检验,确定为芽孢杆菌属,并从蚝油的含盐量、煮制温度、灭菌时间等方面去探讨抑制芽孢杆菌的生长方法。
This paper reported white points in oyster cocktail, defined the bacillus. By the test analysis of salinity, temperature and sterilization, studied the technology of bate bacillus.
本文对蚝油中存在的白点进行分析、检验,确定为芽孢杆菌属,并从蚝油的含盐量、煮制温度、灭菌时间等方面去探讨抑制芽孢杆菌的生长方法。
This paper reported white points in oyster cocktail, defined the bacillus. By the test analysis of salinity, temperature and sterilization, studied the technology of bate bacillus.
应用推荐