flacoco READMEflacocovscode is an extension for Visual Studio Code of the fault localization tool for Java named flacoco. This extension aims to facilitate and simplify the use of Fault Localization tools for the average programmer by making it more accessible. RequirementsBefore using Flacoco's Visual Studio Code extension, a few requirements have to be considered in order to use its functionalities.
SetupThere are two ways to install Flacoco's Visual Studio plugin from the marketplace. The first alternative is available from within the Visual
Studio Code by selecting the Extensions icon in the view container (or simply Alternatively, you may download and install the extension from the Marketplace. Using Flacoco Visual Studio Code ExtensionIf your project meets the requirements, the icon of the Flacoco's Visual Studio code extension will show up in your View Container. After clicking the icon, an UI with the name of your opened folder, a separator for the Faulty Classes and some icons to run and refresh will appear. You can run the extension by either click the top Run button or the one that shows up by hovering the name of your project. Then you run the extension and a Status Bar and Information logs will show up to keep you updated what the extension is doing. When it is completed, the Faulty Classes separator will be filled with the encountered classes with the faulty lines of code. It prioritizes the class with the line of most suspicion, from top to bottom. Afterwards, you can click the name of the Faulty Class to open it. Next, you will find that the faulty lines of code are highlighted according to its level of suspiciousness. Green is low level suspicion, Yellow is middle , Orange is high and Red is very high. It is worth mentioning that, in order to be colorblind friendly, the extension tells you the level of suspiciousness if you hover a certain line. 1.0.0Initial release of flacocovscode. 1.0.1Updated suspiciousness score color intervals 1.0.2Usability fixes 1.0.3Suspiciousness text bug fix 1.0.4Documentation fixes License |