apache / maven-integration-testing
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
gitattributes
txt
properties
patch
wsdl
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.

main8375 LOC (8%) 251 files
test86751 LOC (86%) 2,890 files
generated0 LOC (0%) 0 files
build and deployment4026 LOC (3%) 84 files
other1529 LOC (1%) 66 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 251 files match defined criteria (8,375 LOC, 100.0% vs. main code):
    • 168 *.java files (7,015 LOC)
    • 83 *.xml files (1,360 LOC)
  • " *.java" is biggest, containing 83.76% of LOC.
  • " *.xml" is smallest, containing 16.24% of LOC.


*.java7015 LOC (83%) 168 files
*.xml1360 LOC (16%) 83 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 2890 files match defined criteria (86,751 LOC, 1035.8% vs. main code):
    • 1,971 *.xml files (55,015 LOC)
    • 915 *.java files (31,712 LOC)
    • 2 *.sh files (15 LOC)
    • 1 *.jsp files (5 LOC)
    • 1 *.wsdl files (4 LOC)
  • " *.xml" is biggest, containing 63.42% of LOC.
  • " *.wsdl" is smallest, containing 0% of LOC.


*.xml55015 LOC (63%) 1,971 files
*.java31712 LOC (36%) 915 files
*.sh15 LOC (<1%) 2 files
*.jsp5 LOC (<1%) 1 file
*.wsdl4 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 84 files match defined criteria (4,026 LOC, 48.1% vs. main code):
    • 82 *.xml files (4,003 LOC)
    • 1 *.bat files (22 LOC)
    • 1 *.sh files (1 LOC)
  • " *.xml" is biggest, containing 99.43% of LOC.
  • " *.sh" is smallest, containing 0.02% of LOC.


*.xml4003 LOC (99%) 82 files
*.bat22 LOC (<1%) 1 file
*.sh1 LOC (<1%) 1 file
Other Code
txt
patch
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/checkstyle.*".
  • 66 files match defined criteria (1,529 LOC, 18.3% vs. main code):
    • 35 *.txt files (1,012 LOC)
    • 8 *.xml files (348 LOC)
    • 2 *.md files (72 LOC)
    • 4 *.patch files (60 LOC)
    • 14 *.properties files (21 LOC)
    • 3 *.java files (16 LOC)
  • " *.txt" is biggest, containing 66.19% of LOC.
  • " *.java" is smallest, containing 1.05% of LOC.


*.txt1012 LOC (66%) 35 files
*.xml348 LOC (22%) 8 files
*.md72 LOC (4%) 2 files
*.patch60 LOC (3%) 4 files
*.properties21 LOC (1%) 14 files
*.java16 LOC (1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:01