AI Slop Code Risk Monitor

rest-assured/rest-assured

SlopCodeMonitor badge for rest-assured/rest-assured Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Java DSL for easy testing of REST services

4.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for rest-assured/rest-assured, a Java project with 7,147 GitHub stars. SynthScan examined 170,835 lines of code across 1063 source files, recording 157 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 4.3 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.3
Adjusted Signal
4.3
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
7.1K
Stars
Java
Language
170.8K
Lines of Code
1.1K
Files
157
Pattern Hits
2026-10-31
Scan Date
0.05
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 0.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 11 finding(s).

Hallucinated Dependency & Supply Chain Risk 19.2/100 · LOW

Are imports declared and package/API names verified? 146 finding(s).

Agent Over-Engineering Ratio 0.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 2 finding(s).

PR Review Velocity Impact 15.8/100 · LOW

Which changes need focused human review? 157 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 48HIGH 0MEDIUM 0LOW 109

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 157 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators48 hits · 610 pts
SeverityFileLineSnippetContext
CRITICALchangelog.txt1050 - io.restassured.module.mockmvc.specification.MockMvcRequestSpecification.resultHandlers (use io.restassured.module.CODE
CRITICALchangelog.txt1055* Renamed method com.jayway.restassured.specification.RequestLogSpecification.path(..) to com.jayway.restassured.specifiCOMMENT
CRITICAL…a/io/restassured/internal/support/PathSupportTest.java227 org.junit.jupiter.api.Assertions.assertThrows(NullPointerException.class, () -> PathSupport.mergeAndRemoveDoubleCODE
CRITICAL…a/io/restassured/internal/support/PathSupportTest.java228 org.junit.jupiter.api.Assertions.assertThrows(NullPointerException.class, () -> PathSupport.mergeAndRemoveDoubleCODE
CRITICAL…gmvc/controller/AutoSpringSecurityConfigurerITest.java136 org.junit.jupiter.api.Assertions.assertThrows(NestedServletException.class, () -> {CODE
CRITICAL⚡…test/java/io/restassured/itest/java/RootPathITest.java260 Throwable thrown = org.assertj.core.api.Assertions.catchThrowable(() ->CODE
CRITICAL⚡…test/java/io/restassured/itest/java/RootPathITest.java263 org.assertj.core.api.Assertions.assertThat(thrown)CODE
CRITICAL⚡…test/java/io/restassured/itest/java/RootPathITest.java270 Throwable thrown = org.assertj.core.api.Assertions.catchThrowable(() ->CODE
CRITICAL⚡…test/java/io/restassured/itest/java/RootPathITest.java273 org.assertj.core.api.Assertions.assertThat(thrown)CODE
CRITICAL…test/java/io/restassured/itest/java/RootPathITest.java313 Throwable thrown = org.assertj.core.api.Assertions.catchThrowable(() ->CODE
CRITICAL…test/java/io/restassured/itest/java/RootPathITest.java320 org.assertj.core.api.Assertions.assertThat(thrown)CODE
CRITICAL…test/java/io/restassured/itest/java/ResponseITest.java50 org.assertj.core.api.Assertions.assertThat(body).isEqualTo("{\"hello\":\"Hello Scalatra\"}");CODE
CRITICAL…test/java/io/restassured/itest/java/ResponseITest.java57 org.assertj.core.api.Assertions.assertThat(actual).isEqualTo(expected);CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java70 org.assertj.core.api.Assertions.assertThat(body).isEqualTo("<greeting><firstName>John</firstName>\n <lastNaCODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java77 org.assertj.core.api.Assertions.assertThat(actual).isEqualTo("23, 42, 127, 123");CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java83 org.assertj.core.api.Assertions.assertThat(actual).isEqualTo("username, token");CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java89 org.assertj.core.api.Assertions.assertThat(body).isEqualTo("a body");CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java95 org.assertj.core.api.Assertions.assertThat(actual).isEqualTo("{\"greeting\":\"Greetings John Doe\"}");CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java101 org.assertj.core.api.Assertions.assertThat(response.getCookies().size()).isEqualTo(3);CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java102 org.assertj.core.api.Assertions.assertThat(response.cookies().size()).isEqualTo(3);CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java103 org.assertj.core.api.Assertions.assertThat(response.getCookie("key1")).isEqualTo("value1");CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java104 org.assertj.core.api.Assertions.assertThat(response.cookie("key2")).isEqualTo("value2");CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java110 org.assertj.core.api.Assertions.assertThat(response.getHeaders().size()).isEqualTo(7);CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java111 org.assertj.core.api.Assertions.assertThat(response.headers().size()).isEqualTo(7);CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java112 org.assertj.core.api.Assertions.assertThat(response.getHeader("Content-Type")).isEqualTo("text/plain;charset=utfCODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java136 final String string = org.apache.commons.io.IOUtils.toString(inputStream, StandardCharsets.UTF_8);CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java144 final String string = org.apache.commons.io.IOUtils.toString(inputStream, StandardCharsets.UTF_8);CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java152 final String string = org.apache.commons.io.IOUtils.toString(inputStream, StandardCharsets.UTF_8);CODE
CRITICAL⚡…test/java/io/restassured/itest/java/ResponseITest.java160 final String string = org.apache.commons.io.IOUtils.toString(inputStream, StandardCharsets.UTF_8);CODE
CRITICAL…test/java/io/restassured/itest/java/ResponseITest.java240 org.assertj.core.api.Assertions.assertThat(response.asString()).isEqualTo("äöü");CODE
CRITICAL…pper/factory/DefaultYassonObjectMapperFactoryTest.java70 Field field = io.restassured.common.mapper.factory.DefaultYassonObjectMapperFactory.class.getDeclaredField("cachCODE
CRITICAL⚡…path/json/mapping/LegacyJsonObjectMapperFactories.java43 return new io.restassured.path.json.mapper.factory.DefaultGsonObjectMapperFactory();CODE
CRITICAL⚡…path/json/mapping/LegacyJsonObjectMapperFactories.java52 return new io.restassured.path.json.mapper.factory.DefaultJackson2ObjectMapperFactory();CODE
CRITICAL⚡…path/json/mapping/LegacyJsonObjectMapperFactories.java61 return new io.restassured.path.json.mapper.factory.DefaultJackson3ObjectMapperFactory();CODE
CRITICAL⚡…path/json/mapping/LegacyJsonObjectMapperFactories.java70 return new io.restassured.path.json.mapper.factory.DefaultJohnzonObjectMapperFactory();CODE
CRITICAL⚡…path/json/mapping/LegacyJsonObjectMapperFactories.java79 return new io.restassured.path.json.mapper.factory.DefaultYassonObjectMapperFactory();CODE
CRITICAL…/module/mockmvc/internal/MockMvcRequestSenderImpl.java240 org.springframework.security.core.context.SecurityContextHolder.getContext().setAuthentication((org.springfrCODE
CRITICAL…/module/mockmvc/internal/MockMvcRequestSenderImpl.java288 org.springframework.security.core.context.SecurityContextHolder.clearContext();CODE
CRITICAL…/module/mockmvc/internal/MockMvcRequestSenderImpl.java918 if (io.restassured.http.Method.QUERY.name().equalsIgnoreCase(httpMethodAsString)) {CODE
CRITICAL…/module/mockmvc/internal/MockMvcRequestSenderImpl.java921 org.springframework.web.bind.annotation.RequestMethod.valueOf(httpMethodAsString.toUpperCase(Locale.ROOT));CODE
CRITICAL…/module/mockmvc/internal/MockMvcRequestSenderImpl.java932 return HttpMethod.valueOf(io.restassured.http.Method.QUERY.name());CODE
CRITICAL…estassured/module/mockmvc/internal/MockMvcFactory.java92 final MockMvcConfigurer configurer = org.springframework.security.test.web.servlet.setup.SecurityMocCODE
CRITICAL…/mockmvc/internal/MockMvcRequestSpecificationImpl.java963 throw new IllegalArgumentException("authentication object must be an instance of " + org.springframework.secCODE
CRITICAL…estclient/internal/WebTestClientRequestSenderImpl.java169 if (io.restassured.http.Method.QUERY.name().equalsIgnoreCase(httpMethodAsString)) {CODE
CRITICAL…estclient/internal/WebTestClientRequestSenderImpl.java172 org.springframework.web.bind.annotation.RequestMethod.valueOf(httpMethodAsString.toUpperCase(Locale.ROOT));CODE
CRITICAL…estclient/internal/WebTestClientRequestSenderImpl.java774 return HttpMethod.valueOf(io.restassured.http.Method.QUERY.name());CODE
CRITICAL…l/path/xml/mapping/LegacyXmlObjectMapperFactories.java37 return new io.restassured.path.xml.mapper.factory.DefaultJAXBObjectMapperFactory();CODE
CRITICAL…l/path/xml/mapping/LegacyXmlObjectMapperFactories.java46 return new io.restassured.path.xml.mapper.factory.DefaultJakartaEEObjectMapperFactory();CODE
Fake / Example Data98 hits · 118 pts
SeverityFileLineSnippetContext
LOWchangelog.txt234* Fix path parameters in the Spring WebTestClient module: an unnamed path parameter that isn't a String, e.g. get("/postCOMMENT
LOW…src/main/java/io/restassured/response/Validatable.java31 * body("greeting", equalTo("John Doe"));COMMENT
LOW…est/java/io/restassured/itest/java/PathParamITest.java53 expect().body("fullName", equalTo("John Doe")).when().get("/{firstName}/{lastName}", "John", "Doe");CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java68 body("fullName", equalTo("John Doe"));CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java85 body("fullName", equalTo("John Doe"));CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java150 assertThat(fullName, equalTo("John Doe"));CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java212 body("fullName", equalTo("John Doe")).CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java233 body("fullName", equalTo("John Doe")).CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java257 body("fullName", equalTo("John Doe")).CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java285 body("fullName", equalTo("John Doe")).CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java297 body("fullName", equalTo("John Doe")).CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java309 body("fullName", equalTo("John Doe")).CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java507 body("fullName", equalTo("John Doe"));CODE
LOW…est/java/io/restassured/itest/java/PathParamITest.java520 body("fullName", equalTo("John Doe"));CODE
LOW…/restassured/itest/java/LogIfValidationFailsITest.java222 body("fullName", equalTo("John Doe"));CODE
LOW…/restassured/itest/java/LogIfValidationFailsITest.java237 body("fullName", equalTo("John Doe")).CODE
LOW…/restassured/itest/java/SpecificationBuilderITest.java339 body("fullName", equalTo("John Doe")).CODE
LOW…/restassured/itest/java/SpecificationBuilderITest.java357 body("fullName", equalTo("John Doe"));CODE
LOW…/restassured/itest/java/SpecificationBuilderITest.java412 body("fullName", equalTo("John Doe"));CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java306 body("fullName", equalTo("John Doe")).CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java476 body("fullName", equalTo("John Doe")).CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java557 body("fullName", equalTo("John Doe")).CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java576 body("fullName", equalTo("John Doe")).CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java649 body("fullName", equalTo("John Doe")).CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java678 body("fullName", equalTo("John Doe")).CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java693 "fullName": "John Doe"CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java750 body("fullName", equalTo("John Doe")).CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java769 body("fullName", equalTo("John Doe")).CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java1485 body("fullName", equalTo("John Doe"));CODE
LOW…/test/java/io/restassured/itest/java/LoggingITest.java1514 body("fullName", equalTo("John Doe"));CODE
LOW…/restassured/itest/java/GivenWhenThenLoggingITest.java49 body("fullName", equalTo("John Doe"));CODE
LOW…/restassured/itest/java/GivenWhenThenLoggingITest.java87 body("fullName", equalTo("John Doe"));CODE
LOW…rc/test/java/io/restassured/itest/java/PatchITest.java91 body("fullName", equalTo("John Doe"));CODE
LOW…c/test/java/io/restassured/itest/java/FilterITest.java194 body("fullName", equalTo("John Doe"));CODE
LOW…c/test/java/io/restassured/itest/java/FilterITest.java245 body("fullName", equalTo("John Doe"));CODE
LOW…c/test/java/io/restassured/itest/java/FilterITest.java264 body("fullName", equalTo("John Doe"));CODE
LOW…c/test/java/io/restassured/itest/java/FilterITest.java282 body("fullName", equalTo("John Doe"));CODE
LOW…c/test/java/io/restassured/itest/java/FilterITest.java299 body("fullName", equalTo("John Doe"));CODE
LOW…c/test/java/io/restassured/itest/java/FilterITest.java319 body("fullName", equalTo("John Doe"));CODE
LOW…c/test/java/io/restassured/itest/java/FilterITest.java405 body("fullName", equalTo("John Doe"));CODE
LOW…d/itest/java/presentation/SpecificationsDemoITest.java51 param("name", "John Doe").CODE
LOW…d/itest/java/presentation/SpecificationsDemoITest.java66 param("name", "John Doe").CODE
LOW…a/io/restassured/module/scala/RestAssuredSupport.scala38 * body("greeting", equalTo("John Doe"));COMMENT
LOW…est/java/io/restassured/module/mockmvc/HeaderTest.java50 header(new Header("headerName", "John Doe")).CODE
LOW…est/java/io/restassured/module/mockmvc/HeaderTest.java55 body("headerName", equalTo("John Doe"));CODE
LOW⚡…est/java/io/restassured/module/mockmvc/HeaderTest.java85 header("headerName", "John Doe").CODE
LOW⚡…est/java/io/restassured/module/mockmvc/HeaderTest.java90 body("headerName", equalTo("John Doe"));CODE
LOW⚡…est/java/io/restassured/module/mockmvc/HeaderTest.java96 header("headerName", "John Doe").CODE
LOW⚡…est/java/io/restassured/module/mockmvc/HeaderTest.java102 body("headerName", equalTo("John Doe")).CODE
LOW⚡…est/java/io/restassured/module/mockmvc/HeaderTest.java109 headers.put("headerName", "John Doe");CODE
LOW⚡…est/java/io/restassured/module/mockmvc/HeaderTest.java118 body("headerName", equalTo("John Doe")).CODE
LOW⚡…est/java/io/restassured/module/mockmvc/HeaderTest.java125 headers(new Headers(new Header("headerName", "John Doe"), new Header("user-agent", "rest assured"))).CODE
LOW⚡…est/java/io/restassured/module/mockmvc/HeaderTest.java130 body("headerName", equalTo("John Doe")).CODE
LOW…a/io/restassured/module/mockmvc/ResultHandlerTest.java51 header(new Header("headerName", "John Doe")).CODE
LOW…a/io/restassured/module/mockmvc/ResultHandlerTest.java57 body("headerName", equalTo("John Doe"));CODE
LOW…a/io/restassured/module/mockmvc/ResultHandlerTest.java68 header(new Header("headerName", "John Doe")).CODE
LOW…a/io/restassured/module/mockmvc/ResultHandlerTest.java75 body("headerName", equalTo("John Doe"));CODE
LOW…a/io/restassured/module/mockmvc/ResultHandlerTest.java88 header(new Header("headerName", "John Doe")).CODE
LOW…a/io/restassured/module/mockmvc/ResultHandlerTest.java93 body("headerName", equalTo("John Doe"));CODE
LOW…a/io/restassured/module/mockmvc/ResultHandlerTest.java106 header(new Header("headerName", "John Doe")).CODE
38 more matches not shown…
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…ed/module/mockmvc/config/RestAssuredMockMvcConfig.java44 // When adding a config here don't forget to update isUserConfigured methodCOMMENT
LOW…ed/module/mockmvc/config/RestAssuredMockMvcConfig.java419 // When adding a config here don't forget to update merging in MockMvcRequestSpecificationImpl#mergeConfig and pCOMMENT
LOW…btestclient/config/RestAssuredWebTestClientConfig.java44 // When adding a config here don't forget to update isUserConfigured methodCOMMENT
LOW…btestclient/config/RestAssuredWebTestClientConfig.java153 // When adding a config here don't forget to update merging in WebTestClientRequestSpecificationImpl#mergeConfig and pCOMMENT
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOW.github/FUNDING.yml1# These are supported funding model platformsCOMMENT
LOW…e/src/main/resources/META-INF/rewrite/rest-assured.yml1#COMMENT
LOW…t/java/io/restassured/module/mockmvc/RestDocsTest.java41 // then().COMMENT
LOW…t/java/io/restassured/module/mockmvc/RestDocsTest.java61 // get("/{path}", "greeting").COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…test/scala/io.restassured.scala/ScalaMockMvcTest.scala29 def implicit_conversion_works_when_using_the_spring_mock_mvc_module() {CODE
LOW…/restassured/module/scala/RestAssuredSupportTest.scala31 def implicit_conversion_is_applied_when_importing_rest_assured_support_namespace() {CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ssured/internal/path/json/ConfigurableJsonSlurper.java122 // We need to check if the token is null (this happens if the document to parse is empty, see issue 260).COMMENT