org.sonar.plugins.squid
Class SquidSensor
java.lang.Object
org.sonar.plugins.squid.SquidSensor
- All Implemented Interfaces:
- CheckProject, Sensor, BatchComponent, BatchExtension, Extension
public class SquidSensor
- extends Object
- implements Sensor
SquidSensor
public SquidSensor(RulesProfile profile,
NoSonarFilter noSonarFilter,
ProjectClasspath projectClasspath,
ResourceCreationLock lock)
shouldExecuteOnProject
public boolean shouldExecuteOnProject(Project project)
- Specified by:
shouldExecuteOnProject
in interface CheckProject
analyse
public void analyse(Project project,
SensorContext context)
- Description copied from interface:
Sensor
- The method that is going to be run when the sensor is called
- Specified by:
analyse
in interface Sensor
- Parameters:
project
- the project the sensor runs oncontext
- the context
getBytecodeFiles
protected Collection<File> getBytecodeFiles(Project project)
- Visibility has been relaxed to make the code testable.
- Returns:
- collection of jar-files and directories with classes for analysis
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 SonarSource. All Rights Reserved.