sonar-objective-c | Sonar Plugin for Objective C | Plugin library
kandi X-RAY | sonar-objective-c Summary
kandi X-RAY | sonar-objective-c Summary
this repository hosts the objective-c plugin for [sonarqube] this plugin enables to analyze and track the quality of ios (iphone, ipad) and macos developments. this plugin is not supported by sonarsource. sonarsource offers a [commercial sonarsource objective-c plugin] as well. both plugins do not offer the same functionalities/support. the development of this plugin has always been done thanks to the community. if you wish to contribute, check the [contributing] wiki page. find below an example of an ios sonarqube dashboard: . for more details, see the list of [sonarqube metrics] implemented or pending. the latest version is the 0.4.0 and it’s available [here] the latest sonarqube 3.x release is the 0.3.1, and it’s available [here] you can also
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Analyzes the specified project
- Saves measures to the given file
- Saves dependencies of the specified dependencies
- Saves the number of functions in Sonar
- Creates rules
- Parses the input
- Get a description link from a line
- Create an OCLint profile
- Import the default profile
- Scan a single file
- Creates an AST scan for an ObjectiveC scan
- Tokenize source code
sonar-objective-c Key Features
sonar-objective-c Examples and Code Snippets
Community Discussions
Trending Discussions on sonar-objective-c
QUESTION
Recently we had a requirement to get static violation's for objective C language.We deployed the sonar-objective-c-plugin-0.4.0 plugin and generated a sample oclint xml with all the violation's.Now while trying to upload that xml we are encountering below error :
...ANSWER
Answered 2017-May-15 at 06:21Refer ed below page : http://javadocs.sonarsource.org/4.5/apidocs/src-html/org/sonar/api/CoreProperties.html
and utilized the following property : sonar.excludePlugins
QUESTION
Our Sonar Build Environment details as follows:
- SonarQube Server Version - 5.6.6 (64-Bit).
- Sonar Client Build Operating System – Windows-7 (64-Bit).
- Sonar-scanner- Version - 3.0.3.778.
- sonar-cxx-plugin-0.9.7.jar
- sonar-csharp-plugin Version -5.11.0.1761.
- sonar-objective-c-plugin-0.5.0-SNAPSHOT.jar
- Source Code Language: C# and C++
Our SonarQube server is centralized server, So have installed (cxx-plugin, objective-c-plugin and csharp-plugin)
Current Problem:
When we scan the code, if fails with below error. Since we have multiple language (C# and C++) code, Both the language has to be scanned at a time.
ERROR: Caused by: Language of file 'workspace/HS30/baseclasses/ametex.h' can not be decided as the file matches patterns of both sonar.lang.patterns.c++ : **/*.cxx,**/*.cpp,**/*.cc,**/*.c,**/*.hxx,**/*.hpp,**/*.hh,**/*.h and sonar.lang.patterns.objectivec : **/*.h,**/*.m
sonar.language=cs,c++ (Tried but didn't work)
So kindly help us to resolve the same.
...ANSWER
Answered 2017-Jun-12 at 13:13This is a question of which language "claims" .h
files. Only one language can claim any given file extension and currently you have two languages claiming .h
, so the scanner can't figure out which analyzer to give those files to, and gives up.
Specifically, from your error message:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sonar-objective-c
You can use sonar-objective-c like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the sonar-objective-c component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page