\liqingshan>jstat-gc 16744 s0c s1c s0u s1u EC EU OC OU MC MU ccsc ccsu ygc ygct FGC fgct GCT512.0 512.0 0.0 64.0 24064.0 18288.8 87552.0 764.1 4864.0 2709.6 512.0 294.8 711 0.234 0 0.000 0.234
S0C: Capacity of the first survivor in the Cenozoic (bytes)
S1C: The capacity of the second survivor in the Cenozoic (bytes)
S0U: The first survivor in the
StatisticsC:\Users\Administrator>jstat -gc 2060 S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT20480.0 20480.0 0.0 13115.3 163840.0 113334.2 614400.0 436045.7 63872.0 61266.5 0.0 0.0 149 3.440 8 0.295 3.735
1
2
3
1
2
3
S0C: The size of the first surviving area
S1C: The size o
This article takes the CentOS operating system as an example to introduce the installation configuration of Sonarqube and how to integrate with JenkinsServerEnvironment:[Email protected] data]# uname-aLinux Db-server 3.10.0-327.36.3.el7.x86_64[Email protected] data]# java-versionOPENJDK Version "1.8.0_111"[Email protected] data]# nginx-vNginx version:nginx/1.10.2[Email protected] data]# mysql-vMySQL Ver 15.1 distrib 5.5.50-mariadbSonarqube-5.3.zipI. Installing the configuration
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
All required installation packages have been uploaded to Cloud disk: https://pan.baidu.com/s/1i5LvOCd Password: s47e
1. Install MySQLDownload Cloud disk DMG package, all the way to the default installation, note: Be sure to remember the last step to pop up the default password!Otherwise, see this article: How to modify the default password for MySQL after you forget your password2. Configure the databaseAfter the installation is complete, you can manage the start and stop of MySQL in System
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 '
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
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
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
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
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.