You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some smells detection are based on the File System, not on code scanning.
Proposed Solution
Create a new sensor dedicated to that concern, FileSystemSensor, registered at the plugin level. To maintain performance, this sensor should only be triggered once. In the execute() callback, there is a parameter of type SensorContext which allows access to the file system (ex: sc.baseDir())