apache / ant
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
xsl
txt
gitattributes
cmd
xsd
wxs
desktop
in
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.

main186981 LOC (77%) 1,518 files
test47063 LOC (19%) 571 files
generated0 LOC (0%) 0 files
build and deployment6613 LOC (2%) 62 files
other1938 LOC (<1%) 75 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
wxs
cmd
xsd
desktop
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1518 files match defined criteria (186,981 LOC, 100.0% vs. main code):
    • 966 *.java files (114,523 LOC)
    • 231 *.html files (47,430 LOC)
    • 261 *.xml files (17,967 LOC)
    • 31 *.xsl files (4,274 LOC)
    • 4 *.g files (1,340 LOC)
    • 2 *.wxs files (517 LOC)
    • 4 *.cmd files (320 LOC)
    • 1 *.css files (196 LOC)
    • 3 *.pl files (135 LOC)
    • 1 *.js files (65 LOC)
    • 1 *.py files (53 LOC)
    • 6 *.jsp files (52 LOC)
    • 2 *.xsd files (43 LOC)
    • 1 *.yaml files (36 LOC)
    • 1 *.desktop files (21 LOC)
    • 3 *.inc files (9 LOC)
  • " *.java" is biggest, containing 61.25% of LOC.
  • " *.inc" is smallest, containing 0% of LOC.


*.java114523 LOC (61%) 966 files
*.html47430 LOC (25%) 231 files
*.xml17967 LOC (9%) 261 files
*.xsl4274 LOC (2%) 31 files
*.g1340 LOC (<1%) 4 files
*.wxs517 LOC (<1%) 2 files
*.cmd320 LOC (<1%) 4 files
*.css196 LOC (<1%) 1 file
*.pl135 LOC (<1%) 3 files
*.js65 LOC (<1%) 1 file
*.py53 LOC (<1%) 1 file
*.jsp52 LOC (<1%) 6 files
*.xsd43 LOC (<1%) 2 files
*.yaml36 LOC (<1%) 1 file
*.desktop21 LOC (<1%) 1 file
*.inc9 LOC (<1%) 3 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsl
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
  • 571 files match defined criteria (47,063 LOC, 25.2% vs. main code):
    • 365 *.java files (32,330 LOC)
    • 200 *.xml files (14,147 LOC)
    • 4 *.xsl files (578 LOC)
    • 1 *.sh files (5 LOC)
    • 1 *.in files (3 LOC)
  • " *.java" is biggest, containing 68.7% of LOC.
  • " *.in" is smallest, containing 0.01% of LOC.


*.java32330 LOC (68%) 365 files
*.xml14147 LOC (30%) 200 files
*.xsl578 LOC (1%) 4 files
*.sh5 LOC (<1%) 1 file
*.in3 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 ".*/build[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/[.]gitignore".
  • 62 files match defined criteria (6,613 LOC, 3.5% vs. main code):
    • 48 *.xml files (5,939 LOC)
    • 5 *.bat files (390 LOC)
    • 9 *.sh files (284 LOC)
  • " *.xml" is biggest, containing 89.81% of LOC.
  • " *.sh" is smallest, containing 4.29% of LOC.


*.xml5939 LOC (89%) 48 files
*.bat390 LOC (5%) 5 files
*.sh284 LOC (4%) 9 files
Other Code
properties
xsl
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
  • 75 files match defined criteria (1,938 LOC, 1.0% vs. main code):
    • 42 *.properties files (1,096 LOC)
    • 4 *.xsl files (622 LOC)
    • 27 *.txt files (164 LOC)
    • 2 *.md files (56 LOC)
  • " *.properties" is biggest, containing 56.55% of LOC.
  • " *.md" is smallest, containing 2.89% of LOC.


*.properties1096 LOC (56%) 42 files
*.xsl622 LOC (32%) 4 files
*.txt164 LOC (8%) 27 files
*.md56 LOC (2%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:42