latitude shown in Figure 1,
Figure 1. Project Quality Analysis
With plugins, Sonarqube can detect code quality from seven dimensions, support more than 20 programming languages including Java,c#,c/c++,pl/sql,cobol,javascript,groovy, and can handle the following problems in the code:1. Poor complexity distribution
Files, classes, methods, and so on, if the complexity is too high will be difficult to change, which makes it difficult for developers to understand them, and without automated unit te
perform code quality management and analysis through a variety of different analysis mechanisms, and SonarQube will present the results of the analysis to the user visually and in a measurable way through the Web API.
Back to top SonarQube3.6 installation
Requirements for software and hardware
The installation of SonarQube3.6 usually needs to meet certain hardware and software conditions, the specific requirements are as follows:
1. Server Requirements
Web server requires a minimum of 500MB of
Install and configure SonarQube in centos 6.5
1. Download the installation package:Http://www.sonarqube.org/downloads/
2. Upload the server and decompress it:
Unzip sonarqube-5.6.zip-d/dir
3. Install MySQL and enter mysql
3.1 mysql-u root-p3.2 create a database and an account:
mysql> CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci; mysql> CREATE USER 'sonar' IDENTIFIED BY '
mysql| Data | Database CNET science and Information Network February 5 International Report according to software evaluation company Coverity Friday (January 4), through the open source database used by many websites--mysql's source code analysis, found that its vulnerabilities than other commercial database code loopholes.
According to Coverity's report, Coverity used its own research and development softw
Our company is now using Jenkins for continuous integration and for code quality management with sonar. Quality Management This kind of thing, at first may feel nothing, later only slowly discovered, code specification is also very important for the programmer.Not much nonsense to say, the main talk about sonar configuration, useful sonar Sunner, ant, maven three
In the previous blog post, we completed the Sonarqube deployment through Kubernetes's devlopment and service. Seems to be available, but there is still a big problem. We know that databases like MySQL need to keep data and not lose data. And the container is exactly the moment you exit, all data is lost. Once our Mysql-sonar container is restarted, any subsequent settings we make to Sonarqube will be lost. So we have to find a way to keep the MySQL da
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
+ +, and C #,Java is also supported.
Pay
Ounce Labs
\
http://www.ouncelabs.com/
Coverity Prevent
C/c++,c#,java
Pay
Coverity
There are other accessibility tools:1.Coverity Thread Analyzer for Java2.Coverity Software Readiness Manager for Java3.
The Code checker can help us check for some hidden bugs, and sonar is the better one in the Code checker tool. WebsiteSonar OverviewSonar is an open platform for code quality management. Through the plug-in mechanism, Sonar can integrate different test tools, code analysis tools, and continuous integration tools. Unlike continuous integration tools (such as hudson/jenkins, etc.),
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. sonarqube can measure cod
1. SonarQube Scanner AddressIn the previous article we installed the SonarQube-7.3 so that we can view the code quality on the page. But the specific scanning work needs Sonarqube scanner to complete.Download page1 https://Docs.sonarqube.org/display/scan/analyzing+with+sonarqube+scanner 2. Install Sonarqube Scanner2.1. Software Installation1[Email protected] software]$pwd2/app/Software3[Email protected] software]$wgetHttps//Binaries.sonarsource.com/distribution/
HTTP/www.sonarqube.orgMysqlUnsupported MySQL version:5.5. Minimal supported version is 5.6.There is well-known engines that can is used in Mysql:myisam and InnoDB. MyISAM is the oldest of the engines and is being progressively replaced by InnoDB. InnoDB is clearly faster and scales better with SonarQube as the number of projects under quality control increases. If you were the early adopter of SonarQube, you probably has a series of table that is still using MyISAM. To improve performances, your
Sentia
ECLIPSE IDE Development environment
MAVEN build automation compiles packaged projects
NEXUS Private Maven Warehouse
SVN source Management
junit+mockito Unit test and mock frame
Coverage of integrated JACOCO Analysis Unit tests
Jenkins Integration
Sonar analyzes source code quality
Glassfish Web Container Publishing
Everyone is talking about the era of agile development, so-called 工欲善其事 its p
Gradle Cleaneclipse
Problem Description
A Gradle cleaneclipse task was inadvertently executed today, resulting in my project becoming a normal Java project:
Gradle dependence is gone, then right-clicking Build.gradle->run as also has no Gradle option:
Workaround
Project Right-click->config->convert to Gradle Project
merging multiple dependent libraries Problem Description
The Gradle project itself comes with a gradle dependencies dependent library, and sometimes the jar packages we add oursel
Gradle Cleaneclipse
Problem Description
I accidentally performed a gradle cleaneclipse task today, resulting in my project becoming an ordinary Java project:
Gradle dependence is gone, then right click Build.gradle->run as there is no gradle option:
Solving Method
Item Right-click->config->convert to Gradle Project
merging multiple dependent libraries Problem Description
The Gradle project itself has a gradle dependencies dependent library, and sometimes the jar packages we add ourselves may
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 sonarqube to make the package take effect (you can install the checkst
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.