apache / ant-easyant-plugins
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
ant
properties
xsl
tpl
project
txt
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.

main3466 LOC (57%) 88 files
test2004 LOC (33%) 81 files
generated0 LOC (0%) 0 files
build and deployment50 LOC (<1%) 1 file
other474 LOC (7%) 7 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
ant
ivy
xsl
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 88 files match defined criteria (3,466 LOC, 100.0% vs. main code):
    • 41 *.ant files (2,228 LOC)
    • 43 *.ivy files (918 LOC)
    • 1 *.xsl files (269 LOC)
    • 2 *.tpl files (37 LOC)
    • 1 *.xml files (14 LOC)
  • " *.ant" is biggest, containing 64.28% of LOC.
  • " *.xml" is smallest, containing 0.4% of LOC.


*.ant2228 LOC (64%) 41 files
*.ivy918 LOC (26%) 43 files
*.xsl269 LOC (7%) 1 file
*.tpl37 LOC (1%) 2 files
*.xml14 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[-]test[-].*".
  • 81 files match defined criteria (2,004 LOC, 57.8% vs. main code):
    • 37 *.xml files (1,423 LOC)
    • 22 *.ivy files (212 LOC)
    • 4 *.ant files (152 LOC)
    • 11 *.java files (141 LOC)
    • 4 *.groovy files (58 LOC)
    • 3 *.scala files (18 LOC)
  • " *.xml" is biggest, containing 71.01% of LOC.
  • " *.scala" is smallest, containing 0.9% of LOC.


*.xml1423 LOC (71%) 37 files
*.ivy212 LOC (10%) 22 files
*.ant152 LOC (7%) 4 files
*.java141 LOC (7%) 11 files
*.groovy58 LOC (2%) 4 files
*.scala18 LOC (<1%) 3 files
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".
  • 1 file matches defined criteria (50 LOC, 1.4% vs. main code). All matches are in *.xml files.


*.xml50 LOC (100%) 1 file
Other Code
xsl
ant
properties
ivy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 7 files match defined criteria (474 LOC, 13.7% vs. main code):
    • 1 *.xsl files (177 LOC)
    • 1 *.css files (134 LOC)
    • 1 *.ant files (69 LOC)
    • 3 *.properties files (54 LOC)
    • 1 *.ivy files (40 LOC)
  • " *.xsl" is biggest, containing 37.34% of LOC.
  • " *.ivy" is smallest, containing 8.44% of LOC.


*.xsl177 LOC (37%) 1 file
*.css134 LOC (28%) 1 file
*.ant69 LOC (14%) 1 file
*.properties54 LOC (11%) 3 files
*.ivy40 LOC (8%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:16