package codenizer.sonarqube.typescript;

public class AnalysisRunner {
    private final String projectRootDirectory;
    
    public AnalysisRunner(String projectRootDirectory) {
        this.projectRootDirectory = projectRootDirectory;
    }
    
    public AnalysisResult Execute() {
        AnalysisResult result = new AnalysisResult();
        
        return result;
    }
}
@@ -339,24 +339,350 @@
 );%0A        %0A
+       try %7B%0A           // 1) Set working directory to projectRootDirectory%0A           // 2) Call analyzer.js%0A           // 3) Parse result file%0A           Process p = Runtime.getRuntime().exec(%22node analyzer.js%22);%0A           %0A           p.waitFor();           %0A       %7D%0A       catch(Exception ex) %7B%0A           %0A       %7D%0A    %0A
         retu

Call node analyzer.js