apache / commons-compress
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
cgi
gitattributes
properties
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.

main46907 LOC (56%) 419 files
test30022 LOC (35%) 231 files
generated0 LOC (0%) 0 files
build and deployment669 LOC (<1%) 2 files
other6129 LOC (7%) 31 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 419 files match defined criteria (46,907 LOC, 100.0% vs. main code):
    • 403 *.java files (43,826 LOC)
    • 15 *.xml files (3,063 LOC)
    • 1 *.cgi files (18 LOC)
  • " *.java" is biggest, containing 93.43% of LOC.
  • " *.cgi" is smallest, containing 0.04% of LOC.


*.java43826 LOC (93%) 403 files
*.xml3063 LOC (6%) 15 files
*.cgi18 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[.].*".
  • 231 files match defined criteria (30,022 LOC, 64.0% vs. main code):
    • 226 *.java files (29,992 LOC)
    • 4 *.xml files (25 LOC)
    • 1 *.sh files (5 LOC)
  • " *.java" is biggest, containing 99.9% of LOC.
  • " *.sh" is smallest, containing 0.02% of LOC.


*.java29992 LOC (99%) 226 files
*.xml25 LOC (<1%) 4 files
*.sh5 LOC (<1%) 1 file
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 ".*/assembly/src[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 2 files match defined criteria (669 LOC, 1.4% vs. main code). All matches are in *.xml files.


*.xml669 LOC (100%) 2 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 31 files match defined criteria (6,129 LOC, 13.1% vs. main code):
    • 3 *.xml files (2,550 LOC)
    • 11 *.txt files (2,296 LOC)
    • 9 *.java files (940 LOC)
    • 7 *.md files (287 LOC)
    • 1 *.properties files (56 LOC)
  • " *.xml" is biggest, containing 41.61% of LOC.
  • " *.properties" is smallest, containing 0.91% of LOC.


*.xml2550 LOC (41%) 3 files
*.txt2296 LOC (37%) 11 files
*.java940 LOC (15%) 9 files
*.md287 LOC (4%) 7 files
*.properties56 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:26