apache / commons-vfs
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
xsd
properties
policy
cgi
gitattributes
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.

main24964 LOC (49%) 400 files
test18641 LOC (36%) 226 files
generated0 LOC (0%) 0 files
build and deployment2701 LOC (5%) 13 files
other4271 LOC (8%) 95 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 ".*".
  • 400 files match defined criteria (24,964 LOC, 100.0% vs. main code):
    • 377 *.java files (22,697 LOC)
    • 22 *.xml files (2,263 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 90.92% of LOC.
  • " *.cgi" is smallest, containing 0.02% of LOC.


*.java22697 LOC (90%) 377 files
*.xml2263 LOC (9%) 22 files
*.cgi4 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
policy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/testing[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/test[-]data/.*".
    • files with paths like ".*/test[.].*".
  • 226 files match defined criteria (18,641 LOC, 74.7% vs. main code):
    • 193 *.java files (13,983 LOC)
    • 29 *.xml files (4,424 LOC)
    • 3 *.policy files (213 LOC)
    • 1 *.ts files (21 LOC)
  • " *.java" is biggest, containing 75.01% of LOC.
  • " *.ts" is smallest, containing 0.11% of LOC.


*.java13983 LOC (75%) 193 files
*.xml4424 LOC (23%) 29 files
*.policy213 LOC (1%) 3 files
*.ts21 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 ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/assembly/src[.]xml".
  • 13 files match defined criteria (2,701 LOC, 10.8% vs. main code):
    • 12 *.xml files (2,634 LOC)
    • 1 *.sh files (67 LOC)
  • " *.xml" is biggest, containing 97.52% of LOC.
  • " *.sh" is smallest, containing 2.48% of LOC.


*.xml2634 LOC (97%) 12 files
*.sh67 LOC (2%) 1 file
Other Code
txt
properties
xsd
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 ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 95 files match defined criteria (4,271 LOC, 17.1% vs. main code):
    • 4 *.xml files (2,054 LOC)
    • 71 *.txt files (1,318 LOC)
    • 7 *.properties files (444 LOC)
    • 9 *.xsd files (231 LOC)
    • 4 *.md files (224 LOC)
  • " *.xml" is biggest, containing 48.09% of LOC.
  • " *.md" is smallest, containing 5.24% of LOC.


*.xml2054 LOC (48%) 4 files
*.txt1318 LOC (30%) 71 files
*.properties444 LOC (10%) 7 files
*.xsd231 LOC (5%) 9 files
*.md224 LOC (5%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:36