: Analysis of bad programming habits in source code.
SonarQube: Provides an evaluation of the final results report by integrating additional analysis components with plugins.
CompilerCreates a framework for parsers, interpreters, and compilers.
ANTLR: Fully functional top-down analysis of complex frames.
JavaCC: Relative ANTLR more specific, easy to get started. Support for grammatical grammar prediction (syntactic lookahead).
: Analysis of bad programming habits in source code.
SonarQube: Provides an evaluation of the final results report by integrating additional analysis components with plugins.
CompilerCreates a framework for parsers, interpreters, and compilers.
ANTLR: Fully functional top-down analysis of complex frames.
JavaCC: Relative ANTLR more specific, easy to get started. Support for grammatical grammar prediction (syntactic lookahead).
sonar--Code Quality management platformFirst, basic understandingSonar (SonarQube) is an open source platform for managing the quality of source code. Sonar is not just a quality data reporting tool, but also a code quality management platform. through the plug-in mechanism,sonar can integrate different test tools, code analysis tools, and continuous integration tools such as PMD-CPD, Checkstyle, FindBugs, Jenkins. These results are re-processed by di
"Dubbo-based Distributed System Architecture video Tutorial" contains basic, advanced, high-availability architecture, tutorials with a third-party payment project of the system architecture combat experience as the background, and eventually form a set of distributed system architecture solutions. It is a great tutorial for you to learn and understand the most popular "microservices" architecture today. The technical points covered in the tutorials include Dubbo distributed services, zookeeper
unit testing, component testing, system testing, functional testing, and high-speed test executionWrite Tests for defectsAllow test components to be duplicatedTry to limit the test to an assertionContinuous review of code, complexity, coupling, and repeatability of code (SONARQUBE)Continuous deployment:Label each buildPerform testsCreate a Build Feedback reportProcess capability for rollback buildsContinuous Feedback:Don't let your team get used to i
assert the application's internal properties, can be statistically coverage, If CI fails and can be independently run locally, debug, repair failed case resubmit) and FT (based on the User story black box test) advantages, the status of the project quality assurance is not lower than UT, so also need to calculate coverage, rather than the traditional test pyramid model, only rely on UT coverage.So Sonar + Jacoco is a very useful combination of both UT and it test coverage.Copy Sonar's own MAVEN
Flying Test said: I am the night of the strange, today I came again, the recent weather in Wuhan let people go out with cumin powder, small strange I had to hide at home to look at some things, to see Sonarqube, a Let us perspective code artifact, curious partners, and then look, today mainly introduce the main home part of the configuration, Use the next introduction.Home configuration1. Open "Home" and click "Configure Control"2, we only need to con
SonarQubePHP2.8 released SonarQube PHP 2.8.
Improvement log:Bug
[SONARPHP-598]-False Positive SelfKeywordUsage (S2037): methods which cannot be overridden
-NullPointerException in PhpUnitResultParser for report with empty "testsuites"
[SONARPHP-600]-False Positive UnusedFunctionParameters: parameter is used in "compact" call
[SONARPHP-602]-False Positive UnusedLocalVariableCheck (S1481): ": class" impact
[SONARPHP-611]-False Posi
as TomcatA. Ensure that conf/sonar.properties and conf/wrapper.conf have not been modified and usedB. Execute the following command to generate the war package and deploy the resulting Sonar.war to the application server$ ${sonar_home}/war/build-war.shC. Start Tomcat and access through Http://localhost:8080/sonar.Tomcat installation configuration see: Install TOMCAT7 in Cenos system and set as self-starting service4. Configured as self-starting serviceUse the root account or the sudo permission
Unique identifier of the #required Metadata#projectkey project, cannot be duplicated sonar.projectkey=xjglxtsonar.projectname=xjglxtsonar.projectversion= 1.0 sonar.sourceencoding=utf-8sonar.modules=java-module,javascript-module,html-module# Java Modulejava-module.sonar.projectname=java modulejava-module.sonar.language=java#. Represents the directory specified by Projectbasedir java-module.sonar.sources=.java-module.sonar.projectbasedir=srcsonar.binaries=classes# JavaScript Modulejavascript-modul
-T7AABSltbdH90577.jpg "style=" height : auto;vertical-align:middle;border:0px; "title=" 3.jpg "alt=" Wkiom1ga0qryu-t7aabsltbdh90577.jpg "/>Figure 2. Selenium Automatic testThe simple and unified style of the code is conducive to better understanding and conduct walk-through, and unit testing is for the early high-quality delivery.650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M00/89/B7/wKioL1ga0RLBXJoFAAAro6HG0ZE113.jpg "style=" height : auto;vertical-align:middle;border:0px; "title=" 4.
click Install. Then return to the system management page to set some git parameters.
Sonar Installation
Download the latest version of http://www.sonarqube.org/
Sonar installation requires JDK or above Maven installation (sonar uses H2 embedded database by default, but mysql and other databases are recommended for specific use)
Sonar Data Source Configuration
Change.../sonarqube-4.5.1/conf/sonar. properties
Set the properties File
Sonar. jdbc. us
specifications and standards.
FindBugs: identifies potential bugs Through static bytecode analysis.
PMD: Analyze bad programming habits in source code.
SonarQube: integrates other analysis components through the plug-in to provide the final evaluation result report.
Safe. ijiami: security of application code, one-click vulnerability detection, and final analysis reports, including solutions and powerful vulnerability detection tools.
Compiler
Cre
specifications and standards.
FindBugs: identifies potential bugs Through static bytecode analysis.
PMD: Analyze bad programming habits in source code.
SonarQube: integrates other analysis components through the plug-in to provide the final evaluation result report.
Safe. ijiami: security of application code, one-click vulnerability detection, and final analysis reports, including solutions and powerful vulnerability detection tools.
Compile
test speed.4. JprofilerJprofiler has an intuitive user interface that can help you solve performance bottlenecks and understand problems. You can easily identify a memory leak and use Jprofiler to fix threading problems.5. VISUALVMVISUALVM is a free visualization tool that integrates multiple JDK command-line tools to provide you with powerful analytical capabilities for performance analysis and tuning of Java applications.6. ElasticsearchElasticsearch is a Lucene-based search server. It provid
potential bugs with bytecode static analysis.
PMD: Analysis of bad programming habits in source code.
SonarQube: Provides an evaluation of the final results report by integrating additional analysis components with plugins.
CompilerCreates a framework for parsers, interpreters, and compilers.
ANTLR: Fully functional top-down analysis of complex frames.
JavaCC: Relative ANTLR more specific, easy to get started. Support for gr
characters section code editing.
BYTE Buddy: Use the streaming API to further simplify bytecode generation.
Code AnalysisSoftware metrics and quality assessment tools.
Checkstyle: Static analysis of programming specifications and standards.
FindBugs: Identify potential bugs with bytecode static analysis.
PMD: Analysis of bad programming habits in source code.
SonarQube: Provides an evaluation of the final results report
Baer galvin/greg gagne "Operating System Concepts 9th"
Memory management, Cornell University CS 412/413 Introduction to Compilers Spring 2008 Memory Management
Memory Process Management
Memory File System *
Network
Recommended books by ANDREW S. Tanenbaum/david J. Wetherall "Computer Network fifth Edition"
OSI model
TCP/IP protocol
HTTP/HTTPS protocol
HTTP1. X/HTTP2 protocol
Points
Linux/unix
Shell command (bash
.zip
After decompression, the environment variable configuration is not configured, I suggest not to configure Bash_profile, because to make the bash_profile effective, Jenkins need to disconnect with slave and then heavy connection, in order to take effect. This is unreasonable for the continuous integration of cluster services.
To make Sonar-runner work, you need to configure Sonar-runner/conf/sonar-runner.properties
sonar.host.url=http://localhost:9007
sonar.sourceencoding=utf-8
sonar.login=a
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.