{iframe:src=http://update.sonarsource.org/plugins/doxygen.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe} |
This plugin generates the documentation of the application using Doxygen and Graphviz. To generate graphs, Graphviz must be installed.
This generated documentation can be browse through the Documentation item on the left menu or from the Documentation tab at file level.
As the documentation is generated in HTML, it is necessary to make it accessible from an URL.
Sonar server can be used but it is not recommended as it may affect Sonar performances. To configure it that way, set Web Server Deployment URL to http://localhost:9000 (may be different according to your configuration) and Documentation Path Generation to <sonar.install.dir>/war/sonar-server.
As said before, it is recommended to deploy documentation on another web server. Apache could be used. In this way, set Server Deployment URL to http://localhost:80 (may be different according to your configuration) and Documentation Path Generation to <apache.install.dir>/www.
| Property Name | Mandatory | Comments | |
|---|---|---|---|
| sonar.doxygen.deploymentPath | Documentation Path Generation | YES | Directory path where the documentation will be generated. If Sonar server is used to access the documentation, the path should be set to: <sonar.install.dir>/war/sonar-server. |
| sonar.doxygen.deploymentUrl | Web Server Deployment URL | YES | URL to display the generated documentation. |
| sonar.doxygen.customPath | Directory Path containing header.html, footer.html and doxygen.css | NO | In order to customize HTML documentation. |
| Property Name | Mandatory | Comments | Default Value | |
|---|---|---|---|---|
| sonar.doxygen.generateDocumentation | Generate Doxygen Documentation | NO | Possible values:
| disable |
| sonar.doxygen.excludeFiles | Excludes Specific Files | NO | Coma separated list | |
| sonar.doxygen.generateClassGraphs | Generates Class Graphs | NO | If the property is set to true, graphviz must be installed. | false |
| sonar.doxygen.generateCallGraphs | Generates Call Graphs | NO | If the property is set to true, graphviz must be installed. | false |
| sonar.doxygen.generateCallerGraphs | Generates Caller Graphs | NO | If the property is set to true, graphviz must be installed. | false |
Install the following tools (standard installation):
| Software | Download URL |
|---|---|
| Doxygen | http://www.stack.nl/~dimitri/doxygen/download.html |
| Graphviz | http://www.graphviz.org/Download.php |
Plugin | 0.1 |
|---|---|
Doxygen | 1.7.5 |
Graphviz | 2.28 |
This first version is limited to Java.