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
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.

main26374 LOC (55%) 399 files
test17387 LOC (36%) 218 files
generated0 LOC (0%) 0 files
build and deployment1997 LOC (4%) 10 files
other2008 LOC (4%) 94 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 ".*".
  • 399 files match defined criteria (26,374 LOC, 100.0% vs. main code):
    • 376 *.java files (22,498 LOC)
    • 22 *.xml files (3,872 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 85.3% of LOC.
  • " *.cgi" is smallest, containing 0.02% of LOC.


*.java22498 LOC (85%) 376 files
*.xml3872 LOC (14%) 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 ".*/[Tt]est/.*".
    • files with paths like ".*/test[-]data/.*".
    • files with paths like ".*[-]tests/.*".
  • 218 files match defined criteria (17,387 LOC, 65.9% vs. main code):
    • 186 *.java files (12,840 LOC)
    • 28 *.xml files (4,313 LOC)
    • 3 *.policy files (213 LOC)
    • 1 *.ts files (21 LOC)
  • " *.java" is biggest, containing 73.85% of LOC.
  • " *.ts" is smallest, containing 0.12% of LOC.


*.java12840 LOC (73%) 186 files
*.xml4313 LOC (24%) 28 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/build[.]xml".
  • 10 files match defined criteria (1,997 LOC, 7.6% vs. main code):
    • 9 *.xml files (1,930 LOC)
    • 1 *.sh files (67 LOC)
  • " *.xml" is biggest, containing 96.64% of LOC.
  • " *.sh" is smallest, containing 3.36% of LOC.


*.xml1930 LOC (96%) 9 files
*.sh67 LOC (3%) 1 file
Other Code
txt
properties
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 94 files match defined criteria (2,008 LOC, 7.6% vs. main code):
    • 71 *.txt files (891 LOC)
    • 7 *.properties files (443 LOC)
    • 5 *.md files (303 LOC)
    • 9 *.xsd files (231 LOC)
    • 2 *.xml files (140 LOC)
  • " *.txt" is biggest, containing 44.37% of LOC.
  • " *.xml" is smallest, containing 6.97% of LOC.


*.txt891 LOC (44%) 71 files
*.properties443 LOC (22%) 7 files
*.md303 LOC (15%) 5 files
*.xsd231 LOC (11%) 9 files
*.xml140 LOC (6%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:51