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

Schema Extraction Preprocessor #182

Merged
merged 58 commits into from
Aug 16, 2023
Merged

Conversation

Anilm3
Copy link
Collaborator

@Anilm3 Anilm3 commented Jul 10, 2023

This PR introduces preprocessors and generators, more specifically:

  • Generic preprocessor and context / parser support
  • Schema extraction generator

Note that many of the utils in test, tools and validator are currently duplicated but these will be refactored soon.

@codecov-commenter
Copy link

codecov-commenter commented Jul 10, 2023

Codecov Report

Merging #182 (2e01180) into master (889b3b2) will increase coverage by 1.10%.
The diff coverage is 82.49%.

@@            Coverage Diff             @@
##           master     #182      +/-   ##
==========================================
+ Coverage   80.02%   81.13%   +1.10%     
==========================================
  Files          98      104       +6     
  Lines        3455     3726     +271     
  Branches     1564     1678     +114     
==========================================
+ Hits         2765     3023     +258     
+ Misses        305      291      -14     
- Partials      385      412      +27     
Flag Coverage Δ
waf_test 81.13% <82.49%> (+1.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/context_allocator.hpp 73.91% <ø> (ø)
src/parameter.cpp 70.76% <ø> (+17.59%) ⬆️
src/parser/specification.hpp 100.00% <ø> (ø)
src/ruleset.hpp 44.00% <ø> (ø)
src/ruleset_builder.hpp 100.00% <ø> (ø)
src/ruleset_builder.cpp 80.00% <50.00%> (-2.54%) ⬇️
src/preprocessor.cpp 75.00% <75.00%> (ø)
src/parser/parser_v2.cpp 85.64% <78.94%> (-1.13%) ⬇️
src/context.cpp 82.88% <80.00%> (-0.99%) ⬇️
src/generator/extract_schema.cpp 81.02% <81.02%> (ø)
... and 11 more

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Anilm3 Anilm3 marked this pull request as ready for review August 15, 2023 16:33
src/generator/extract_schema.cpp Outdated Show resolved Hide resolved
src/generator/extract_schema.cpp Show resolved Hide resolved
src/generator/extract_schema.cpp Show resolved Hide resolved
src/generator/extract_schema.cpp Outdated Show resolved Hide resolved
src/generator/extract_schema.cpp Show resolved Hide resolved
src/generator/extract_schema.hpp Show resolved Hide resolved
src/object_store.cpp Show resolved Hide resolved
src/generator/extract_schema.cpp Outdated Show resolved Hide resolved
@Anilm3 Anilm3 merged commit fa0548d into master Aug 16, 2023
22 checks passed
@Anilm3 Anilm3 deleted the anilm3/schema-extract-preprocessor branch August 16, 2023 14:27
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.

4 participants