apache / ant-easyant-core
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
ivy
properties
ant
project
prefs
txt
classpath
xsd
xsl
gitmodules
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.

main10392 LOC (54%) 113 files
test3132 LOC (16%) 61 files
generated0 LOC (0%) 0 files
build and deployment73 LOC (<1%) 2 files
other5602 LOC (29%) 86 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
ant
ivy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 113 files match defined criteria (10,392 LOC, 100.0% vs. main code):
    • 80 *.java files (8,603 LOC)
    • 1 *.xsl files (732 LOC)
    • 18 *.xml files (496 LOC)
    • 1 *.css files (207 LOC)
    • 1 *.ant files (181 LOC)
    • 10 *.ivy files (158 LOC)
    • 1 *.scala files (12 LOC)
    • 1 *.groovy files (3 LOC)
  • " *.java" is biggest, containing 82.78% of LOC.
  • " *.groovy" is smallest, containing 0.03% of LOC.


*.java8603 LOC (82%) 80 files
*.xsl732 LOC (7%) 1 file
*.xml496 LOC (4%) 18 files
*.css207 LOC (1%) 1 file
*.ant181 LOC (1%) 1 file
*.ivy158 LOC (1%) 10 files
*.scala12 LOC (<1%) 1 file
*.groovy3 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
ivy
ant
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 61 files match defined criteria (3,132 LOC, 30.1% vs. main code):
    • 32 *.java files (2,864 LOC)
    • 10 *.ivy files (106 LOC)
    • 9 *.xml files (80 LOC)
    • 9 *.ant files (68 LOC)
    • 1 *.scala files (14 LOC)
  • " *.java" is biggest, containing 91.44% of LOC.
  • " *.scala" is smallest, containing 0.45% of LOC.


*.java2864 LOC (91%) 32 files
*.ivy106 LOC (3%) 10 files
*.xml80 LOC (2%) 9 files
*.ant68 LOC (2%) 9 files
*.scala14 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 ".*[.]bat".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (73 LOC, 0.7% vs. main code). All matches are in *.xml files.


*.xml73 LOC (100%) 2 files
Other Code
properties
xsd
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[Mm]an/.*".
  • 86 files match defined criteria (5,602 LOC, 53.9% vs. main code):
    • 53 *.html files (4,088 LOC)
    • 7 *.java files (371 LOC)
    • 3 *.json files (352 LOC)
    • 2 *.js files (285 LOC)
    • 14 *.properties files (201 LOC)
    • 2 *.css files (192 LOC)
    • 1 *.xsd files (57 LOC)
    • 2 *.xml files (48 LOC)
    • 1 *.txt files (5 LOC)
    • 1 *.md files (3 LOC)
  • " *.html" is biggest, containing 72.97% of LOC.
  • " *.md" is smallest, containing 0.05% of LOC.


*.html4088 LOC (72%) 53 files
*.java371 LOC (6%) 7 files
*.json352 LOC (6%) 3 files
*.js285 LOC (5%) 2 files
*.properties201 LOC (3%) 14 files
*.css192 LOC (3%) 2 files
*.xsd57 LOC (1%) 1 file
*.xml48 LOC (<1%) 2 files
*.txt5 LOC (<1%) 1 file
*.md3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:16