apache / ant-ivyde
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
project
classpath
properties
prefs
txt
slim
xsl
launch
xsd
ini
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.

main19673 LOC (78%) 242 files
test1969 LOC (7%) 157 files
generated0 LOC (0%) 0 files
build and deployment597 LOC (2%) 4 files
other2760 LOC (11%) 26 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 242 files match defined criteria (19,673 LOC, 100.0% vs. main code):
    • 193 *.java files (16,832 LOC)
    • 31 *.adoc files (1,395 LOC)
    • 13 *.xml files (787 LOC)
    • 1 *.css files (291 LOC)
    • 1 *.xsd files (269 LOC)
    • 1 *.rdf files (70 LOC)
    • 1 *.html files (26 LOC)
    • 1 *.js files (3 LOC)
  • " *.java" is biggest, containing 85.56% of LOC.
  • " *.js" is smallest, containing 0.02% of LOC.


*.java16832 LOC (85%) 193 files
*.adoc1395 LOC (7%) 31 files
*.xml787 LOC (4%) 13 files
*.css291 LOC (1%) 1 file
*.xsd269 LOC (1%) 1 file
*.rdf70 LOC (<1%) 1 file
*.html26 LOC (<1%) 1 file
*.js3 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
launch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 157 files match defined criteria (1,969 LOC, 10.0% vs. main code):
    • 139 *.xml files (1,692 LOC)
    • 16 *.java files (245 LOC)
    • 1 *.launch files (17 LOC)
    • 1 *.jsp files (15 LOC)
  • " *.xml" is biggest, containing 85.93% of LOC.
  • " *.jsp" is smallest, containing 0.76% of LOC.


*.xml1692 LOC (85%) 139 files
*.java245 LOC (12%) 16 files
*.launch17 LOC (<1%) 1 file
*.jsp15 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 4 files match defined criteria (597 LOC, 3.0% vs. main code):
    • 1 *.xml files (574 LOC)
    • 1 *.bat files (18 LOC)
    • 2 *.sh files (5 LOC)
  • " *.xml" is biggest, containing 96.15% of LOC.
  • " *.sh" is smallest, containing 0.84% of LOC.


*.xml574 LOC (96%) 1 file
*.bat18 LOC (3%) 1 file
*.sh5 LOC (<1%) 2 files
Other Code
properties
xsl
txt
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/checkstyle.*".
  • 26 files match defined criteria (2,760 LOC, 14.0% vs. main code):
    • 14 *.properties files (1,145 LOC)
    • 1 *.svg files (949 LOC)
    • 3 *.xsl files (350 LOC)
    • 1 *.json files (206 LOC)
    • 3 *.txt files (38 LOC)
    • 1 *.ini files (34 LOC)
    • 1 *.java files (17 LOC)
    • 1 *.adoc files (14 LOC)
    • 1 *.xml files (7 LOC)
  • " *.properties" is biggest, containing 41.49% of LOC.
  • " *.xml" is smallest, containing 0.25% of LOC.


*.properties1145 LOC (41%) 14 files
*.svg949 LOC (34%) 1 file
*.xsl350 LOC (12%) 3 files
*.json206 LOC (7%) 1 file
*.txt38 LOC (1%) 3 files
*.ini34 LOC (1%) 1 file
*.java17 LOC (<1%) 1 file
*.adoc14 LOC (<1%) 1 file
*.xml7 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:08