Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Swift projects results #21181

Unanswered
vrusev322 asked this question in Q&A
Discussion options

Hello, a question please, about code scanning results of 2 projects. We have two very similar projects, which are built and scanned in a GitHub workflow, like so (whether in a separate or single task):

xcodebuild -scheme project1 -project project1.xcodeproj -sdk iphonesimulator build CODE_SIGNING_ALLOWED=NO
xcodebuild -scheme project2 -project project2.xcodeproj -sdk iphonesimulator build CODE_SIGNING_ALLOWED=NO

Then github/codeql-action/analyze@v4 runs the code scan (tried after each separate build step, or once after both xcodebuild commands executed in a single task). The results are very similar, especially:

Number of extracted AST nodes | 308400 <------------ this part shows up for both projects in the analysis step

But Analyze step shows this information for only one of the projects:

CodeQL scanned 32 out of 278 Swift files in this invocation. Check the status page for overall coverage information

And in GitHub, number of files scanned shows up here: security/code-scanning/tools/CodeQL/status

Does this mean that Analyze step without "files" message did not actually scan Swift code, or that it's a separate scan of "physical" files outside of build output? Also if there's any advice on .xcodeproj settings, that would allow CodeQL scan process to analyze all files, please.

Thanks in advance

Vlad

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /