public class SquidSensor extends Object implements Sensor
FLAG_SQUID_ANALYSIS
Constructor and Description |
---|
SquidSensor(RulesProfile profile,
NoSonarFilter noSonarFilter,
ProjectClasspath projectClasspath,
ResourceCreationLock lock,
FileLinesContextFactory fileLinesContextFactory) |
Modifier and Type | Method and Description |
---|---|
void |
analyse(Project project,
SensorContext context)
The method that is going to be run when the sensor is called
|
protected Collection<File> |
getBytecodeFiles(Project project)
Visibility has been relaxed to make the code testable.
|
boolean |
shouldExecuteOnProject(Project project) |
String |
toString() |
public SquidSensor(RulesProfile profile, NoSonarFilter noSonarFilter, ProjectClasspath projectClasspath, ResourceCreationLock lock, FileLinesContextFactory fileLinesContextFactory)
public boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject
in interface CheckProject
public void analyse(Project project, SensorContext context)
Sensor
protected Collection<File> getBytecodeFiles(Project project)
Copyright © 2009-2012 SonarSource. All Rights Reserved.