Skip to content

Support dex as a binary input type#297

Merged
mateuszkwiecinski merged 4 commits intomasterfrom
updates
Mar 4, 2024
Merged

Support dex as a binary input type#297
mateuszkwiecinski merged 4 commits intomasterfrom
updates

Conversation

@mateuszkwiecinski
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented Mar 4, 2024

Jar size:

Jar size change: +3.4KiB (4.0MiB -> 4.0MiB)

Diffuse output:

OLD: diffuse-source-file
NEW: diffuse-unspecified-r8.jar

       │          compressed          │         uncompressed         
       ├─────────┬─────────┬──────────┼─────────┬─────────┬──────────
 JAR   │ old     │ new     │ diff     │ old     │ new     │ diff     
───────┼─────────┼─────────┼──────────┼─────────┼─────────┼──────────
 class │ 2.4 MiB │ 2.4 MiB │ +3.3 KiB │ 4.1 MiB │ 4.1 MiB │ +5.8 KiB 
 other │ 1.6 MiB │ 1.6 MiB │      0 B │   5 MiB │   5 MiB │      0 B 
───────┼─────────┼─────────┼──────────┼─────────┼─────────┼──────────
 total │   4 MiB │   4 MiB │ +3.3 KiB │ 9.1 MiB │ 9.1 MiB │ +5.8 KiB 

 CLASSES │ old  │ new  │ diff         
─────────┼──────┼──────┼──────────────
 classes │ 1834 │ 1837 │  +3 (+3 -0)  
 methods │ 9987 │ 9998 │ +11 (+12 -1) 
  fields │ 4272 │ 4278 │  +6 (+6 -0)
JAR
     compressed      │    uncompressed     │                                                                                 
──────────┬──────────┼──────────┬──────────┤                                                                                 
 size     │ diff     │ size     │ diff     │ path                                                                            
──────────┼──────────┼──────────┼──────────┼─────────────────────────────────────────────────────────────────────────────────
  1.4 KiB │ +1.4 KiB │  2.3 KiB │ +2.3 KiB │ + com/jakewharton/diffuse/report/text/DexDiffTextReport.class                   
    973 B │   +973 B │  1.4 KiB │ +1.4 KiB │ + com/jakewharton/diffuse/report/text/DexInfoTextReport.class                   
    643 B │   +643 B │    758 B │   +758 B │ + com/jakewharton/diffuse/info/DexInfo.class                                    
  1.8 KiB │   +183 B │  3.9 KiB │   +510 B │ ∆ com/jakewharton/diffuse/diff/DexDiff.class                                    
  2.6 KiB │   +154 B │  6.6 KiB │   +617 B │ ∆ com/jakewharton/diffuse/DiffCommand.class                                     
    2 KiB │    +40 B │  3.4 KiB │   +106 B │ ∆ com/jakewharton/diffuse/format/Dex_Companion.class                            
  1.5 KiB │    +39 B │  2.7 KiB │    +72 B │ ∆ com/jakewharton/diffuse/format/Dex.class                                      
    1 KiB │     -9 B │  1.7 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_2.class               
  2.2 KiB │     -6 B │  5.3 KiB │   +141 B │ ∆ com/jakewharton/diffuse/InfoCommand.class                                     
  1.2 KiB │     +5 B │  1.8 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_2_2.class             
  5.3 KiB │     -3 B │ 12.2 KiB │      0 B │ ∆ com/jakewharton/diffuse/MembersCommand.class                                  
  1.8 KiB │     +3 B │  3.4 KiB │    +14 B │ ∆ com/jakewharton/diffuse/diff/ComponentDiffKt.class                            
    858 B │     +3 B │  1.1 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt.class                                  
  6.1 KiB │     -2 B │ 14.9 KiB │      0 B │ ∆ com/jakewharton/diffuse/Diffuse.class                                         
  2.2 KiB │     +2 B │  4.8 KiB │      0 B │ ∆ com/jakewharton/diffuse/OutputOptions.class                                   
    943 B │     -2 B │  1.2 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiff_declaredMethods_1.class                  
    906 B │     -2 B │  1.1 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiff_methods_1.class                          
    896 B │     -2 B │  1.2 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_1.class               
    826 B │     -2 B │  1.1 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1.class                 
    692 B │     +1 B │    783 B │      0 B │ ∆ com/jakewharton/diffuse/OutputOptions_write_htmlReport_2.class                
    690 B │     -1 B │    783 B │      0 B │ ∆ com/jakewharton/diffuse/OutputOptions_write_textReport_2.class                
    720 B │     -1 B │    804 B │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiff_classes_1.class                          
    902 B │     -1 B │  1.1 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiff_fields_1.class                           
    951 B │     +1 B │  1.2 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiff_referencedMethods_1.class                
    903 B │     -1 B │  1.1 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_1_1_1.class           
    910 B │     +1 B │  1.1 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_1_1_3.class           
    895 B │     -1 B │  1.4 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_1_1.class             
    994 B │     -1 B │  1.4 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_1_2.class             
    842 B │     -1 B │    1 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_2_1.class             
    1 KiB │     -1 B │  1.3 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_2_addDexRow_1_2.class 
  1.5 KiB │     -1 B │  2.8 KiB │      0 B │ ∆ com/jakewharton/diffuse/diff/DexDiffKt_toSummaryTable_1_2_addDexRow_1.class   
  1.2 KiB │     +1 B │  1.8 KiB │      0 B │ ∆ com/jakewharton/diffuse/format/Dex_Companio
...✂
CLASSES
CLASSES:

   old  │ new  │ diff       
  ──────┼──────┼────────────
   1834 │ 1837 │ +3 (+3 -0) 
  + com.jakewharton.diffuse.info.DexInfo
  + com.jakewharton.diffuse.report.text.DexDiffTextReport
  + com.jakewharton.diffuse.report.text.DexInfoTextReport
  

METHODS:

   old  │ new  │ diff         
  ──────┼──────┼──────────────
   9987 │ 9998 │ +11 (+12 -1) 
  + com.jakewharton.diffuse.diff.DexDiff getNewDexes() → ArrayList
  + com.jakewharton.diffuse.diff.DexDiff getOldDexes() → ArrayList
  + com.jakewharton.diffuse.diff.DexDiff toHtmlReport() → Report
  + com.jakewharton.diffuse.diff.DexDiff toTextReport() → Report
  + com.jakewharton.diffuse.format.Dex <init>(String, List, List, ArrayList, ArrayList, ArrayList)
  + com.jakewharton.diffuse.info.DexInfo <init>(Dex)
  + com.jakewharton.diffuse.info.DexInfo toHtmlReport() → Report
  + com.jakewharton.diffuse.info.DexInfo toTextReport() → Report
  + com.jakewharton.diffuse.report.text.DexDiffTextReport <init>(DexDiff)
  + com.jakewharton.diffuse.report.text.DexDiffTextReport toString() → String
  + com.jakewharton.diffuse.report.text.DexInfoTextReport <init>(Dex)
  + com.jakewharton.diffuse.report.text.DexInfoTextReport toString() → String
  
  - com.jakewharton.diffuse.format.Dex <init>(List, List, ArrayList, ArrayList, ArrayList)
  

FIELDS:

   old  │ new  │ diff       
  ──────┼──────┼────────────
   4272 │ 4278 │ +6 (+6 -0) 
  + com.jakewharton.diffuse.format.Dex filename: String
  + com.jakewharton.diffuse.info.DexInfo dex: Dex
  + com.jakewharton.diffuse.report.text.DexDiffTextReport dexDiff: DexDiff
  + com.jakewharton.diffuse.report.text.DexDiffTextReport newDex: Dex
  + com.jakewharton.diffuse.report.text.DexDiffTextReport oldDex: Dex
  + com.jakewharton.diffuse.report.text.DexInfoTextReport dex: Dex

@mateuszkwiecinski mateuszkwiecinski merged commit 0639de8 into master Mar 4, 2024
@mateuszkwiecinski mateuszkwiecinski deleted the updates branch March 4, 2024 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants