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

feat: Analyze sap.ui.core.Lib.init() call #33

Merged
merged 36 commits into from
Mar 25, 2024
Merged

Conversation

d3xter666
Copy link
Contributor

@d3xter666 d3xter666 commented Mar 14, 2024

JIRA: CPOUI5FOUNDATION-793

Adds checks whether Lib.init() has been called with apiVersion: 2 property.

@d3xter666 d3xter666 marked this pull request as draft March 15, 2024 07:10
@matz3 matz3 mentioned this pull request Mar 18, 2024
27 tasks
@d3xter666 d3xter666 requested a review from a team March 18, 2024 09:25
@d3xter666 d3xter666 marked this pull request as ready for review March 18, 2024 09:25
src/detectors/typeChecker/FileLinter.ts Outdated Show resolved Hide resolved
src/detectors/typeChecker/FileLinter.ts Outdated Show resolved Hide resolved
src/detectors/typeChecker/FileLinter.ts Outdated Show resolved Hide resolved
src/detectors/typeChecker/FileLinter.ts Outdated Show resolved Hide resolved
@d3xter666 d3xter666 force-pushed the lib-init-settings branch 2 times, most recently from 8226873 to 9838c34 Compare March 21, 2024 07:17
src/detectors/typeChecker/FileLinter.ts Outdated Show resolved Hide resolved
src/detectors/typeChecker/FileLinter.ts Outdated Show resolved Hide resolved
src/detectors/typeChecker/FileLinter.ts Outdated Show resolved Hide resolved
src/detectors/typeChecker/FileLinter.ts Outdated Show resolved Hide resolved
@RandomByte
Copy link
Member

RandomByte commented Mar 22, 2024

I benchmarked one of the recent commits from this branch against the latest commit from the main branch that this one is based on (linting sap.m on tag 1.120.10):

Commit Mean [s] Min [s] Max [s]
d313912 (main) 31.841 ± 0.415 31.198 32.597
13abc7f 32.714 ± 0.914 31.066 34.025

Copy link
Member

@matz3 matz3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matz3 matz3 requested review from RandomByte and a team March 25, 2024 11:13
Copy link
Member

@RandomByte RandomByte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@d3xter666 d3xter666 merged commit 6d5bcdb into main Mar 25, 2024
7 checks passed
@d3xter666 d3xter666 deleted the lib-init-settings branch March 25, 2024 13:12
@openui5bot openui5bot mentioned this pull request Mar 22, 2024
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