This article provides a pattern of correlating a code smell to a measure that can be configured to be flagged from an automated static analysis tool.
本文提供了一种使代码味道与一种度量方法相关的模式,这种度量方法可以配置为通过自动静态分析工具标记。
I built a tool that lets you browse a catalog of patterns, bind them to your code, and statically check your use of the pattern.
我开发了一个工具,它可用来浏览模式,将你的代码与它们绑定起来,用它来静态地检查你对模式的使用。
I built a test tool to measure the spiral pattern of different species of trees.
我制作了一个测试工具来测量不同种类的树木的螺旋布局模式。
However, I believe that if one needed to build a tokenizer and wanted to avoid the complications of using another programming tool one could build an active pattern that fulfilled this requirement.
然而,我相信如果一个人需要构建一个标记器并想避免由于使用其他编程工具所带来的复杂性的话,那么他可以构建一个活动模式来满足这样的需求。
This pattern is slower and requires that the management tool understand the dynamic nature of the environment, but it has the benefit of allowing you to synchronize updates.
这个模式会较为缓慢,并且需要管理工具明白环境的动态特性,但是它的好处就是允许您同步更新。
Pattern recognition software on home computers would seem a perfect tool.
家用电脑上的模式识别软件看起来是个完美的工具。
Describing a pattern in a UML modeling tool also opens up opportunities to apply the pattern to a UML model.
用uml建模工具来描述一个模式,还可以提供更多将此模式运用到uml模式的机会。
The tool parses both plug-in configuration and corresponding trace files and then applies pattern recognition algorithms in order to alert users of possible inconsistencies.
此工具同时分析插件配置和对应的跟踪文件,然后应用模式识别算法,以便向用户发出有关可能的不一致性的警报。
So, if you wanted to apply an adapter to one of your designs, you'd pull that element off the palette and make some manipulations in the tool to actually transform your design to use the pattern.
因此,如果希望将适配器应用到设计中,将从选择面板选择对应的元素,并在工具中进行一些操作,以对设计进行转换,从而实使用该模式。
The platform configuration tool provides rules to validate your pattern.
平台配置工具提供了验证模式的规则。
In each case, I've found that the Visitor pattern is a reliable tool for manipulating trees of data.
无论使用哪种语言,访问者模式都是操作树形数据的一种可靠工具。
No matter which tool I'm using for modeling, I find a way to create these templates so that I can reuse whole architecture models or a simple analysis pattern.
无论使用哪个工具进行建模,我都找到了创建这些模板的方法,以便重用整个体系结构模型或单个分析模式。
Another critical development tool is make, which calls GCC and other development tools in a pattern determined by the Samba developers.
另一个关键开发工具是make,这可以调用gcc和其他开发工具,调用模式由Samba开发人员决定。
So if FindBugs is a bug pattern detector, it stands to reason that it can also serve as an auditing tool to measure the degree of compliance with a set of design principles.
因此如果FindBugs是bug模式检测器,那么它理所当然可以用作审核工具,衡量代码与一组设计原理的符合程度。
The timeline-milestone pattern – a valuable operational management tool
时间轴/里程碑模式 ——一个宝贵的运营管理工具
The facade pattern is a valuable tool for interacting with the business logic layer of a J2EE application.
facade模式是一个在与J2EE应用程序中的业务逻辑层进行交互很有用的工具。
Now that you have a basic understanding of the virtual application Builder tool it's time to start building a virtual application pattern.
既然您对VirtualApplicationBuilder工具已经有了一个基本了解,现在是时候开始构建虚拟应用程序模式了。
To exercise this pattern you will need to download rfhutil, a well-known support pack tool from IBM.
要实践这个模式,您需要下载rfhutil,它是IBM提供的一个著名支持包工具。
Notice that the tool does not allow you to click Send until you've entered a value and completed the URI pattern.
注意,在输入一个值并完成URI模式之前,此工具不允许您单击Send。
The Virtual Application Builder tool is used to build out your virtual application pattern.
VirtualApplicationBuilder工具用于构建您的虚拟应用程序模式。
For this example, select the WebSphere single server pattern, and click the clone button in the upper-right tool bar.
对于本例,将选择WebSpheresingleserver模式,并单击右上方工具栏中的clone图标。
A tool like awk is preferable to grep when you want to match the pattern in only a specific field in the lines of output and not just anywhere in the lines.
当您只希望匹配输出行中特定字段中的模式时,诸如awk等工具要优于grep。
Apply this pattern by making a selection and fill with pattern using Paint Bucket Tool.
创建一个选区,用油漆桶工具填充图案以完成添加图案的工作。
Select the Move Tool (V) and move this layer around to integrate it in the background pattern.
选择移动工具(V),将其层左右移动,对齐到背景图案。
Rational Software Architect is an example of a tool that provides full support for automated patterns and pattern-based engineering (PBE).
Rational Software Architect是对自动化模式和基于模式的工程(Pattern - Based Engineering, PBE)提供了全面支持的工具的一个例子。
Specifically speaking, a given source data pattern can be converted to a local target data pattern according to the standard data pattern (the data dictionary) by the data exchange tool.
具体来说,数据交换工具将给定的源数据模式,依据标准的数据模式(数据字典),转换为本地目标数据模式。
Support Vector Machine (SVM) is an important learning method of statistical learning theory, and is also a powerful tool for pattern recognition.
支持向量机是统计学习理论的一个重要学习方法,也是解决模式识别问题的一个有力工具。
Concept lattice is a powerful tool for concept discovery from data, used to extract hidden knowledge pattern in data.
而概念格正是从数据中进行概念发现的有力工具,用来发现数据中隐藏的知识模式。
As an effect tool of pattern recognition and data processing, rough set theory (RST) and support vector machine (SVM) have become the focus of research in machine learning.
粗糙集理论(rst)与支持向量机(SVM)作为模式识别,数据处理的有效工具,已成为机器学习的研究热点。
Multidimensional scaling is a powerful tool for dimensionality reduction in the field of pattern recognition and data mining.
多维尺度分析是模式识别与数据挖掘领域一个有力的降维工具。
应用推荐