What is BEAM?
A statement about the abbreviation BEAM
In the purpose of brevity, this article uses the abbreviation-beam of the tool name, which is simply the acronym for the tool's "Checking Tool for Bugs Errors and mistakes", rather than the name of the tool.
IBM Checking Tool for Bugs Errors and mistakes (with its initials BEAM later in this article) is a static analysis tool developed by IBM that can be used to analyze and find some of the less-easily discovered in C, C + +, and
be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.
11. sonarsource from http://www.sonarsource.org/
License: lgpl
Sonar is an open platform to manage code quality. As such, it covers the 7 axes of code quality:
Architecture design, duplications, unit tests
the small, most of the project is in the form of continuous integration, through continuous integration tools for automated construction (including compilation, release, automated testing) to verify, so as soon as possible to discover integration errors. Many teams find that this process can greatly reduce integration problems and allow the team to develop cohesive software faster. The current project also uses Jenkins plus
coverage requires two points of data, one for which functions are executed, and one for the total number of functions in the file.
The total number of functions in the file, since we cannot execute all the functions again, this part can only be implemented by code static scanning. If you are in C + + or Java, you may need lexical analysis
the insertion of statistical code, that is, in the beginning of each method of the code to add statistical counters and serial numbers, when the method is executed, The test case is tested using the serial number to calculate the modification method. Generally speaking, instrumentation technology can be divided into two ways: Class instrumentation and Source instrumentation. The former inserts the statisti
class declaration.
Advanced Features of Eclemma
if Eclemma can only test the test coverage of the Java application, it does not provide much enhancement relative to the command-line version of Emma. Instead, Eclemma offers a number of features that are tightly integrated with Eclipse. It can not only test the Java application, but also calculate the JUnit Unit
wait for the running of the continuous integration build. If you use the Eclipse plug-in, you can build or integrate it through continuous integration.BeforeSome such conflicts are found. This leadsProgressive ProgrammingIn this way, a certain degree of quality test can be performed during the encoding process-it can no longer be earlier than this!
This article covers the five major fields of code analysis I think:
Encoding standard
.
The total number of functions in the file. since we cannot execute all the functions, this part can only be implemented through static code scanning. If it is in C ++ or Java, lexical analysis tools may be required. However, in the face of the most beautiful language PHP, we do not need to be so complicated. Since PHP4.3, PHP Zend Engine has a built-in tokeniz
data, one for which functions are executed, and one for the total number of functions in the file.
The total number of functions in the file, since we cannot execute all the functions again, this part can only be implemented by code static scanning. If you are in C + + or Java, you may need lexical analysis tools, but in the most beautiful language in front of
From: http://qa.taobao.com /? P = 7218
C/C ++ has very few statistical tools for code coverage. Compared with Java, there are very few open-source and free tools. It is very rare to use and open-source tools. Finally, we chose gco
: https://docs.microsoft.com/en-us/visualstudio/test/using-code-coverage-to-determine-how-much-code-is-being-testedHttps://github.com/Microsoft/vstest-docs/blob/master/docs/analyze.md#coverage Note: vs integrates mstest, so the Code Cov
This article provides some tools to help you optimize the code and check potential problems in the source code.
1.PMDFrom http://pmd.sourceforge.net/
PMD can scan Java source code to find potential problems similar to the following:
Possible bug -- a null value is returned
will lead to a runtime error in which the NULL pointer is assigned a value.
Decision coverage ):Decision overwrite refers to the code block that controls the structure, for example, whether the entire bool expression in IF and while is executed once under the conditions of false and true. Decision coverage does not consider whether the subconditions that consti
Overwriting data. Visual Studio will automatically perform the instrument operation on the file, otherwise it will not collect Overwriting data.
Step 2: Execute automated test cases
Step 3: view the code coverage result
As programming languages and development tools are modernized and foolish, it is now easier to get and analyze
Original postHttp://www.iteye.com/news/22285Original ENGLISHHttp://java.dzone.com/articles/java-tools-source-codeThis article provides some tools to help you optimize the code and check potential problems in the source code.1. pMD from http://pmd.sourceforge.net/PMD can scan
Original article: http://java.dzone.com/articles/java-tools-source-code
1.PMDFrom
Http://pmd.sourceforge.net/
PMD can scan Java source code to find potential problems similar to the following:
Potential bug -- a null value is returned in the try/catch/finally/switch state
Java advanced (iii) ------ java programming specifications-Comparison of FindBugs, PMD, and CheckStyle code quality detection tools
In the previous article, we have learned how to automatically set the code format in myeclipse.
During the development process, we will find t
PHP code formatting tool http://www.waterproof.fr/products/phpCodeBeautifier/I recently modified a code with no indentation in it. I can use this to format it.It is equivalent to the indent of the previous cBy the wayC, c ++ c #=> indent AstyleJava ==> astyle Jalopy jacbe ImportScrbberPhp ==> phpCodeBeautifierPerl ==> perlTidyPython ==> PydentAsp ==> VBSBeaut
Tool Name
Applicable Language
Int
Excerpt from: http://www.oschina.net/question/129540_23043 analysis and comparison of common Java static code analysis toolsIntroduction: This article first introduced the static Code Analysis basic concept and the main technology, then introduced the existing 4 kinds of mainstream Java static
Introduction
This article first introduces the basic concepts and main technologies of static code analysis, and then introduces four existing mainstream Java static code analysis tools (Checkstyle, findbugs, PMD, jtestIn the end, they are analyzed and compared in terms of functions and features, hoping to help
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.