SYMBOL INDEX (634 symbols across 68 files) FILE: src/main/java/org/sonar/plugins/stash/IssuePathResolver.java type IssuePathResolver (line 5) | @FunctionalInterface method getIssuePath (line 7) | String getIssuePath(PostJobIssue issue); FILE: src/main/java/org/sonar/plugins/stash/PeekableInputStream.java class PeekableInputStream (line 8) | public class PeekableInputStream extends PushbackInputStream { method PeekableInputStream (line 9) | public PeekableInputStream(InputStream in) { method peek (line 13) | public Optional peek() throws IOException { FILE: src/main/java/org/sonar/plugins/stash/PluginInfo.java class PluginInfo (line 3) | public class PluginInfo { method PluginInfo (line 7) | public PluginInfo(String name, String version) { method getVersion (line 12) | public String getVersion() { method getName (line 16) | public String getName() { FILE: src/main/java/org/sonar/plugins/stash/PullRequestRef.java class PullRequestRef (line 3) | public final class PullRequestRef { method PullRequestRef (line 8) | private PullRequestRef(String project, String repository, int pullRequ... method project (line 14) | public String project() { method repository (line 18) | public String repository() { method pullRequestId (line 22) | public int pullRequestId() { method builder (line 26) | public static Builder builder() { class Builder (line 30) | public static class Builder { method setProject (line 35) | public Builder setProject(String value) { method setRepository (line 40) | public Builder setRepository(String value) { method setPullRequestId (line 45) | public Builder setPullRequestId(int value) { method build (line 50) | public PullRequestRef build() { FILE: src/main/java/org/sonar/plugins/stash/StashIssueReportingPostJob.java class StashIssueReportingPostJob (line 23) | @ScannerSide method StashIssueReportingPostJob (line 33) | public StashIssueReportingPostJob(StashPluginConfiguration stashPlugin... method execute (line 41) | @Override method executeThrowing (line 54) | @VisibleForTesting method updateStashWithSonarInfo (line 75) | private void updateStashWithSonarInfo(StashClient stashClient, method postInfoAndPRsActions (line 118) | private void postInfoAndPRsActions( method shouldApprovePullRequest (line 146) | static boolean shouldApprovePullRequest(Optional approvalSev... method describe (line 156) | @Override FILE: src/main/java/org/sonar/plugins/stash/StashPlugin.java class StashPlugin (line 17) | @Properties({ type IssueType (line 55) | public enum IssueType { method define (line 84) | @Override FILE: src/main/java/org/sonar/plugins/stash/StashPluginConfiguration.java class StashPluginConfiguration (line 18) | @ScannerSide method StashPluginConfiguration (line 25) | public StashPluginConfiguration(Settings settings, Server server) { method hasToNotifyStash (line 30) | public boolean hasToNotifyStash() { method getStashProject (line 34) | public String getStashProject() { method getStashRepository (line 38) | public String getStashRepository() { method getPullRequestId (line 42) | public Integer getPullRequestId() { method getStashURL (line 46) | public String getStashURL() { method getStashLogin (line 50) | public String getStashLogin() { method getStashUserSlug (line 54) | public String getStashUserSlug() { method getStashPassword (line 58) | public String getStashPassword() { method getStashPasswordEnvironmentVariable (line 62) | public String getStashPasswordEnvironmentVariable() { method getSonarQubeURL (line 66) | public String getSonarQubeURL() { method getSonarQubeLogin (line 70) | public String getSonarQubeLogin() { method getSonarQubePassword (line 74) | public String getSonarQubePassword() { method getIssueThreshold (line 78) | public int getIssueThreshold() { method getIssueSeverityThreshold (line 82) | public Severity getIssueSeverityThreshold() { method getStashTimeout (line 87) | public int getStashTimeout() { method canApprovePullRequest (line 91) | public boolean canApprovePullRequest() { method resetComments (line 95) | public boolean resetComments() { method getTaskIssueSeverityThreshold (line 99) | public Optional getTaskIssueSeverityThreshold() { method getApprovalSeverityThreshold (line 103) | public Optional getApprovalSeverityThreshold() { method includeAnalysisOverview (line 107) | public boolean includeAnalysisOverview() { method getRepositoryRoot (line 111) | public Optional getRepositoryRoot() { method includeExistingIssues (line 115) | public boolean includeExistingIssues() { method getFilesLimitInOverview (line 119) | public int getFilesLimitInOverview() { method issueVicinityRange (line 123) | public int issueVicinityRange() { method excludedRules (line 127) | public Set excludedRules() { method getOptionalSeveritySetting (line 136) | private Optional getOptionalSeveritySetting(String key) { FILE: src/main/java/org/sonar/plugins/stash/StashPluginUtils.java class StashPluginUtils (line 16) | public final class StashPluginUtils { method StashPluginUtils (line 18) | private StashPluginUtils() {} method formatPercentage (line 20) | public static String formatPercentage(double d) { method roundedPercentageGreaterThan (line 35) | public static boolean roundedPercentageGreaterThan(double left, double... method countIssuesBySeverity (line 39) | public static long countIssuesBySeverity(Collection issu... method isProjectWide (line 43) | public static boolean isProjectWide(PostJobIssue issue) { method getPluginInfo (line 55) | public static PluginInfo getPluginInfo() { method removeEnd (line 69) | public static String removeEnd(String s, String suffix) { FILE: src/main/java/org/sonar/plugins/stash/StashProjectBuilder.java class StashProjectBuilder (line 8) | public class StashProjectBuilder extends ProjectBuilder { method build (line 11) | @Override method getProjectBaseDir (line 16) | public File getProjectBaseDir() { FILE: src/main/java/org/sonar/plugins/stash/StashRequestFacade.java class StashRequestFacade (line 34) | @ScannerSide method StashRequestFacade (line 46) | public StashRequestFacade( method extractIssueReport (line 56) | public List extractIssueReport(Iterable is... method getMarkdownPrinter (line 62) | private MarkdownPrinter getMarkdownPrinter() { method postAnalysisOverview (line 69) | public void postAnalysisOverview(PullRequestRef pr, method approvePullRequest (line 82) | public void approvePullRequest(PullRequestRef pr, StashClient stashCli... method resetPullRequestApproval (line 94) | public void resetPullRequestApproval(PullRequestRef pr, StashClient st... method addPullRequestReviewer (line 106) | public void addPullRequestReviewer(PullRequestRef pr, String userSlug,... method postSonarQubeReport (line 127) | public void postSonarQubeReport(PullRequestRef pr, method postCommentPerIssue (line 138) | void postCommentPerIssue(PullRequestRef pr, Iterable iss... method postIssueComment (line 163) | private void postIssueComment(PullRequestRef pr, method getCredentials (line 220) | public StashCredentials getCredentials() { method getIssueThreshold (line 246) | public int getIssueThreshold() { method getStashURL (line 262) | public String getStashURL() { method getPullRequest (line 278) | public PullRequestRef getPullRequest() { method getStashProject (line 291) | public String getStashProject() { method getStashRepository (line 306) | public String getStashRepository() { method getStashPullRequestId (line 321) | public int getStashPullRequestId() { method getSonarQubeReviewer (line 334) | public StashUser getSonarQubeReviewer(String userSlug, StashClient sta... method getPullRequestDiffReport (line 346) | public StashDiffReport getPullRequestDiffReport(PullRequestRef pr, Sta... method resetComments (line 360) | public void resetComments(PullRequestRef pr, method getIssuePath (line 393) | @Override FILE: src/main/java/org/sonar/plugins/stash/client/ContentType.java class ContentType (line 9) | public class ContentType { method ContentType (line 16) | public ContentType(String primaryType, String subType, Object list) { method match (line 24) | public boolean match(String s) { method toString (line 36) | @Override FILE: src/main/java/org/sonar/plugins/stash/client/StashClient.java class StashClient (line 44) | public class StashClient implements AutoCloseable { method StashClient (line 81) | public StashClient(String url, StashCredentials credentials, int stash... method getBaseUrl (line 88) | public String getBaseUrl() { method getLogin (line 92) | public String getLogin() { method postCommentOnPullRequest (line 96) | public void postCommentOnPullRequest(PullRequestRef pr, String report) { method getPullRequestComments (line 109) | public StashCommentReport getPullRequestComments(PullRequestRef pr, St... method deletePullRequestComment (line 137) | public void deletePullRequestComment(PullRequestRef pr, StashComment c... method getPullRequestDiffs (line 151) | public StashDiffReport getPullRequestDiffs(PullRequestRef pr) { method postCommentLineOnPullRequest (line 162) | public StashComment postCommentLineOnPullRequest(PullRequestRef pr, method getUser (line 199) | public StashUser getUser(String userSlug) { method getPullRequest (line 207) | public StashPullRequest getPullRequest(PullRequestRef pr) { method addPullRequestReviewer (line 217) | public void addPullRequestReviewer(PullRequestRef pr, long pullRequest... method approvePullRequest (line 240) | public void approvePullRequest(PullRequestRef pr) { method resetPullRequestApproval (line 251) | public void resetPullRequestApproval(PullRequestRef pr) { method postTaskOnComment (line 262) | public void postTaskOnComment(String message, Long commentId) { method deleteTaskOnComment (line 276) | public void deleteTaskOnComment(StashTask task) { method close (line 281) | @Override method get (line 290) | private JsonObject get(String url, String errorMessage) { method post (line 294) | private JsonObject post(String url, JsonObject body, String errorMessa... method postCreate (line 298) | private JsonObject postCreate(String url, JsonObject body, String erro... method delete (line 302) | private JsonObject delete(String url, int expectedStatusCode, String e... method delete (line 306) | private JsonObject delete(String url, String errorMessage) { method put (line 310) | private JsonObject put(String url, JsonObject body, String errorMessag... method addAuth (line 314) | private void addAuth(BoundRequestBuilder requestBuilder) { method performRequest (line 323) | private JsonObject performRequest(BoundRequestBuilder requestBuilder, method validateResponse (line 352) | private static void validateResponse(Response response, int expectedSt... method extractResponse (line 360) | private static JsonObject extractResponse(Response response) { method formatStashApiError (line 379) | private static String formatStashApiError(Response response) { method getUserAgent (line 411) | private static String getUserAgent(String sonarQubeVersion) { method createHttpClient (line 427) | AsyncHttpClient createHttpClient(String sonarQubeVersion) { FILE: src/main/java/org/sonar/plugins/stash/client/StashCredentials.java class StashCredentials (line 3) | public class StashCredentials { method StashCredentials (line 9) | public StashCredentials(String login, String password, String userSlug) { method getLogin (line 15) | public String getLogin() { method getPassword (line 19) | public String getPassword() { method getUserSlug (line 23) | public String getUserSlug() { FILE: src/main/java/org/sonar/plugins/stash/exceptions/StashClientException.java class StashClientException (line 3) | public class StashClientException extends StashException { method StashClientException (line 7) | public StashClientException(String message) { method StashClientException (line 11) | public StashClientException(Throwable cause) { method StashClientException (line 15) | public StashClientException(String message, Throwable cause) { FILE: src/main/java/org/sonar/plugins/stash/exceptions/StashConfigurationException.java class StashConfigurationException (line 3) | public class StashConfigurationException extends StashException { method StashConfigurationException (line 7) | public StashConfigurationException(String message) { method StashConfigurationException (line 11) | public StashConfigurationException(Throwable cause) { method StashConfigurationException (line 15) | public StashConfigurationException(String message, Throwable cause) { FILE: src/main/java/org/sonar/plugins/stash/exceptions/StashException.java class StashException (line 3) | public class StashException extends RuntimeException { method StashException (line 7) | public StashException(String message) { method StashException (line 11) | public StashException(Throwable cause) { method StashException (line 15) | public StashException(String message, Throwable cause) { FILE: src/main/java/org/sonar/plugins/stash/exceptions/StashReportExtractionException.java class StashReportExtractionException (line 3) | public class StashReportExtractionException extends StashException { method StashReportExtractionException (line 7) | public StashReportExtractionException(String message) { method StashReportExtractionException (line 11) | public StashReportExtractionException(Throwable cause) { method StashReportExtractionException (line 15) | public StashReportExtractionException(String message, Throwable cause) { FILE: src/main/java/org/sonar/plugins/stash/issue/MarkdownPrinter.java class MarkdownPrinter (line 24) | public final class MarkdownPrinter { method MarkdownPrinter (line 36) | public MarkdownPrinter( method printSeverityMarkdown (line 48) | public static String printSeverityMarkdown(org.sonar.api.batch.rule.Se... method printIssueNumberBySeverityMarkdown (line 55) | public static String printIssueNumberBySeverityMarkdown(Collection allIssues) { method formatTableList (line 120) | private String formatTableList(List issues) { method repeatString (line 164) | private String repeatString(int n, String s) { method link (line 168) | private static String link(String title, String target) { method firstNonNull (line 192) | @SafeVarargs FILE: src/main/java/org/sonar/plugins/stash/issue/StashComment.java class StashComment (line 9) | public class StashComment { method StashComment (line 19) | public StashComment(long id, String message, String path, Long line, S... method getId (line 36) | public long getId() { method setLine (line 40) | public void setLine(long line) { method setPath (line 44) | public void setPath(String path) { method getMessage (line 48) | public String getMessage() { method getPath (line 52) | public String getPath() { method getLine (line 56) | public long getLine() { method getAuthor (line 60) | public StashUser getAuthor() { method getVersion (line 64) | public long getVersion() { method getTasks (line 68) | public List getTasks() { method addTask (line 72) | public void addTask(StashTask task) { method containsPermanentTasks (line 76) | public boolean containsPermanentTasks() { method equals (line 89) | @Override method hashCode (line 100) | @Override method toString (line 105) | @Override FILE: src/main/java/org/sonar/plugins/stash/issue/StashCommentReport.java class StashCommentReport (line 11) | public class StashCommentReport { method StashCommentReport (line 17) | public StashCommentReport() { method getComments (line 21) | public List getComments() { method add (line 25) | public void add(StashComment comment) { method add (line 29) | public void add(StashCommentReport report) { method contains (line 35) | public boolean contains(String message, String path, long line) { method applyDiffReport (line 51) | public StashCommentReport applyDiffReport(StashDiffReport diffReport) { method size (line 70) | public int size() { FILE: src/main/java/org/sonar/plugins/stash/issue/StashDiff.java class StashDiff (line 8) | public class StashDiff { method StashDiff (line 16) | public StashDiff(IssueType type, String path, long source, long destin... method addComment (line 24) | public void addComment(StashComment comment) { method getPath (line 28) | public String getPath() { method getSource (line 32) | public long getSource() { method getDestination (line 36) | public long getDestination() { method getType (line 40) | public IssueType getType() { method getComments (line 44) | public List getComments() { method containsComment (line 48) | public boolean containsComment(long commentId) { FILE: src/main/java/org/sonar/plugins/stash/issue/StashDiffReport.java class StashDiffReport (line 17) | public class StashDiffReport { method StashDiffReport (line 23) | public StashDiffReport() { method getDiffs (line 27) | public List getDiffs() { method add (line 31) | public void add(StashDiff diff) { method add (line 35) | public void add(StashDiffReport report) { method inVicinityOfChangedDiff (line 39) | private static boolean inVicinityOfChangedDiff(StashDiff diff, long de... method isChangedDiff (line 48) | private static boolean isChangedDiff(StashDiff diff, long destination) { method lineIsChangedDiff (line 52) | private static boolean lineIsChangedDiff(StashDiff diff) { method getType (line 56) | public IssueType getType(String path, long destination, int vicinityRa... method getLine (line 82) | public long getLine(String path, long destination) { method getDiffByComment (line 96) | public StashDiff getDiffByComment(long commentId) { method getComments (line 108) | public List getComments() { FILE: src/main/java/org/sonar/plugins/stash/issue/StashPullRequest.java class StashPullRequest (line 8) | public class StashPullRequest { method getId (line 16) | public int getId() { method getProject (line 20) | public String getProject() { method getRepository (line 24) | public String getRepository() { method StashPullRequest (line 28) | public StashPullRequest(PullRequestRef pr) { method getRef (line 34) | public PullRequestRef getRef() { method getVersion (line 38) | public long getVersion() { method setVersion (line 42) | public void setVersion(long version) { method addReviewer (line 46) | public void addReviewer(StashUser reviewer) { method getReviewers (line 50) | public List getReviewers() { method getReviewer (line 54) | public StashUser getReviewer(String user) { method containsReviewer (line 66) | public boolean containsReviewer(StashUser reviewer) { FILE: src/main/java/org/sonar/plugins/stash/issue/StashTask.java class StashTask (line 3) | public class StashTask { method StashTask (line 10) | public StashTask(Long id, String text, String state, boolean deletable) { method getId (line 17) | public Long getId() { method getText (line 21) | public String getText() { method getState (line 25) | public String getState() { method isDeletable (line 29) | public boolean isDeletable() { FILE: src/main/java/org/sonar/plugins/stash/issue/StashUser.java class StashUser (line 3) | public class StashUser { method StashUser (line 10) | public StashUser(long id, String name, String slug, String email) { method getId (line 17) | public long getId() { method getName (line 21) | public String getName() { method getSlug (line 25) | public String getSlug() { method getEmail (line 29) | public String getEmail() { FILE: src/main/java/org/sonar/plugins/stash/issue/collector/SonarQubeCollector.java class SonarQubeCollector (line 16) | public final class SonarQubeCollector { method SonarQubeCollector (line 20) | private SonarQubeCollector() { method extractIssueReport (line 28) | public static List extractIssueReport( method shouldIncludeIssue (line 40) | static boolean shouldIncludeIssue( FILE: src/main/java/org/sonar/plugins/stash/issue/collector/StashCollector.java class StashCollector (line 17) | public final class StashCollector { method StashCollector (line 22) | private StashCollector() { method extractComments (line 26) | public static StashCommentReport extractComments(JsonObject jsonCommen... method extractComment (line 43) | public static StashComment extractComment(JsonObject jsonComment, Stri... method extractComment (line 56) | public static StashComment extractComment(JsonObject jsonComment) { method extractPullRequest (line 72) | public static StashPullRequest extractPullRequest(PullRequestRef pr, method extractUser (line 95) | public static StashUser extractUser(JsonObject jsonUser) { method extractDiffs (line 104) | public static StashDiffReport extractDiffs(JsonObject jsonObject) { method parseHunksIntoDiffs (line 171) | private static StashDiffReport parseHunksIntoDiffs(String path, JsonAr... method extractCommentsForDiff (line 220) | private static StashDiff extractCommentsForDiff(StashDiff diff, JsonOb... method buildCommentFromJSON (line 266) | private static StashComment buildCommentFromJSON(JsonObject jsonLineCo... method updateCommentTasks (line 285) | private static void updateCommentTasks(StashComment comment, JsonArray... method extractTask (line 299) | public static StashTask extractTask(JsonObject jsonTask) { method isLastPage (line 314) | public static boolean isLastPage(JsonObject jsonObject) { method getNextPageStart (line 321) | public static long getNextPageStart(JsonObject jsonObject) { method getLong (line 330) | private static final Long getLong(JsonObject o, String name) { method getLong (line 334) | private static final Long getLong(Object o) { FILE: src/test/java/org/sonar/plugins/stash/CompleteITCase.java class CompleteITCase (line 33) | public class CompleteITCase { method setUpClass (line 61) | @BeforeAll method setUp (line 70) | @BeforeEach method testBasic (line 87) | @Test method testMultiModule (line 107) | @Test method targetLocation (line 142) | private Path targetLocation(String name) { method installFile (line 146) | private void installFile(String name) throws IOException { method repoPath (line 155) | private String repoPath(String project, String repo, String... parts) { method urlPath (line 159) | private String urlPath(String... parts) { method urlPath (line 163) | private String urlPath(boolean leading, String... parts) { method scan (line 171) | protected void scan(boolean activateSonarStash, boolean issuesMode, Pr... FILE: src/test/java/org/sonar/plugins/stash/DefaultIssue.java class DefaultIssue (line 8) | public class DefaultIssue implements PostJobIssue { method key (line 16) | public String key() { method setKey (line 20) | public DefaultIssue setKey(String key) { method componentKey (line 25) | public String componentKey() { method setComponentKey (line 29) | public DefaultIssue setComponentKey(String componentKey) { method message (line 34) | public String message() { method setMessage (line 38) | public DefaultIssue setMessage(String message) { method inputComponent (line 43) | public InputComponent inputComponent() { method setInputComponent (line 47) | public DefaultIssue setInputComponent(InputComponent inputComponent) { method isNew (line 52) | @Override method setNew (line 57) | public DefaultIssue setNew(boolean aNew) { method severity (line 62) | public Severity severity() { method setSeverity (line 66) | public DefaultIssue setSeverity(Severity severity) { method ruleKey (line 71) | public RuleKey ruleKey() { method setRuleKey (line 75) | public DefaultIssue setRuleKey(RuleKey ruleKey) { method setLine (line 80) | public DefaultIssue setLine(Integer line) { method line (line 85) | @Override FILE: src/test/java/org/sonar/plugins/stash/DummyStashProjectBuilder.java class DummyStashProjectBuilder (line 5) | public class DummyStashProjectBuilder extends StashProjectBuilder { method DummyStashProjectBuilder (line 8) | public DummyStashProjectBuilder(File projectBaseDir) { method getProjectBaseDir (line 12) | @Override FILE: src/test/java/org/sonar/plugins/stash/JavaUtilLoggingCapture.java class JavaUtilLoggingCapture (line 12) | public class JavaUtilLoggingCapture extends TestWatcherExtension { method JavaUtilLoggingCapture (line 20) | public JavaUtilLoggingCapture(boolean gobbleOnSuccess) { method JavaUtilLoggingCapture (line 30) | public JavaUtilLoggingCapture() { method succeeded (line 34) | @Override method failed (line 41) | @Override method finished (line 46) | @Override method starting (line 56) | @Override method emit (line 68) | private void emit() { FILE: src/test/java/org/sonar/plugins/stash/PeekableInputStreamTest.java class PeekableInputStreamTest (line 10) | public class PeekableInputStreamTest { method testEmptyStream (line 11) | @Test method testStream (line 20) | @Test method fromString (line 29) | private PeekableInputStream fromString(String s) { FILE: src/test/java/org/sonar/plugins/stash/PluginInfoTest.java class PluginInfoTest (line 7) | public class PluginInfoTest { method testPluginInfoRef_ConstructorAndAccessors (line 13) | @Test FILE: src/test/java/org/sonar/plugins/stash/StashIssueReportingPostJobTest.java class StashIssueReportingPostJobTest (line 33) | @ExtendWith(MockitoExtension.class) method setUp (line 78) | @BeforeEach method testExecuteOn (line 112) | @Test method testExecuteOnWithReachedThreshold (line 130) | @Test method testExecuteOnWithNoPluginActivation (line 151) | @Test method testExecuteOnWithNoStashUserDefined (line 170) | @Test method testExecuteOnWithResetCommentActivated (line 189) | @Test method testExecuteOnWithNoDiffReport (line 204) | @Test method testShouldApprovePullRequest (line 225) | @Test FILE: src/test/java/org/sonar/plugins/stash/StashPluginConfigurationTest.java class StashPluginConfigurationTest (line 14) | public class StashPluginConfigurationTest { method testStashPluginConfiguration_ConstructorAndAccessors (line 17) | @Test FILE: src/test/java/org/sonar/plugins/stash/StashPluginUtilsTest.java class StashPluginUtilsTest (line 12) | public class StashPluginUtilsTest { method testFormatPercentage (line 14) | @Test method testRoundedPercentageGreaterThan (line 26) | @Test FILE: src/test/java/org/sonar/plugins/stash/StashRequestFacadeTest.java class StashRequestFacadeTest (line 57) | @ExtendWith(MockitoExtension.class) method setUp (line 118) | @BeforeEach method testGetCredentials (line 255) | @Test method testGetNoCredentials (line 265) | @Test method testGetPasswordFromEnvironment (line 275) | @Test method testGetPasswordFromUnconfiguredEnvironment (line 289) | @Test method testGetIssueThreshold (line 299) | @Test method testGetIssueThresholdThrowsException (line 305) | @Test method testGetStashURL (line 314) | @Test method testGetStashURLThrowsException (line 323) | @Test method testGetStashProject (line 332) | @Test method testGetStashProjectThrowsException (line 338) | @Test method testGetStashRepository (line 346) | @Test method testGetStashRepositoryThrowsException (line 352) | @Test method testGetStashPullRequestId (line 360) | @Test method testGetStashPullRequestIdThrowsException (line 366) | @Test method testPostCommentPerIssue (line 374) | @Test method testPostCommentPerIssueWithNoStashCommentAlreadyPushed (line 399) | @Test method testPostCommentPerIssueIgnoresLowerSeverityIssues (line 424) | @Test method testPostSonarQubeReport (line 450) | @Test method testPostTaskOnComment (line 459) | @Test method testPostTaskOnCommentWithRestrictedLevel (line 486) | @Test method testPostTaskOnCommentWithNotPresentLevel (line 513) | @Test method testPostTaskOnCommentWithSeverityNone (line 540) | @Test method testPostSonarQubeReportWithNoType (line 567) | @Test method testPostSonarQubeReportWithNoSonarQubeIssues (line 596) | @Test method testGetSonarQubeReviewer (line 617) | @Test method testGetPullRequestDiffReport (line 625) | @Test method testResetComments (line 636) | @Test method testResetCommentsWithNotDeletableTasks (line 644) | @Test method testResetCommentsWithNoTasks (line 654) | @Test method testResetCommentsWithDifferentStashUsers (line 664) | @Test method testResetCommentsWithoutAnyComments (line 682) | @Test method testApprovePullRequest (line 692) | @Test method addResetPullRequestApproval (line 699) | @Test method testAddPullRequestReviewer (line 707) | @Test method testAddPullRequestReviewerWithReviewerAlreadyAdded (line 726) | @Test method testGetPullRequest (line 745) | @Test method testPostCommentPerIssueWithIncludeVicinityIssues (line 786) | @Test FILE: src/test/java/org/sonar/plugins/stash/StashTest.java class StashTest (line 5) | public abstract class StashTest { FILE: src/test/java/org/sonar/plugins/stash/TestUtils.java class TestUtils (line 23) | public class TestUtils { method TestUtils (line 24) | private TestUtils() {} method notNull (line 26) | public static T notNull(T t) { method assertContains (line 31) | public static void assertContains(String s, String expected) { method primeWireMock (line 41) | public static void primeWireMock(WireMockServer wireMock) throws Excep... method createProcess (line 53) | public static WrappedProcessBuilder createProcess(String prefix, Strin... class WrappedProcessBuilder (line 58) | public static class WrappedProcessBuilder { method WrappedProcessBuilder (line 62) | private WrappedProcessBuilder(String prefix, ProcessBuilder wrapped) { method directory (line 67) | public WrappedProcessBuilder directory(File directory) { method start (line 72) | public Process start() throws IOException { method command (line 76) | public List command() { method environment (line 80) | public Map environment() { class WrappedProcess (line 85) | public static class WrappedProcess extends Process { method WrappedProcess (line 90) | private WrappedProcess(String prefix, Process wrapped) { method getOutputStream (line 98) | @Override method getInputStream (line 103) | @Override method getErrorStream (line 108) | @Override method waitFor (line 113) | @Override method exitValue (line 120) | @Override method destroy (line 125) | @Override method stopLoggers (line 130) | private void stopLoggers() throws InterruptedException { class ForwarderThread (line 138) | private static class ForwarderThread extends Thread implements AutoClo... method ForwarderThread (line 143) | private ForwarderThread(String prefix, InputStream input) { method run (line 149) | @Override method close (line 164) | @Override method inputFile (line 171) | public static InputFile inputFile(String moduleKey, String path) { method inputFile (line 175) | public static InputFile inputFile(String moduleKey, Path moduleBaseDir... FILE: src/test/java/org/sonar/plugins/stash/TestWatcherExtension.java class TestWatcherExtension (line 7) | public abstract class TestWatcherExtension implements BeforeEachCallback... method beforeEach (line 9) | @Override method afterEach (line 14) | @Override method starting (line 24) | abstract void starting(); method finished (line 25) | abstract void finished(); method succeeded (line 26) | abstract void succeeded(); method failed (line 27) | abstract void failed(); FILE: src/test/java/org/sonar/plugins/stash/client/ContentTypeTest.java class ContentTypeTest (line 9) | public class ContentTypeTest { method testContentType (line 11) | @Test method testConstructorFailure (line 30) | @Test FILE: src/test/java/org/sonar/plugins/stash/client/StashClientTest.java class StashClientTest (line 53) | public class StashClientTest extends StashTest { method setUp (line 69) | @BeforeEach method testPostCommentOnPullRequest (line 78) | @Test method testGetBaseUrl (line 87) | @Test method testGetLogin (line 92) | @Test method testPostCommentOnPullRequestWithWrongHTTPResult (line 97) | @Test method testPostCommentOnPullRequestWithException (line 113) | @Test method testGetPullRequestComments (line 121) | @Test method testGetPullRequestCommentsWithoutAuthor (line 135) | @Test method testGetPullRequestCommentsWithNextPage (line 147) | @Test method testGetPullRequestCommentsWithNoNextPage (line 175) | @Test method testGetPullRequestCommentsWithWrongHTTPResult (line 197) | @Test method testGetPullRequestCommentsWithWrongContentType (line 205) | @Test method testGetPullRequestCommentsWithException (line 213) | @Test method testGetPullRequestDiffs (line 221) | @Test method testGetPullRequestDiffsWithMalformedTasks (line 230) | @Test method testGetPullRequestDiffsWithWrongHTTPResult (line 240) | @Test method testGetPullRequestDiffsWithException (line 249) | @Test method testPostCommentLineOnPullRequest (line 257) | @Test method testPostCommentLineOnPullRequestWithWrongHTTPResult (line 267) | @Test method testPostCommentLineOnPullRequestWithException (line 280) | @Test method testGetUser (line 288) | @Test method testGetUserWithWrongHTTPResult (line 302) | @Test method testDeletePullRequestComment (line 310) | @Test method testGetPullRequest (line 318) | @Test method testApprovePullRequest (line 332) | @Test method testResetPullRequestApproval (line 340) | @Test method testAddPullRequestReviewer (line 347) | @Test method testAddPullRequestReviewerWithNoReviewer (line 358) | @Test method testPostTaskOnComment (line 365) | @Test method testDeleteTaskOnComment (line 372) | @Test method testFollowInternalRedirection (line 380) | @Test method testPullRequestHugePullRequestId (line 390) | @Test method testClientWithoutCredentials (line 407) | @Test method testClientWithoutPassword (line 419) | @Test method addErrorResponse (line 431) | private void addErrorResponse(MappingBuilder mapping, int statusCode) { method aJsonResponse (line 447) | public static ResponseDefinitionBuilder aJsonResponse() { method aXMLResponse (line 451) | public static ResponseDefinitionBuilder aXMLResponse() { FILE: src/test/java/org/sonar/plugins/stash/end2end/EndToEndTest.java class EndToEndTest (line 38) | public abstract class EndToEndTest { method setUp (line 43) | @BeforeEach method run (line 50) | protected RunResults run(String fixtureName, Consumer settin... class RunResults (line 99) | protected static class RunResults { method readFixture (line 103) | private static String readFixture(String name) throws IOException { method issue (line 111) | protected PostJobIssue issue(String key, String ruleKey, String module... FILE: src/test/java/org/sonar/plugins/stash/end2end/Issue194.java class Issue194 (line 13) | public class Issue194 extends EndToEndTest { method testWithVicinitiyRange (line 14) | @Test method testAfterVicinityRange (line 19) | @Test method run (line 24) | private void run(int vicinityRange) throws Exception { FILE: src/test/java/org/sonar/plugins/stash/fixtures/DummyIssuePathResolver.java class DummyIssuePathResolver (line 8) | public class DummyIssuePathResolver implements IssuePathResolver { method getIssuePath (line 9) | @Override FILE: src/test/java/org/sonar/plugins/stash/fixtures/DummyPostJobContext.java class DummyPostJobContext (line 12) | public class DummyPostJobContext implements PostJobContext { method DummyPostJobContext (line 17) | public DummyPostJobContext(Settings settings, AnalysisMode mode, method settings (line 24) | @Override method config (line 29) | @Override method analysisMode (line 34) | @Override method issues (line 39) | @Override method resolvedIssues (line 44) | @Override FILE: src/test/java/org/sonar/plugins/stash/fixtures/DummyPostJobIssue.java class DummyPostJobIssue (line 13) | public class DummyPostJobIssue implements PostJobIssue { method DummyPostJobIssue (line 22) | public DummyPostJobIssue(Path moduleBaseDir, String key, RuleKey ruleK... method key (line 33) | @Override method ruleKey (line 38) | @Override method componentKey (line 43) | @Override method inputComponent (line 48) | @CheckForNull method line (line 54) | @CheckForNull method message (line 60) | @CheckForNull method severity (line 66) | @Override method isNew (line 71) | @Override FILE: src/test/java/org/sonar/plugins/stash/fixtures/DummyServer.java class DummyServer (line 8) | public class DummyServer extends Server { method DummyServer (line 9) | public DummyServer() {} method getId (line 11) | @Override method getPermanentServerId (line 16) | @CheckForNull method getVersion (line 22) | @Override method getStartedAt (line 27) | @Override method getRootDir (line 32) | @Override method getContextPath (line 37) | @Override method getPublicRootUrl (line 42) | @Override method isDev (line 47) | @Override method isSecured (line 52) | @Override method getURL (line 57) | @Override FILE: src/test/java/org/sonar/plugins/stash/fixtures/DummyStashServer.java class DummyStashServer (line 26) | public class DummyStashServer { method DummyStashServer (line 34) | public DummyStashServer(WireMockServer wireMock) { method mockUser (line 38) | public void mockUser(StashUser user) { method mockPrDiff (line 43) | public void mockPrDiff(PullRequestRef pr, String x) { method noCommentsFor (line 47) | public void noCommentsFor(PullRequestRef pr) { method expectCommentsUpdateFor (line 51) | public void expectCommentsUpdateFor(PullRequestRef pr) { method getUserFromRequest (line 72) | private StashUser getUserFromRequest(Request request) { method mockResponse (line 77) | private void mockResponse(String response, String... urlParts) { method mockEntity (line 85) | private void mockEntity(Object entity, String... urlParts) { method getCreatedComments (line 93) | public List getCreatedComments() { method urlPath (line 97) | private static String urlPath(String... parts) { method coreApi (line 101) | private static String coreApi(String... parts) { method urlPath (line 108) | private static String urlPath(boolean leading, String... parts) { method aJsonResponse (line 116) | public static ResponseDefinitionBuilder aJsonResponse() { method aJsonResponse (line 120) | public static ResponseDefinitionBuilder aJsonResponse(Object entity) { method extend (line 126) | public static WireMockConfiguration extend(WireMockConfiguration optio... FILE: src/test/java/org/sonar/plugins/stash/fixtures/MavenSonarFixtures.java class MavenSonarFixtures (line 6) | public class MavenSonarFixtures { method getSonarqube (line 10) | public synchronized static SonarQube getSonarqube(int port) { method getSonarScanner (line 23) | public synchronized static SonarScanner getSonarScanner() { FILE: src/test/java/org/sonar/plugins/stash/fixtures/SonarQube.java class SonarQube (line 23) | public class SonarQube { method SonarQube (line 33) | public SonarQube(Path installDir, String version, int port) { method getPort (line 40) | public int getPort() { method getHost (line 44) | public String getHost() { method getExecutable (line 48) | protected File getExecutable() { method setUp (line 73) | public void setUp() { method getConfig (line 77) | public Properties getConfig() { method writeConfig (line 81) | protected void writeConfig() throws Exception { method startAsync (line 89) | public void startAsync() throws Exception { method stop (line 99) | public void stop() throws Exception { method installPlugin (line 105) | public void installPlugin(File sourceArchive) throws IOException { method waitForReady (line 115) | public void waitForReady() throws MalformedURLException { method isReady (line 126) | private boolean isReady() throws IOException { method getUrl (line 133) | private URL getUrl(String file) throws MalformedURLException { method getUrl (line 137) | public URL getUrl() throws MalformedURLException { method createProject (line 141) | public boolean createProject(String key, String name) throws IOExcepti... FILE: src/test/java/org/sonar/plugins/stash/fixtures/SonarQubeRule.java class SonarQubeRule (line 9) | public class SonarQubeRule implements BeforeAllCallback, AfterAllCallback { method SonarQubeRule (line 14) | public SonarQubeRule(SonarQube sonarqube) { method start (line 18) | public void start() throws Exception { method get (line 23) | public SonarQube get() { method beforeAll (line 27) | @Override method afterAll (line 32) | @Override FILE: src/test/java/org/sonar/plugins/stash/fixtures/SonarScanner.java class SonarScanner (line 14) | public class SonarScanner { method SonarScanner (line 17) | public SonarScanner(Path installationDir) { method getBinary (line 21) | protected Path getBinary(String name) { method addCliProperty (line 29) | private void addCliProperty(List cli, String name, Object valu... method scan (line 33) | public void scan(SonarQube sonarqube, FILE: src/test/java/org/sonar/plugins/stash/fixtures/WireMockExtension.java class WireMockExtension (line 14) | public class WireMockExtension extends WireMockServer implements BeforeE... method WireMockExtension (line 19) | public WireMockExtension(Options options) { method WireMockExtension (line 23) | public WireMockExtension(Options options, boolean failOnUnmatchedReque... method beforeEach (line 28) | @Override method afterEach (line 33) | @Override method checkForUnmatchedRequests (line 38) | private void checkForUnmatchedRequests() { FILE: src/test/java/org/sonar/plugins/stash/fixtures/WireMockResponseCallback.java class WireMockResponseCallback (line 12) | public class WireMockResponseCallback { type ResponseTransformerCallback (line 13) | public interface ResponseTransformerCallback { method transform (line 14) | Response transform(Request request, Response response, FileSource fi... method getExtension (line 22) | public static Extension getExtension() { method callback (line 26) | public ResponseDefinitionBuilder callback(ResponseDefinitionBuilder rd... class DummySQResponseTransformer (line 32) | private static class DummySQResponseTransformer extends ResponseTransf... method getName (line 34) | @Override method transform (line 39) | @Override class ToStringWrapper (line 56) | private static class ToStringWrapper implements ResponseTransformerCal... method ToStringWrapper (line 59) | private ToStringWrapper( method getLamba (line 65) | public String getLamba() { method transform (line 69) | @Override FILE: src/test/java/org/sonar/plugins/stash/issue/MarkdownPrinterTest.java class MarkdownPrinterTest (line 18) | public class MarkdownPrinterTest { method setUp (line 28) | @BeforeEach method testPrintIssueMarkdown (line 74) | @Test method testPrintIssueMarkdownWithEmptyMessage (line 82) | @Test method testPrintIssueNumberBySeverityMarkdown (line 93) | @Test method testPrintIssueNumberBySeverityMarkdownWithNoIssues (line 111) | @Test method testPrintReportMarkdown (line 127) | @Test method testPrintReportMarkdownWithIssueLimitation (line 150) | @Test method testPrintReportMarkdownWithFileWideIssues (line 172) | @Test method testPrintEmptyReportMarkdown (line 204) | @Test FILE: src/test/java/org/sonar/plugins/stash/issue/StashCommentReportTest.java class StashCommentReportTest (line 14) | public class StashCommentReportTest { method setUp (line 22) | @BeforeEach method testContains (line 37) | @Test method testNotContains (line 51) | @Test method testSize (line 61) | @Test method testSizeOfEmptyReport (line 72) | @Test method testAddReport (line 78) | @Test method testAddEmptyReportToNotEmptyReport (line 101) | @Test method testAddNotEmptyReportToEmptyReport (line 112) | @Test method testAddEmptyReportToEmptyReport (line 123) | @Test method applyDiffReportWithCONTEXT (line 132) | @Test method applyDiffReportWithADDED (line 153) | @Test FILE: src/test/java/org/sonar/plugins/stash/issue/StashCommentTest.java class StashCommentTest (line 13) | public class StashCommentTest { method testGetLine (line 18) | @Test method testGetNoLine (line 24) | @Test method testEquals (line 30) | @Test method testAddTask (line 41) | @Test method testContainsNotDeletableTasks (line 62) | @Test method testContainsNotDeletableTasksWithoutTasks (line 83) | @Test FILE: src/test/java/org/sonar/plugins/stash/issue/StashDiffReportTest.java class StashDiffReportTest (line 14) | public class StashDiffReportTest { method setUp (line 28) | @BeforeEach method testAdd (line 56) | @Test method testAddReport (line 80) | @Test method testGetType (line 91) | @Test method testGetTypeWithNoDestination (line 101) | @Test method testGetTypeVicinity (line 107) | @Test method testGetLine (line 116) | @Test method testGetDiffByComment (line 125) | @Test method testGetComments (line 137) | @Test method testGetCommentsWithoutAnyIssues (line 146) | @Test method testGetCommentsWithDuplicatedComments (line 153) | @Test method testVicinitySourceBeforeDestination (line 171) | @Test FILE: src/test/java/org/sonar/plugins/stash/issue/StashDiffTest.java class StashDiffTest (line 14) | public class StashDiffTest { method setUp (line 20) | @BeforeEach method testIsTypeOfContext (line 37) | @Test method testContainsComment (line 43) | @Test FILE: src/test/java/org/sonar/plugins/stash/issue/StashPullRequestTest.java class StashPullRequestTest (line 12) | public class StashPullRequestTest { method setUp (line 19) | @BeforeEach method testGetProject (line 32) | @Test method testGetRepository (line 37) | @Test method testGetId (line 42) | @Test method testGetVersion (line 47) | @Test method testAddReviewer (line 54) | @Test method testAddReviewerTwice (line 64) | @Test method testAddReviewerSameTwice (line 76) | @Test method testGetReviewer (line 88) | @Test method testContainsReviewer (line 107) | @Test FILE: src/test/java/org/sonar/plugins/stash/issue/StashTaskTest.java class StashTaskTest (line 10) | public class StashTaskTest { method setUp (line 14) | @BeforeEach method testGetId (line 19) | @Test method testGetState (line 24) | @Test method testGetText (line 29) | @Test method testIsDeletable (line 34) | @Test FILE: src/test/java/org/sonar/plugins/stash/issue/StashUserTest.java class StashUserTest (line 9) | public class StashUserTest { method setUp (line 13) | @BeforeEach method testGetId (line 18) | @Test method testGetName (line 23) | @Test method testGetSlug (line 28) | @Test method testGetEmail (line 33) | @Test FILE: src/test/java/org/sonar/plugins/stash/issue/collector/DiffReportSample.java class DiffReportSample (line 3) | public class DiffReportSample { FILE: src/test/java/org/sonar/plugins/stash/issue/collector/SonarQubeCollectorTest.java class SonarQubeCollectorTest (line 34) | @ExtendWith(MockitoExtension.class) method setUp (line 54) | @BeforeEach method testExtractEmptyIssueReport (line 91) | @Test method testExtractIssueReport (line 99) | @Test method testExtractIssueReportWithNoLine (line 122) | @Test method testExtractIssueReportWithOldOption (line 140) | @Test method testExtractIssueReportWithOneIssueWithoutInputFile (line 155) | @Test method testExtractIssueReportWithIncludeExistingIssuesOption (line 174) | @Test method testExtractIssueReportWithExcludedRules (line 187) | @Test method testShouldIncludeIssue (line 203) | @Test FILE: src/test/java/org/sonar/plugins/stash/issue/collector/StashCollectorTest.java class StashCollectorTest (line 22) | public class StashCollectorTest { method testExtractCommentReport (line 31) | @Test method testExtractCommentReportWithSeveralComment (line 49) | @Test method testExtractEmptyCommentReport (line 78) | @Test method testExtractComment (line 86) | @Test method testExtractEmptyCommentWithNoAnchor (line 101) | @Test method testExtractCommentWithPathAndLineAsParameters (line 111) | @Test method testIsLastPage (line 126) | @Test method testNextPageStart (line 138) | @Test method testExtractDiffsWithBaseReport (line 147) | @Test method testExtractDiffsWithNoComments (line 221) | @Test method testExtractDiffsWithFileComments (line 255) | @Test method testExtractDiffsWithEmptyFileComments (line 336) | @Test method testExtractDiffsWithEmptyReport (line 382) | @Test method testExtractDiffsWithMultipleFile (line 393) | @Test method testExtractDiffsWithDeletedFile (line 415) | @Test method testExtractPullRequest (line 433) | @Test method testExtractPullRequestWithSeveralReviewer (line 474) | @Test method testExtractPullRequestWithNoReviewer (line 532) | @Test method testExtractUser (line 552) | @Test method testExtractTask (line 569) | @Test method testExtractTaskWithoutPermittedOperation (line 587) | @Test method parse (line 603) | private static JsonObject parse(String s) throws Exception { FILE: src/test/resources/foo/module1/src/main/java/Foo.java class Foo (line 1) | public class Foo { method main (line 2) | public static void main(String[] args) { FILE: src/test/resources/foo/module2/src/main/java/Bar.java class Bar (line 1) | public class Bar { method main (line 2) | public static void main(String[] args) {