apache / tomee-tck
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
properties
txt
xsd
policy
gitattributes
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.

main2786 LOC (10%) 26 files
test15716 LOC (60%) 69 files
generated0 LOC (0%) 0 files
build and deployment1109 LOC (4%) 6 files
other6328 LOC (24%) 43 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 ".*".
  • 26 files match defined criteria (2,786 LOC, 100.0% vs. main code):
    • 20 *.java files (2,609 LOC)
    • 3 *.adoc files (91 LOC)
    • 2 *.pl files (56 LOC)
    • 1 *.xml files (30 LOC)
  • " *.java" is biggest, containing 93.65% of LOC.
  • " *.xml" is smallest, containing 1.08% of LOC.


*.java2609 LOC (93%) 20 files
*.adoc91 LOC (3%) 3 files
*.pl56 LOC (2%) 2 files
*.xml30 LOC (1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
policy
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 69 files match defined criteria (15,716 LOC, 564.1% vs. main code):
    • 28 *.xml files (10,146 LOC)
    • 23 *.sql files (3,517 LOC)
    • 12 *.groovy files (1,291 LOC)
    • 2 *.policy files (559 LOC)
    • 2 *.xsd files (110 LOC)
    • 1 *.java files (71 LOC)
    • 1 *.pl files (22 LOC)
  • " *.xml" is biggest, containing 64.56% of LOC.
  • " *.pl" is smallest, containing 0.14% of LOC.


*.xml10146 LOC (64%) 28 files
*.sql3517 LOC (22%) 23 files
*.groovy1291 LOC (8%) 12 files
*.policy559 LOC (3%) 2 files
*.xsd110 LOC (<1%) 2 files
*.java71 LOC (<1%) 1 file
*.pl22 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 6 files match defined criteria (1,109 LOC, 39.8% vs. main code):
    • 1 *.xml files (973 LOC)
    • 5 *.sh files (136 LOC)
  • " *.xml" is biggest, containing 87.74% of LOC.
  • " *.sh" is smallest, containing 12.26% of LOC.


*.xml973 LOC (87%) 1 file
*.sh136 LOC (12%) 5 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 43 files match defined criteria (6,328 LOC, 227.1% vs. main code):
    • 40 *.properties files (6,062 LOC)
    • 1 *.adoc files (225 LOC)
    • 2 *.txt files (41 LOC)
  • " *.properties" is biggest, containing 95.8% of LOC.
  • " *.txt" is smallest, containing 0.65% of LOC.


*.properties6062 LOC (95%) 40 files
*.adoc225 LOC (3%) 1 file
*.txt41 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:03