Visitar URL original
Java: Replace Commons IO model by bmuskalla · Pull Request #7603 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20260110094603/https://github.com/github/codeql/pull/7603
Skip to content

Conversation

@bmuskalla
Copy link
Contributor

@bmuskalla bmuskalla commented Jan 14, 2022 •

Replace the manual model with a generated model.
We keep some manual models that cannot be auto-generated today but will likely be replaced by future iterations on the model generator.

@bmuskalla bmuskalla added the Java label Jan 14, 2022
@github-actions
Copy link
Contributor

⚠️ The head of this PR and the base branch were compared for differences in the framework coverage reports. The generated reports are available in the artifacts of this workflow run. The differences will be picked up by the nightly job after the PR gets merged.

Click to show differences in coverage

java

Generated file changes for java

  • Changes to framework-coverage-java.rst:
-    `Apache Commons IO <https://commons.apache.org/proper/commons-io/>`_,``org.apache.commons.io``,,22,,,,,,,,
+    `Apache Commons IO <https://commons.apache.org/proper/commons-io/>`_,``org.apache.commons.io``,1,558,93,78,,,,,,15
-    Java Standard Library,``java.*``,3,529,72,13,,,7,,,10
+    Java Standard Library,``java.*``,3,531,72,13,,,7,,,10
-    Totals,,180,5646,1276,13,6,10,107,33,1,66
+    Totals,,181,6184,1369,91,6,10,107,33,1,81
  • Changes to framework-coverage-java.csv:
- java.io,3,,31,,3,,,,,,,,,,,,,,,,,,,,,30,1
+ java.io,3,,30,,3,,,,,,,,,,,,,,,,,,,,,30,
- java.lang,8,,56,,,,,,,,,,8,,,,,,,,,,,,,45,11
+ java.lang,8,,58,,,,,,,,,,8,,,,,,,,,,,,,47,11
- java.nio,10,,4,,10,,,,,,,,,,,,,,,,,,,,,4,
+ java.nio,10,,5,,10,,,,,,,,,,,,,,,,,,,,,5,
- org.apache.commons.io,,,22,,,,,,,,,,,,,,,,,,,,,,,22,
+ org.apache.commons.io,93,1,558,,78,,,,,,,,,,,15,,,,,,,,,1,544,14

@github-actions
Copy link
Contributor

⚠️ The head of this PR and the base branch were compared for differences in the framework coverage reports. The generated reports are available in the artifacts of this workflow run. The differences will be picked up by the nightly job after the PR gets merged.

Click to show differences in coverage

java

Generated file changes for java

  • Changes to framework-coverage-java.rst:
-    `Apache Commons IO <https://commons.apache.org/proper/commons-io/>`_,``org.apache.commons.io``,,22,,,,,,,,
+    `Apache Commons IO <https://commons.apache.org/proper/commons-io/>`_,``org.apache.commons.io``,2,565,93,78,,,,,,15
-    Java Standard Library,``java.*``,3,529,72,13,,,7,,,10
+    Java Standard Library,``java.*``,3,532,72,13,,,7,,,10
-    Totals,,180,5646,1276,13,6,10,107,33,1,66
+    Totals,,182,6192,1369,91,6,10,107,33,1,81
  • Changes to framework-coverage-java.csv:
- java.io,3,,31,,3,,,,,,,,,,,,,,,,,,,,,30,1
+ java.io,3,,31,,3,,,,,,,,,,,,,,,,,,,,,31,
- java.lang,8,,56,,,,,,,,,,8,,,,,,,,,,,,,45,11
+ java.lang,8,,58,,,,,,,,,,8,,,,,,,,,,,,,47,11
- java.nio,10,,4,,10,,,,,,,,,,,,,,,,,,,,,4,
+ java.nio,10,,5,,10,,,,,,,,,,,,,,,,,,,,,5,
- org.apache.commons.io,,,22,,,,,,,,,,,,,,,,,,,,,,,22,
+ org.apache.commons.io,93,2,565,,78,,,,,,,,,,,15,,,,,,,,,2,551,14

@github-actions
Copy link
Contributor

⚠️ The head of this PR and the base branch were compared for differences in the framework coverage reports. The generated reports are available in the artifacts of this workflow run. The differences will be picked up by the nightly job after the PR gets merged.

Click to show differences in coverage

java

Generated file changes for java

  • Changes to framework-coverage-java.rst:
-    `Apache Commons IO <https://commons.apache.org/proper/commons-io/>`_,``org.apache.commons.io``,,22,,,,,,,,
+    `Apache Commons IO <https://commons.apache.org/proper/commons-io/>`_,``org.apache.commons.io``,2,565,93,78,,,,,,15
-    Totals,,180,5650,1315,28,6,10,107,33,1,66
+    Totals,,182,6193,1408,106,6,10,107,33,1,81
  • Changes to framework-coverage-java.csv:
- org.apache.commons.io,,,22,,,,,,,,,,,,,,,,,,,,,,,,22,
+ org.apache.commons.io,93,2,565,,78,,,,,,,,,,,15,,,,,,,,,,2,551,14

@bmuskalla bmuskalla marked this pull request as ready for review January 19, 2022 16:10
@bmuskalla bmuskalla requested a review from a team as a code owner January 19, 2022 16:10
@atorralba
Copy link
Contributor

Should this follow the same naming convention as #7634? i.e. IO.qll -> IOGenerated.qll and IOCustom.qll -> IO.qll.

@bmuskalla
Copy link
Contributor Author

Should this follow the same naming convention as #7634? i.e. IO.qll -> IOGenerated.qll and IOCustom.qll -> IO.qll.

Indeed. Thanks for catching this, renamed

@github-actions
Copy link
Contributor

⚠️ The head of this PR and the base branch were compared for differences in the framework coverage reports. The generated reports are available in the artifacts of this workflow run. The differences will be picked up by the nightly job after the PR gets merged.

Click to show differences in coverage

java

Generated file changes for java

  • Changes to framework-coverage-java.rst:
-    `Apache Commons IO <https://commons.apache.org/proper/commons-io/>`_,``org.apache.commons.io``,,22,,,,,,,,
+    `Apache Commons IO <https://commons.apache.org/proper/commons-io/>`_,``org.apache.commons.io``,2,565,93,78,,,,,,15
-    Totals,,180,5669,1326,28,6,10,107,33,1,66
+    Totals,,182,6212,1419,106,6,10,107,33,1,81
  • Changes to framework-coverage-java.csv:
- org.apache.commons.io,,,22,,,,,,,,,,,,,,,,,,,,,,,,,22,
+ org.apache.commons.io,93,2,565,,78,,,,,,,,,,,15,,,,,,,,,,,2,551,14

@bmuskalla bmuskalla merged commit 830c2dc into github:main Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants