KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
sonar-coldfusion
★ 26
Open GitHub ↗
SonarQube ColdFusion Analyzer
Download README (.md)
Explore Similar Repositories
cf-google-authenticator
:
ColdFusion implementation of Google Authenticator One Time Passwords
nodedump
:
Outputs variables in a visual, easy to read format based on ColdFusion's CFDUMP tag
dao
:
A ColdFusion library for easy Data Access and Object Mapping
cfsolrlib
:
ColdFusion library for advanced Solr integration
bolthttp
:
A HTTP Client for CFML
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
sonar-coldfusion
?
Download (.md)
# SonarQube ColdFusion Plugin [](https://github.com/stepstone-tech/sonar-coldfusion/actions/workflows/ci.yml) [](https://sonarcloud.io/dashboard?id=stepstone-tech_sonar-coldfusion) [](https://sonarcloud.io/dashboard?id=stepstone-tech_sonar-coldfusion) A [SonarQube plugin](http://www.sonarqube.org/) for analyzing ColdFusion code, based on the [CFLint library](https://github.com/cflint/CFLint). ## Installation 1. Download the JAR file from the [releases section](https://github.com/stepstone-tech/sonar-coldfusion/releases) or build it yourself by cloning the code and running `mvn install`. 1. Copy `sonar-coldfusion-plugin-{version}.jar` to `<sonarqube dir>/extensions/plugins`. 1. Restart SonarQube. ## Compatibility SonarQube Version | Plugin Version ------------------|--------------- 9.0 - 9.1 | 2.2.0 7.6 - 8.9 | 2.1.1 5.6 - 7.5 | 1.5.0 ## Running Follow the instructions for [analyzing code with SonarQube Scanner](http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner). The ColdFusion plugin will automatically discover and analyze `.cfc` and `.cfm` files. ## Parameters tuning If you encounter log output indicating, that the Compute Engine of SonarQube has insufficient memory, similar to: ``` 2016.06.22 16:17:43 INFO ce[o.s.s.c.t.CeWorkerCallableImpl] Execute task | project=ApplyNowModule | type=REPORT | id=AVV4eUIgcn4uboqEX1C3 java.lang.OutOfMemoryError: GC overhead limit exceeded Dumping heap to java_pid8400.hprof ... Heap dump file created [565019912 bytes in 6.373 secs] ``` you'll need to increase heap memory on the server, in `<sonarqube dir>/conf/sonar.properties`: ``` sonar.ce.javaOpts=-Xmx2g -Xms128m -XX:+HeapDumpOnOutOfMemoryError ``` 2GB might be enough, or perhaps your code base warrants more. ## Building Run Maven goal ```bash mvn clean package ``` ## Releasing Setup Maven settings.xml with ```xml <servers> <server> <id>github</id> <privateKey>yourprivatekey</privateKey> </server> </servers> ``` Run Maven goal ```bash mvn clean package de.jutzig:github-release-plugin:1.3.0:release ``` This will build the plugin jar file, create a release and a tag on github and upload the artifact to the [repo](https://github.com/stepstone-tech/sonar-coldfusion). ## Contributors Many thanks for the people, who created or improved this project: - Tomek Stec - Michał Paluchowski - Nicolas Bihan - Gareth Edwards ## License Copyright 2016-2019 StepStone GmbH and contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.