apache / pdfbox
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
txt
afm
properties
asn1
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.

main150227 LOC (71%) 1,037 files
test30232 LOC (14%) 247 files
generated0 LOC (0%) 0 files
build and deployment2227 LOC (1%) 12 files
other27685 LOC (13%) 230 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
afm
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1037 files match defined criteria (150,227 LOC, 100.0% vs. main code):
    • 965 *.java files (125,701 LOC)
    • 14 *.afm files (23,620 LOC)
    • 55 *.html files (461 LOC)
    • 3 *.xml files (445 LOC)
  • " *.java" is biggest, containing 83.67% of LOC.
  • " *.xml" is smallest, containing 0.3% of LOC.


*.java125701 LOC (83%) 965 files
*.afm23620 LOC (15%) 14 files
*.html461 LOC (<1%) 55 files
*.xml445 LOC (<1%) 3 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
afm
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 247 files match defined criteria (30,232 LOC, 20.1% vs. main code):
    • 211 *.java files (26,143 LOC)
    • 4 *.afm files (3,058 LOC)
    • 22 *.xml files (782 LOC)
    • 1 *.rdf files (177 LOC)
    • 9 *.html files (72 LOC)
  • " *.java" is biggest, containing 86.47% of LOC.
  • " *.html" is smallest, containing 0.24% of LOC.


*.java26143 LOC (86%) 211 files
*.afm3058 LOC (10%) 4 files
*.xml782 LOC (2%) 22 files
*.rdf177 LOC (<1%) 1 file
*.html72 LOC (<1%) 9 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/assembly[.]xml".
  • 12 files match defined criteria (2,227 LOC, 1.5% vs. main code). All matches are in *.xml files.


*.xml2227 LOC (100%) 12 files
Other Code
txt
properties
asn1
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 230 files match defined criteria (27,685 LOC, 18.4% vs. main code):
    • 109 *.txt files (14,816 LOC)
    • 104 *.java files (12,277 LOC)
    • 4 *.xml files (215 LOC)
    • 3 *.md files (183 LOC)
    • 4 *.properties files (76 LOC)
    • 1 *.asn1 files (71 LOC)
    • 5 *.html files (47 LOC)
  • " *.txt" is biggest, containing 53.52% of LOC.
  • " *.html" is smallest, containing 0.17% of LOC.


*.txt14816 LOC (53%) 109 files
*.java12277 LOC (44%) 104 files
*.xml215 LOC (<1%) 4 files
*.md183 LOC (<1%) 3 files
*.properties76 LOC (<1%) 4 files
*.asn171 LOC (<1%) 1 file
*.html47 LOC (<1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:22