
                               Analyzed  453 modules, 2131 functions ↓-4,879                                            
                           Total lines:  78,217 ↓-1,047,578                                                             
                       Total functions:  2131 ↓-73,833                                                                  
  Comparing against baseline: commit da445e8

Statistics (Δ vs baseline)
    Metric                              Average               Median                    P95                      P99    
    Cognitive                       5.90 ↓-0.40                 1 ±0           21.00 ↓-1.00            81.60 ↑+10.23    
    complexity                                                                                                          
    NPath complexity                          ∞             2 ↑+1.00        204.50 ↑+140.50         ∞ ↑+5,252,954.04    
                             ↓-7,377,385,279,4…                                                                         
    Data                            4.90 ↑+1.70                 0 ±0           18.00 ↑+9.00            65.00 ↑+31.00    
    Transformation                                                                                                      
    Density (DTD)                                                                                                       
    Cyclomatic                      4.30 ↓-0.50                 2 ±0           14.00 ↓-2.00             33.70 ↓-9.30    
    complexity                                                                                                          
    Maintainability               57.30 ↓-12.00        58.40 ↓-16.42           29.32 ↓-7.22             6.81 ↓-12.11    
    Index (MI)                                                                                                          
    Logic Density                  32.90 ↑+1.00         27.94 ↑+1.52           62.95 ↓-3.10                100.00 ±0    
    Index (LDI)                                                                                                         
                                                                                                                        
    Lines per module             172.70 ↓-38.40        50.00 ↑+31.00        841.80 ↑+473.80                  1775.48    
    → LOC                                                                                                 ↓-3,572.57    
    Lines per module              62.30 ↓-82.30        21.00 ↑+14.00         273.00 ↑+59.55        644.24 ↓-2,701.97    
    → LLOC                                                                                                              
    Lines per module             147.10 ↓-56.00        39.00 ↑+22.00        729.40 ↑+391.95                  1558.20    
    → SLOC                                                                                                ↓-3,680.80    


Circular import cycles:
 Runtime cycles: 0 ±0           
 Cycles with type imports: 0 ±0 
Use --show-circulars to see cycle details

Pattern violations
 Type                             Count 
 Total violations         1820 ↓-14,528 
 Any Type                   403 ↓-1,567 
 As Assertion               536 ↓-1,295 
 Double Casting                 21 ↓-68 
 Empty Interface                 13 ↓-6 
 Enum Declaration               27 ↓-30 
 Function Type                   6 ↓-22 
 Missing Readonly           145 ↓-1,774 
 Non Arrow Method           279 ↓-7,697 
 Non Null Assertion           114 ↓-450 
 Over Optional Interface        16 ↓-39 
 Private Keyword              260 ↓-185 
Use --show-bad-patterns to see the full list

Code duplication
 Type 1 (exact clones): 15 cluster(s) ↓-4,553      
 Type 2 (parametric clones): 16 cluster(s) ↓-1,867 
                                                   
   Type 1 lines: 205/78217 (0.3%) ↓-56.33          
   Type 1 functions: 31/2131 (1.5%) ↓-25.02        
                                                   
   Type 2 lines: 434/78217 (0.6%) ↓-5.15           
   Type 2 functions: 38/2131 (1.8%) ↓-8.10         
Use --show-dupes to see the full list

Dead code violations
 Total violations: 0 ±0 
Use --show-dead to see the full list

Fatness metrics
 Fat files: 44 ↓-283                       
 Fat functions: 348 ↓-5,396                
 Wide functions (>5 params): 57 ↓-1,358    
 Save the world functions (>7 calls): 0 ±0 
Use --show-fatties to see the full list
Top 10 Refactor Candidates:
 Violation                                           Location - Function Name                                           
 complexity: 351 (> 15), npath: ∞ (> 200), dtd: 272  ../../next.js/packages/next/src/server/config.ts:274 -             
 (> 15), cyclomatic: 164 (> 20), ldi: 100.00 (> 30)  assignDefaultsAndValidate                                          
 complexity: 176 (> 15), npath: ∞ (> 200), dtd: 270  ../../next.js/packages/next/src/server/app-render/create-component 
 (> 15), cyclomatic: 99 (> 20), ldi: 100.00 (> 30)   -tree.tsx:82 - createComponentTreeInternal                         
 complexity: 255 (> 15), npath: ∞ (> 200), dtd: 224  ../../next.js/packages/next/src/server/render.tsx:443 -            
 (> 15), cyclomatic: 174 (> 20)                      renderToHTMLImpl                                                   
 complexity: 422 (> 15), npath: ∞ (> 200), dtd: 289  ../../next.js/packages/next/src/server/lib/router-utils/setup-dev- 
 (> 15), mi: 0.27 (< 10)                             bundler.ts:181 - startWatcher                                      
 complexity: 205 (> 15), npath: ∞ (> 200),           ../../next.js/packages/next/src/server/base-server.ts:943 -        
 cyclomatic: 120 (> 20), ldi: 100.00 (> 30)          handleRequestImpl                                                  
 complexity: 207 (> 15), npath: ∞ (> 200), dtd: 418  ../../next.js/packages/next/src/server/dev/hot-reloader-webpack.ts 
 (> 15), mi: 3.52 (< 10)                             :872 - start                                                       
 complexity: 343 (> 15), npath: ∞ (> 200), mi: 2.26  ../../next.js/packages/next/src/server/lib/patch-fetch.ts:263 -    
 (< 10)                                              fetch                                                              
 complexity: 323 (> 15), npath: ∞ (> 200),           ../../next.js/packages/next/src/server/lib/router-utils/resolve-ro 
 cyclomatic: 111 (> 20)                              utes.ts:337 - handleRoute                                          
 complexity: 296 (> 15), npath: ∞ (> 200),           ../../next.js/packages/next/src/server/use-cache/use-cache-wrapper 
 cyclomatic: 164 (> 20)                              .ts:890 - cache                                                    
 npath: ∞ (> 200), cyclomatic: 119 (> 20), ldi:      ../../next.js/packages/next/src/server/base-server.ts:2006 -       
 100.00 (> 30)                                       renderToResponseWithComponentsImpl                                 
