Method | Description | |
---|---|---|
AnalyzerPluginGenerator ( INuGetPackageHandler packageHandler, SonarQube logger ) : System | ||
CreatePluginManifest ( IPackage package ) : PluginManifest | ||
Generate ( |
Method | Description | |
---|---|---|
AddRoslynMetadata ( SonarQube.Plugins.Roslyn.RoslynPluginJarBuilder builder, SonarQube.Plugins.Roslyn.RoslynPluginDefinition definition, string repositoryId ) : void | ||
BuildPlugin ( SonarQube.Plugins.Roslyn.RoslynPluginDefinition definition, string outputDirectory ) : string |
Builds the plugin and returns the name of the jar that was created
|
|
CalculateSqaleFileName ( IPackage package, string directory ) : string | ||
CreateAnalyzerStaticPayloadFile ( string packageRootDir, string outputDir ) : string | ||
CreateBaseWorkingDirectory ( ) : string |
Creates a uniquely-named temp directory for this generation run
|
|
GenerateFixedSqaleFile ( IEnumerable |
Generates a SQALE file with fixed remediation costs for the specified analyzers
|
|
GeneratePluginForPackage ( string outputDir, string language, string sqaleFilePath, IPackage package, IEnumerable |
||
GenerateRulesFile ( IEnumerable |
Generate a rules file for the specified analyzers
|
|
GetAnalyzers ( IPackage package, string language ) : IEnumerable |
Retrieves the analyzers contained within a given NuGet package corresponding to a given language
|
|
GetPackagesRequiringLicenseAcceptance ( IPackage package ) : IEnumerable |
Returns all of the packages from the supplied package and its dependencies that require license acceptance
|
|
GetValidManifestString ( string value ) : string | ||
IncludeFileInZip ( string filePath ) : bool | ||
IsValidSqaleFile ( string sqaleFilePath ) : bool |
Checks that the supplied sqale file has valid content
|
|
ListPackagesRequiringLicenseAcceptance ( IEnumerable |
||
ListToString ( IEnumerable |
||
LogAcceptedPackageLicenses ( IEnumerable |
||
LogMessageForGeneratedSqale ( string generatedSqaleFile ) : void |
public AnalyzerPluginGenerator ( INuGetPackageHandler packageHandler, SonarQube logger ) : System | ||
packageHandler | INuGetPackageHandler | |
logger | SonarQube | |
return | System |
public static CreatePluginManifest ( IPackage package ) : PluginManifest | ||
package | IPackage | |
return | PluginManifest |
public Generate ( |
||
args | ||
return | bool |