openai / openai-java
Source Code Overview

Analysis scope, overview of main, test, generated, deployment, build, and other code.

Source Code Analysis Scope
Files includes and excluded from analyses
pro
properties
gitattributes
jsonl
  • 13 extensions are included in analyses: kt, java, kts, yaml, md, json, pro, properties, gitignore, gitattributes, jsonl, txt, bat
  • 1 criterion is used to exclude files from analysis:
    • exclude files with path like ".*/gradle/wrapper/.*" (Gradle) (1 file).
Overview of Analyzed Files
Basic stats on analyzed files
Intro
For analysis purposes we separate files in scope into several categories: main, test, generated, deployment and build, and other.

  • The main category contains all manually created source code files that are being used in the production.
  • Files in the main category are used as input for other analyses: logical decomposition, concerns, duplication, file size, unit size, and conditional complexity.
  • Test source code files are used only for testing of the product. These files are normally not deployed to production.
  • Build and deployment source code files are used to configure or support build and deployment process.
  • Generated source code files are automatically generated files that have not been manually changed after generation.
  • While a source code folder may contain a number of files, we are primarily interested in the source code files that are being written and maintained by developers.
  • Files containing binaries, documentation, or third-party libraries, for instance, are excluded from analysis. The exception are third-party libraries that have been changed by developers.

main7573 LOC (1%) 131 files
test7062 LOC (1%) 33 files
generated584136 LOC (96%) 2,646 files
build and deployment86 LOC (<1%) 3 files
other3488 LOC (<1%) 9 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
pro
jsonl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 131 files match defined criteria (7,573 LOC, 100.0% vs. main code):
    • 65 *.kt files (5,093 LOC)
    • 52 *.java files (1,998 LOC)
    • 12 *.kts files (454 LOC)
    • 1 *.pro files (26 LOC)
    • 1 *.jsonl files (2 LOC)
  • " *.kt" is biggest, containing 67.25% of LOC.
  • " *.jsonl" is smallest, containing 0.03% of LOC.


*.kt5093 LOC (67%) 65 files
*.java1998 LOC (26%) 52 files
*.kts454 LOC (5%) 12 files
*.pro26 LOC (<1%) 1 file
*.jsonl2 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
pro
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 33 files match defined criteria (7,062 LOC, 93.3% vs. main code):
    • 32 *.kt files (7,055 LOC)
    • 1 *.pro files (7 LOC)
  • " *.kt" is biggest, containing 99.9% of LOC.
  • " *.pro" is smallest, containing 0.1% of LOC.


*.kt7055 LOC (99%) 32 files
*.pro7 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](kts?|java|go|py|cs)" AND any line of content like "[/][/][ ]*File generated from .*".
  • 2646 files match defined criteria (584,136 LOC, 7713.4% vs. main code). All matches are in *.kt files.


*.kt584136 LOC (100%) 2,646 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
gitattributes
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/[.]gitignore".
  • 3 files match defined criteria (86 LOC, 1.1% vs. main code):
    • 1 *.bat files (73 LOC)
    • 1 *.gitignore files (8 LOC)
    • 1 *.gitattributes files (5 LOC)
  • " *.bat" is biggest, containing 84.88% of LOC.
  • " *.gitattributes" is smallest, containing 5.81% of LOC.


*.bat73 LOC (84%) 1 file
*.gitignore8 LOC (9%) 1 file
*.gitattributes5 LOC (5%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 9 files match defined criteria (3,488 LOC, 46.1% vs. main code):
    • 4 *.md files (3,349 LOC)
    • 4 *.json files (121 LOC)
    • 1 *.properties files (18 LOC)
  • " *.md" is biggest, containing 96.01% of LOC.
  • " *.properties" is smallest, containing 0.52% of LOC.


*.md3349 LOC (96%) 4 files
*.json121 LOC (3%) 4 files
*.properties18 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.
  • *.kt files are analyzed with KotlinAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • Basic heuristic dependency analysis (based on imports and package statements)
  • *.java files are analyzed with JavaAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • Advanced heuristic dependency analysis (based on package names)
  • *.kts files are analyzed with KotlinAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • Basic heuristic dependency analysis (based on imports and package statements)
  • *.pro files are analyzed with DefaultLanguageAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Basic code cleaning (empty lines removed for LOC calculations and duplication calculations)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis
  • *.jsonl files are analyzed with JsonAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis


2026-06-24 10:37