In the past, the focus has been on How to Improve the Quality of the application, not too concerned about the quality of the code level. Recently, due to some factors, we need to pay attention to code-level quality and push the quality work forward as far as possible, in line with the quality control principles. I tried sonarqube (the old version is sonar, ww.sonarqube.org) and it does play a lot of roles in code improvement.
to the build process for the new project ....Select MSBuild version (MSBuild vesion)MSBuild Build File (Web project Direct input solution name, for example)Command Line Arguments (the first row in the build parameter is to rebuild the solution; The second line is to build the release version; the third line is to build the 4.0 version of Framwork)At this point, the project code of the Automatic acquisition, compilation has been configured to complete, the next is the deployment of the problem,
1. Overview
Sonarqube is an open platform for managing code quality that can quickly locate potential or obvious errors in your code. High-quality management software code, timely analysis of code quality and give a reasonable solution, you can also use plug-in mechanism and other external tools such as Eclipse and JIRA integration, so as to achieve the quality of the code of the overall automated analysis and management.
2. Characteristics
1. S
1. Installation InstructionsPS: Why should I have installation instructions? I find the information on the Internet when I found a lot of tutorials are not explained clearly the installation environment. Therefore, it is unclear whether their tutorials are suitable for my environment. Clear "Installation instructions" to facilitate users to understand my configuration environment, so that you understand this tutorial in depth.Virtual machines: VmWare Workstation 12Operation User: RootSystem envi
SonarQube is an open source code quality management system that integrates with other external tools such as Eclipse and JIRA through the use of plug-in mechanisms, enabling full automated analysis and management of the quality of the code. This paper first discusses the basic working principle and installation process of SonarQube 3.6, and then analyzes the basic process of code quality management for proj
To be perfected, the edge of the environment, side records, there will be missed the possibility, and so have time to tidy up a
Reference:
http://blog.csdn.net/kefengwang/article/details/54377055
Http://www.jianshu.com/p/a8d4825146a6
Prerequisite: The Linux machine has been installed jdk1.8 and Jenkins
Sonarqube Download Address: https://sonarsource.bintray.com/Distribution/sonarqube/
SonarQube code Quality Management Platform Installation and Use
Sonar Introduction
Sonar is an open-source platform for code quality management. It manages the quality of source code and can detect code quality from seven dimensions.
Supports code quality management and detection in more than 20 programming languages, including java, C #, C/C ++, PL/SQL, Cobol, JavaScrip, and Groovy.
What does sonarQube bri
Automated testing is a big boost under the Agile development model, and with it, test and development teams can control software quality and iteration cycles in a timely manner, better serve software products, promote software quality and improve development efficiency. The benefits are so many that I don't have to explain it all. Recently, the company will develop new products (campus system), in order to avoid the Agile development disorder, poor communication, poor quality and other shortcomi
1, the introduction of SonarqubeOfficial website: https://www.sonarqube.org/Sonarqube is an open platform for managing code quality.1.1 Code quality can be detected from seven dimensions (why use Sonarqube)(1) Complexity distribution (complexity): Code complexity is too high will be difficult to understand, difficult to maintain(2) Duplicate code (duplications): The program contains a lot of copy and paste
IP: 192.168.4.221
Environment: centos 6.6, jdk7, mysql5.1, SonarQube-4.5.4 (LTs)
RootUser operations
Preparations: JDK 7 has been installed and environment variables have been configured.
1Install mysql5.1
(Refer to the MySQL installation procedure on the svn management platform. If you have installed MySQL, you do not need to install it)
# Rpm-Qa | grepmysql # Check whether the MySQL database is installed on the operating system,
If yes, you can run
Sonarqube is an open platform for managing code quality that can quickly locate potential or obvious errors in your code, and will describe the installation, configuration, and use of this tool.preparatory work;1, JDK (no longer introduced)2, sonarqube:http://www.sonarqube.org/downloads/3, Sonarqube+scanner:https://sonarsource.bintray.com/distribution/sonar-scanner-cli/sonar-scanner-2.5.zip4. mysql database
About SonarSonar is an open source platform for code Quality management that manages the quality of your source code, and can detect code quality from seven dimensionsIn the form of plug-in, you can support code quality management and testing of more than 20 programming languages including Java,c#,c/c++,pl/sql,cobol,javascrip,groovy and so on.what can Sonarqube bring? Developers ' Seven Deadly Sins1. Poor complexity distributionFiles, classes, methods
Sonarqube configuration (prerequisite: Log On with the admin user)
1. Install the Chinese localization package:
Setting> Update center> availableplugins> localization> Chinese pack
> Install
650) This. width = 650; "src =" http://s5.51cto.com/wyfs02/M01/81/FC/wKiom1dGsBDDOKxuAABqKledwEw545.png "Title =" code quality a1.png "alt =" wkiom1dgsbddokxuaabqkledwew545.png "/>
After the Chinese package is installed, you must restart
On the Internet to read a lot of Sonarqube tutorials, first of all to explain the relationship between the two Sonarqube is a(Code Quality Management platform) Open source platform, used to manage the quality of Java source code, popular point of view that the person is actually similar to a server, like Tomcat or JBoss. With the server this empty shelf must not be detected code, And Sonar-runner is equival
an overview
This article mainly introduces the installation and integration of Jenkins,sonarqube, code analysis has Sonarqube and sonar-runner build, or in the case of MAVEN project can sonarqbude and maven build. Describes the Jenkins compilation package deployment, code checking. Finally integrated Jenkins two pre-installed software
Software name Platform notes jdk1.8.0_60 Win10 operating system apache-
Sonarqube Scanner, as a code scanning tool, through which the code of the project is read and sent to the Sonarqube server to allow Sonarqube code analysis.It can be considered that Sonarqube scanner is the client of Sonarqube.
Sonarqube
After the successful configuration of the Code Analysis page:You can see the complexity, syntax usage, repetition, and so on have been analyzed, specific to each method and each sentence of code.Four modes of use:Sonarqube + sonar-runnerSonarqube + mavensonarqube + eclipsesonarqube + IDE IntelliJMode of Use 1:Sonarqube + sonar-runner1. EnvironmentJDK 1.7Sonarqube 4.5.7 (the newest sonarqube all require jdk1
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.