Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Code health] Include what you use cleanup, part 5 #3140

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

marcalff
Copy link
Member

@marcalff marcalff commented Nov 13, 2024

Contributes to #2054

Changes

Please provide a brief description of the changes here.

  • continued the include-what-you-use cleanup
  • total number of warnings decreased from 37 in branch main, to 2 in this PR.
  • CI is now enforcing a pass/fail check, with some tolerance (<= 10 warnings)

Note that the cleanup is not completed, as some optional parts (OTLP GRPC) are not covered yet by the build in CI.
This will be handled in subsequent PRs.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for opentelemetry-cpp-api-docs canceled.

Name Link
🔨 Latest commit 1624d48
🔍 Latest deploy log https://app.netlify.com/sites/opentelemetry-cpp-api-docs/deploys/674124b77eb113000835a082

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.86%. Comparing base (6a77bcd) to head (1624d48).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3140   +/-   ##
=======================================
  Coverage   87.86%   87.86%           
=======================================
  Files         195      195           
  Lines        6151     6151           
=======================================
  Hits         5404     5404           
  Misses        747      747           
Files with missing lines Coverage Δ
api/include/opentelemetry/nostd/variant.h 66.67% <ø> (ø)
...telemetry/exporters/memory/in_memory_metric_data.h 100.00% <ø> (ø)
exporters/memory/src/in_memory_metric_data.cc 85.00% <ø> (ø)
...rs/memory/src/in_memory_metric_exporter_factory.cc 100.00% <ø> (ø)
...xporters/memory/test/in_memory_metric_data_test.cc 100.00% <ø> (ø)
...ters/memory/test/in_memory_metric_exporter_test.cc 100.00% <ø> (ø)
exporters/memory/test/in_memory_span_data_test.cc 100.00% <ø> (ø)
...orters/memory/test/in_memory_span_exporter_test.cc 100.00% <ø> (ø)
exporters/ostream/test/ostream_log_test.cc 96.18% <ø> (ø)
exporters/ostream/test/ostream_metric_test.cc 100.00% <ø> (ø)
... and 2 more
---- 🚨 Try these New Features:

@marcalff marcalff marked this pull request as ready for review November 14, 2024 23:37
@marcalff marcalff requested a review from a team as a code owner November 14, 2024 23:37
@marcalff marcalff changed the title Include what you use cleanup, part 5 [Code health] Include what you use cleanup, part 5 Nov 14, 2024
@marcalff
Copy link
Member Author

@open-telemetry/cpp-contrib-approvers Ready for review.

@marcalff marcalff added the pr:please-review This PR is ready for review label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:please-review This PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant