Skip to content

Fixed DM_CONVERT_CASE and IntelliJ suggestions#4500

Open
shai-almog wants to merge 1 commit intomasterfrom
fixes-for-spotbugs-DM_CONVERT_CASE-issues-and-idea-warnings
Open

Fixed DM_CONVERT_CASE and IntelliJ suggestions#4500
shai-almog wants to merge 1 commit intomasterfrom
fixes-for-spotbugs-DM_CONVERT_CASE-issues-and-idea-warnings

Conversation

@shai-almog
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 7, 2026

✅ Continuous Quality Report

Test & Coverage

Static Analysis

Generated automatically by the PR CI workflow.

@shai-almog
Copy link
Collaborator Author

shai-almog commented Feb 7, 2026

Compared 30 screenshots: 30 matched.

Native Android coverage

  • 📊 Line coverage: 7.15% (3625/50707 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 5.57% (17800/319354), branch 2.71% (843/31061), complexity 3.32% (985/29686), method 5.84% (807/13824), class 9.53% (174/1825)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/712 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

✅ Native Android screenshot tests passed.

Native Android coverage

  • 📊 Line coverage: 7.15% (3625/50707 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 5.57% (17800/319354), branch 2.71% (843/31061), complexity 3.32% (985/29686), method 5.84% (807/13824), class 9.53% (174/1825)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/712 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

@shai-almog shai-almog force-pushed the fixes-for-spotbugs-DM_CONVERT_CASE-issues-and-idea-warnings branch from 57e6502 to 6f8aacf Compare February 7, 2026 08:27
@shai-almog
Copy link
Collaborator Author

shai-almog commented Feb 7, 2026

Compared 30 screenshots: 30 matched.
✅ Native Android screenshot tests passed.

Benchmark Results

  • VM Translation Time: 331 seconds
  • Compilation Time: 255 seconds

Detailed Performance Metrics

Metric Duration
Build Time Statistics
Setup & Unzip 28591 ms
Extract Extensions 13 ms
Google Services Setup 2 ms
Scan Classes 655 ms
Extract Libs 1512 ms
Inject Build Hints 45 ms
Generate Unit Tests 1 ms
Generate Stubs 1496 ms
Compile Stubs 2889 ms
Generate Icons 1266 ms
Prepare ParparVM 208 ms
ParparVM Execution 185242 ms
Post-VM Setup 222 ms
CocoaPods 5145 ms
Finalize 37 ms
Total Time 227325 msMaven Overhead : 104000 ms
CocoaPods Install (Script) 1000 ms
Simulator Boot 213000 ms
Simulator Boot (Run) 3000 ms
App Install 15000 ms
App Launch 26000 ms
Test Execution 141000 ms

@shai-almog shai-almog force-pushed the fixes-for-spotbugs-DM_CONVERT_CASE-issues-and-idea-warnings branch from 6f8aacf to 4689dfb Compare February 7, 2026 12:53
@github-actions
Copy link

github-actions bot commented Feb 7, 2026

✅ ByteCodeTranslator Quality Report

Test & Coverage

  • Tests: 146 total, 0 failed, 2 skipped

Benchmark Results

  • Execution Time: 10030 ms

  • Hotspots (Top 20 sampled methods):

    • 23.41% java.lang.String.indexOf (413 samples)
    • 17.46% com.codename1.tools.translator.Parser.isMethodUsed (308 samples)
    • 15.14% com.codename1.tools.translator.Parser.addToConstantPool (267 samples)
    • 11.34% java.util.ArrayList.indexOf (200 samples)
    • 3.85% java.lang.Object.hashCode (68 samples)
    • 3.57% com.codename1.tools.translator.ByteCodeClass.calcUsedByNative (63 samples)
    • 2.55% java.lang.System.identityHashCode (45 samples)
    • 2.21% com.codename1.tools.translator.ByteCodeClass.fillVirtualMethodTable (39 samples)
    • 1.08% com.codename1.tools.translator.BytecodeMethod.optimize (19 samples)
    • 1.08% java.lang.StringCoding$StringEncoder.encode (19 samples)
    • 1.02% sun.nio.fs.UnixNativeDispatcher.open0 (18 samples)
    • 1.02% com.codename1.tools.translator.Parser.generateClassAndMethodIndexHeader (18 samples)
    • 0.74% com.codename1.tools.translator.Parser.cullMethods (13 samples)
    • 0.68% java.lang.StringBuilder.append (12 samples)
    • 0.62% com.codename1.tools.translator.BytecodeMethod.appendCMethodPrefix (11 samples)
    • 0.62% com.codename1.tools.translator.ByteCodeClass.markDependent (11 samples)
    • 0.57% com.codename1.tools.translator.Parser.getClassByName (10 samples)
    • 0.45% com.codename1.tools.translator.bytecodes.CustomInvoke.appendExpression (8 samples)
    • 0.45% sun.nio.ch.NativeThread.current (8 samples)
    • 0.40% com.codename1.tools.translator.BytecodeMethod.addToConstantPool (7 samples)
  • ⚠️ Coverage report not generated.

Static Analysis

  • ✅ SpotBugs: no findings (report was not generated by the build).
  • ⚠️ PMD report not generated.
  • ⚠️ Checkstyle report not generated.

Generated automatically by the PR CI workflow.

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.

1 participant