apache / commons-weaver
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
properties
policy
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.

main5070 LOC (52%) 102 files
test1344 LOC (13%) 26 files
generated0 LOC (0%) 0 files
build and deployment2023 LOC (20%) 13 files
other1301 LOC (13%) 19 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 ".*".
  • 102 files match defined criteria (5,070 LOC, 100.0% vs. main code):
    • 90 *.java files (4,514 LOC)
    • 10 *.xml files (542 LOC)
    • 1 *.groovy files (10 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 89.03% of LOC.
  • " *.cgi" is smallest, containing 0.08% of LOC.


*.java4514 LOC (89%) 90 files
*.xml542 LOC (10%) 10 files
*.groovy10 LOC (<1%) 1 file
*.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/.*".
  • 26 files match defined criteria (1,344 LOC, 26.5% vs. main code):
    • 25 *.java files (1,295 LOC)
    • 1 *.policy files (49 LOC)
  • " *.java" is biggest, containing 96.35% of LOC.
  • " *.policy" is smallest, containing 3.65% of LOC.


*.java1295 LOC (96%) 25 files
*.policy49 LOC (3%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/build[.]xml".
  • 13 files match defined criteria (2,023 LOC, 39.9% vs. main code). All matches are in *.xml files.


*.xml2023 LOC (100%) 13 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 ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]svg".
  • 19 files match defined criteria (1,301 LOC, 25.7% vs. main code):
    • 11 *.md files (675 LOC)
    • 1 *.svg files (297 LOC)
    • 5 *.txt files (225 LOC)
    • 1 *.xml files (85 LOC)
    • 1 *.properties files (19 LOC)
  • " *.md" is biggest, containing 51.88% of LOC.
  • " *.properties" is smallest, containing 1.46% of LOC.


*.md675 LOC (51%) 11 files
*.svg297 LOC (22%) 1 file
*.txt225 LOC (17%) 5 files
*.xml85 LOC (6%) 1 file
*.properties19 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:52