Use OCLint and Sonar for iOS code analysis and quality management, oclintios

Source: Internet
Author: User
Tags continuous integration tools

Use OCLint and Sonar for iOS code analysis and quality management, oclintios

OCLint is a powerful static code analysis tool that can be used to improve code quality and find potential bugs, mainly for Static Analysis of c, c ++ and Objective-c.

Sonar is an open platform for code quality management. With the plug-in mechanism, Sonar can integrate different test tools, code analysis tools, and continuous integration tools.

1. Check whether brew is installed on your computer.

What will be displayed if it is not installed?-bash: brew: command not found

What should I do?

Open the terminal and execute ruby-e "$ (curl-fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )"

2. Install SonarQube

Note: install and configure java, mysql, and jenkins.

Install java: http://www.oracle.com/technetwork/java/javase/downloads/index.html

 

Brew install sonarqube

 SonarQube Chinese

Chinese INS

Https://github.com/SonarQubeCommunity/sonar-l10n-zh

 

Put the downloaded file in the following directory:

/Usr/local/Cellar/sonarqube/6.5/libexec/extensions/plugins


3.
Install Mysql

Brew install mysql

 

4. Create a sonar Database

 

5.Configure sonar to connect to mysql

 

Write next tomorrow

 

 

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.