apache / ant-ivy
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
properties
xsl
xsd
prefs
slim
gitattributes
project
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.

main53327 LOC (49%) 543 files
test37126 LOC (34%) 996 files
generated0 LOC (0%) 0 files
build and deployment1240 LOC (1%) 23 files
other16255 LOC (15%) 256 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 543 files match defined criteria (53,327 LOC, 100.0% vs. main code):
    • 494 *.java files (50,416 LOC)
    • 38 *.xml files (1,225 LOC)
    • 6 *.xsl files (1,015 LOC)
    • 2 *.xsd files (347 LOC)
    • 1 *.css files (207 LOC)
    • 1 *.rdf files (77 LOC)
    • 1 *.html files (40 LOC)
  • " *.java" is biggest, containing 94.54% of LOC.
  • " *.html" is smallest, containing 0.08% of LOC.


*.java50416 LOC (94%) 494 files
*.xml1225 LOC (2%) 38 files
*.xsl1015 LOC (1%) 6 files
*.xsd347 LOC (<1%) 2 files
*.css207 LOC (<1%) 1 file
*.rdf77 LOC (<1%) 1 file
*.html40 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]ests/.*".
  • 996 files match defined criteria (37,126 LOC, 69.6% vs. main code):
    • 152 *.java files (24,768 LOC)
    • 837 *.xml files (11,362 LOC)
    • 7 *.html files (996 LOC)
  • " *.java" is biggest, containing 66.71% of LOC.
  • " *.html" is smallest, containing 2.68% of LOC.


*.java24768 LOC (66%) 152 files
*.xml11362 LOC (30%) 837 files
*.html996 LOC (2%) 7 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 ".*/[.]gitattributes".
    • files with paths like ".*/[.]gitignore".
  • 23 files match defined criteria (1,240 LOC, 2.3% vs. main code). All matches are in *.xml files.


*.xml1240 LOC (100%) 23 files
Other Code
properties
xsl
xsd
slim
txt
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 ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/checkstyle.*".
  • 256 files match defined criteria (16,255 LOC, 30.5% vs. main code):
    • 176 *.adoc files (10,486 LOC)
    • 3 *.svg files (1,140 LOC)
    • 1 *.json files (855 LOC)
    • 22 *.properties files (759 LOC)
    • 2 *.html files (704 LOC)
    • 3 *.css files (646 LOC)
    • 4 *.xsl files (604 LOC)
    • 15 *.xml files (376 LOC)
    • 1 *.xsd files (269 LOC)
    • 1 *.rb files (153 LOC)
    • 2 *.slim files (147 LOC)
    • 25 *.txt files (99 LOC)
    • 1 *.java files (17 LOC)
  • " *.adoc" is biggest, containing 64.51% of LOC.
  • " *.java" is smallest, containing 0.1% of LOC.


*.adoc10486 LOC (64%) 176 files
*.svg1140 LOC (7%) 3 files
*.json855 LOC (5%) 1 file
*.properties759 LOC (4%) 22 files
*.html704 LOC (4%) 2 files
*.css646 LOC (3%) 3 files
*.xsl604 LOC (3%) 4 files
*.xml376 LOC (2%) 15 files
*.xsd269 LOC (1%) 1 file
*.rb153 LOC (<1%) 1 file
*.slim147 LOC (<1%) 2 files
*.txt99 LOC (<1%) 25 files
*.java17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:08