Skip to content

TS-38628 Codebase Cleanup#912

Open
Avanatiker wants to merge 9 commits into
masterfrom
ts/38628_kotlin_refactor
Open

TS-38628 Codebase Cleanup#912
Avanatiker wants to merge 9 commits into
masterfrom
ts/38628_kotlin_refactor

Conversation

@Avanatiker
Copy link
Copy Markdown
Member

DEFAULT_EXCLUDES — added com.teamscale.:kotlin. to prevent agent self-instrumentation
locationIncludeFilter — computed getter → by lazy (was recompiling WildcardMatcher on every access)
ClasspathWildcardIncludeFilter.getClassName() — cached Regex, JavaNames, and results via ConcurrentHashMap
AgentResource / TestwiseCoverageResource / ResourceBase — mutable companion object state → constructor injection
RevisionInfo / ERevisionType — enum + nullable field → sealed class with Commit/Revision variants
ITestDescriptorResolver — Optional return types → String? throughout 10 files
TeamscaleCredentials, FileCoverage, PathCoverage — class → data class
Gradle plugin — suppressed deprecation warnings, added missing jacoco.core dependency
Kotlin version — 2.3.21 → 2.3.20 (matches Gradle's embedded version)

@Avanatiker Avanatiker changed the title Ts/38628 kotlin refactor TS-38628 Codebase Cleanup May 28, 2026
@Avanatiker Avanatiker requested a review from DreierF May 28, 2026 14:13
Comment thread gradle/libs.versions.toml Outdated
Comment thread agent/src/main/kotlin/com/teamscale/jacoco/agent/LenientCoverageTransformer.kt Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants