Conversation
…ture/annotation_parser
Test Results 1 files 102 suites 2m 39s ⏱️ Results for commit aa3bfe7. ♻️ This comment has been updated with latest results. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1312 +/- ##
===========================================
- Coverage 95.04% 95.02% -0.03%
===========================================
Files 111 111
Lines 5369 5444 +75
Branches 33 30 -3
===========================================
+ Hits 5103 5173 +70
- Misses 266 271 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Can you also include the code you have used for large-scale testing of scanning? Is the change related only to how the comment removal is done for lines scanning? |
|
Please assure that the coverage on new functionality is higher. |
No the change is related to Added the file to example. |
I will update tests. |
…results in annotation processing
jgebal
left a comment
There was a problem hiding this comment.
Nice improvement.
Some fixes are required and old code needs to be removed.
I wonder where did the need for this improvement came from?
Do you actually see this as a problem in day-to-day use of utPLSQL?
No issues. Next on table is to add the finally the boolean matcher from 23c :) |
- Removed unused test procedures from test_annotation_parser package. - Updated replace_multiline_comments procedure in test_ut_utils to use dbms_preprocessor.source_lines_t for actual and expected results. - Added lines_to_str and make_source functions in main_helper to facilitate conversion between source lines and string formats.
…ng header stripping functionality
|
I'm still working on it. Weird it run ok in docker in the CICD pipeline .... |
Must been something with my image... I will fix rest of the things later. Managed to remove dead code will have to now refactor some of the new one. |
|
| end loop; | ||
| end add_procedure_annotations; | ||
|
|
||
| function extract_and_replace_comments(a_source in out nocopy clob) return tt_comment_list is |
There was a problem hiding this comment.
@lwasylow
Can you remove that function? It's not used anymore.

This is attempt to speed up the annotation parsing for large volume of packages.
It replaces costly lob being open up and closed up with a line scanner and set of short circuits conditions.
On the 1000 auto generated set of sample unit tests packages executing both
ut_annotation_parser.parse_object_annotationsold vs new we seeing large improvments.