apache / openoffice-devtools
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
properties
txt
mk
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.

main249802 LOC (66%) 2,398 files
test44825 LOC (11%) 445 files
generated0 LOC (0%) 0 files
build and deployment7376 LOC (1%) 112 files
other75296 LOC (19%) 1,444 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2398 files match defined criteria (249,802 LOC, 100.0% vs. main code):
    • 1,834 *.java files (229,748 LOC)
    • 201 *.xml files (11,480 LOC)
    • 22 *.cxx files (4,086 LOC)
    • 304 *.html files (2,327 LOC)
    • 21 *.hxx files (808 LOC)
    • 7 *.groovy files (712 LOC)
    • 8 *.py files (597 LOC)
    • 1 *.pl files (44 LOC)
  • " *.java" is biggest, containing 91.97% of LOC.
  • " *.pl" is smallest, containing 0.02% of LOC.


*.java229748 LOC (91%) 1,834 files
*.xml11480 LOC (4%) 201 files
*.cxx4086 LOC (1%) 22 files
*.html2327 LOC (<1%) 304 files
*.hxx808 LOC (<1%) 21 files
*.groovy712 LOC (<1%) 7 files
*.py597 LOC (<1%) 8 files
*.pl44 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
  • 445 files match defined criteria (44,825 LOC, 17.9% vs. main code):
    • 400 *.java files (43,877 LOC)
    • 4 *.groovy files (560 LOC)
    • 40 *.xml files (384 LOC)
    • 1 *.c files (4 LOC)
  • " *.java" is biggest, containing 97.89% of LOC.
  • " *.c" is smallest, containing 0.01% of LOC.


*.java43877 LOC (97%) 400 files
*.groovy560 LOC (1%) 4 files
*.xml384 LOC (<1%) 40 files
*.c4 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
mk
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]mk".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/build[.]xml".
  • 112 files match defined criteria (7,376 LOC, 3.0% vs. main code):
    • 79 *.sh files (6,718 LOC)
    • 4 *.gradle files (236 LOC)
    • 24 *.xml files (216 LOC)
    • 4 *.mk files (140 LOC)
    • 1 *.bat files (66 LOC)
  • " *.sh" is biggest, containing 91.08% of LOC.
  • " *.bat" is smallest, containing 0.89% of LOC.


*.sh6718 LOC (91%) 79 files
*.gradle236 LOC (3%) 4 files
*.xml216 LOC (2%) 24 files
*.mk140 LOC (1%) 4 files
*.bat66 LOC (<1%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
  • 1444 files match defined criteria (75,296 LOC, 30.1% vs. main code):
    • 1,016 *.properties files (42,153 LOC)
    • 358 *.svg files (29,602 LOC)
    • 64 *.txt files (3,388 LOC)
    • 6 *.md files (153 LOC)
  • " *.properties" is biggest, containing 55.98% of LOC.
  • " *.md" is smallest, containing 0.2% of LOC.


*.properties42153 LOC (55%) 1,016 files
*.svg29602 LOC (39%) 358 files
*.txt3388 LOC (4%) 64 files
*.md153 LOC (<1%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 21:08