Skip to content

RUM-11737: Add documentation to the public API members where missing#2880

Merged
0xnm merged 1 commit into
developfrom
nogorodnikov/rum-11737/add-documentation-to-public-api-where-missing
Sep 16, 2025
Merged

RUM-11737: Add documentation to the public API members where missing#2880
0xnm merged 1 commit into
developfrom
nogorodnikov/rum-11737/add-documentation-to-public-api-where-missing

Conversation

@0xnm

@0xnm 0xnm commented Sep 15, 2025

Copy link
Copy Markdown
Member

What does this PR do?

With Detekt version change from 1.23.4 (the one we are using on CI) to 1.23.8 we have new reports for the Public API check and we need to address them. Mostly it is missing documentation for the enum members.

Note: there are also reports about missing docs for companion object classes, but this should either be ignored or it is a but in the Detekt rule.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@0xnm
0xnm requested review from a team as code owners September 15, 2025 15:52
@0xnm
0xnm force-pushed the nogorodnikov/rum-11737/add-documentation-to-public-api-where-missing branch from 55fec93 to 09b13ff Compare September 15, 2025 16:01
@codecov-commenter

codecov-commenter commented Sep 15, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.59%. Comparing base (9e10feb) to head (09b13ff).
⚠️ Report is 1445 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2880      +/-   ##
===========================================
+ Coverage    70.58%   70.59%   +0.01%     
===========================================
  Files          810      810              
  Lines        29666    29666              
  Branches      5079     5079              
===========================================
+ Hits         20938    20940       +2     
+ Misses        7297     7294       -3     
- Partials      1431     1432       +1     
Files with missing lines Coverage Δ
...n/kotlin/com/datadog/android/api/InternalLogger.kt 94.12% <ø> (ø)
...tlin/com/datadog/android/api/context/DeviceType.kt 100.00% <ø> (ø)
...lin/com/datadog/android/api/context/NetworkInfo.kt 74.68% <ø> (ø)
...dog/android/core/metrics/MethodCallSamplingRate.kt 100.00% <ø> (ø)
...atadog/android/core/metrics/TelemetryMetricType.kt 100.00% <ø> (ø)
...adog/android/internal/attributes/LocalAttribute.kt 0.00% <ø> (ø)
...og/android/internal/telemetry/TracingHeaderType.kt 0.00% <ø> (ø)
.../kotlin/com/datadog/android/rum/RumResourceKind.kt 95.45% <ø> (ø)
...n/kotlin/com/datadog/android/rum/RumSessionType.kt 100.00% <ø> (ø)
...dog/android/rum/featureoperations/FailureReason.kt 100.00% <ø> (ø)

... and 41 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@0xnm
0xnm merged commit adb18d4 into develop Sep 16, 2025
25 checks passed
@0xnm
0xnm deleted the nogorodnikov/rum-11737/add-documentation-to-public-api-where-missing branch September 16, 2025 14:52
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.

3 participants