apache / tomee-site-pub
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
handlebars
feature
htaccess
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.

main199399 LOC (19%) 1,333 files
test7513 LOC (<1%) 198 files
generated0 LOC (0%) 0 files
build and deployment14605 LOC (1%) 198 files
other779552 LOC (77%) 3,005 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
handlebars
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1333 files match defined criteria (199,399 LOC, 100.0% vs. main code):
    • 565 *.html files (153,679 LOC)
    • 22 *.css files (12,623 LOC)
    • 492 *.java files (11,525 LOC)
    • 35 *.js files (10,218 LOC)
    • 165 *.xml files (9,223 LOC)
    • 1 *.htm files (758 LOC)
    • 18 *.xhtml files (643 LOC)
    • 19 *.jsp files (380 LOC)
    • 3 *.pl files (136 LOC)
    • 6 *.handlebars files (119 LOC)
    • 1 *.less files (36 LOC)
    • 3 *.groovy files (26 LOC)
    • 1 *.scala files (17 LOC)
    • 1 *.sbt files (12 LOC)
    • 1 *.sql files (4 LOC)
  • " *.html" is biggest, containing 77.07% of LOC.
  • " *.sql" is smallest, containing 0% of LOC.


*.html153679 LOC (77%) 565 files
*.css12623 LOC (6%) 22 files
*.java11525 LOC (5%) 492 files
*.js10218 LOC (5%) 35 files
*.xml9223 LOC (4%) 165 files
*.htm758 LOC (<1%) 1 file
*.xhtml643 LOC (<1%) 18 files
*.jsp380 LOC (<1%) 19 files
*.pl136 LOC (<1%) 3 files
*.handlebars119 LOC (<1%) 6 files
*.less36 LOC (<1%) 1 file
*.groovy26 LOC (<1%) 3 files
*.scala17 LOC (<1%) 1 file
*.sbt12 LOC (<1%) 1 file
*.sql4 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]feature".
  • 198 files match defined criteria (7,513 LOC, 3.8% vs. main code):
    • 156 *.java files (6,490 LOC)
    • 2 *.html files (490 LOC)
    • 32 *.xml files (373 LOC)
    • 3 *.groovy files (101 LOC)
    • 1 *.scala files (32 LOC)
    • 1 *.js files (13 LOC)
    • 2 *.yml files (10 LOC)
    • 1 *.feature files (4 LOC)
  • " *.java" is biggest, containing 86.38% of LOC.
  • " *.feature" is smallest, containing 0.05% of LOC.


*.java6490 LOC (86%) 156 files
*.html490 LOC (6%) 2 files
*.xml373 LOC (4%) 32 files
*.groovy101 LOC (1%) 3 files
*.scala32 LOC (<1%) 1 file
*.js13 LOC (<1%) 1 file
*.yml10 LOC (<1%) 2 files
*.feature4 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 ".*/build[.]xml".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 198 files match defined criteria (14,605 LOC, 7.3% vs. main code):
    • 195 *.xml files (14,543 LOC)
    • 2 *.bat files (52 LOC)
    • 1 *.sh files (10 LOC)
  • " *.xml" is biggest, containing 99.58% of LOC.
  • " *.sh" is smallest, containing 0.07% of LOC.


*.xml14543 LOC (99%) 195 files
*.bat52 LOC (<1%) 2 files
*.sh10 LOC (<1%) 1 file
Other Code
txt
properties
handlebars
feature
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]htaccess".
  • 3005 files match defined criteria (779,552 LOC, 391.0% vs. main code):
    • 1,819 *.html files (733,520 LOC)
    • 657 *.java files (18,263 LOC)
    • 389 *.xml files (17,112 LOC)
    • 10 *.css files (7,449 LOC)
    • 18 *.xhtml files (644 LOC)
    • 15 *.js files (641 LOC)
    • 14 *.txt files (565 LOC)
    • 42 *.properties files (554 LOC)
    • 19 *.jsp files (380 LOC)
    • 6 *.groovy files (127 LOC)
    • 6 *.handlebars files (119 LOC)
    • 2 *.bat files (52 LOC)
    • 2 *.scala files (49 LOC)
    • 1 *.less files (36 LOC)
    • 1 *.sbt files (12 LOC)
    • 1 *.pl files (11 LOC)
    • 1 *.sh files (10 LOC)
    • 1 *.sql files (4 LOC)
    • 1 *.feature files (4 LOC)
  • " *.html" is biggest, containing 94.1% of LOC.
  • " *.feature" is smallest, containing 0% of LOC.


*.html733520 LOC (94%) 1,819 files
*.java18263 LOC (2%) 657 files
*.xml17112 LOC (2%) 389 files
*.css7449 LOC (<1%) 10 files
*.xhtml644 LOC (<1%) 18 files
*.js641 LOC (<1%) 15 files
*.txt565 LOC (<1%) 14 files
*.properties554 LOC (<1%) 42 files
*.jsp380 LOC (<1%) 19 files
*.groovy127 LOC (<1%) 6 files
*.handlebars119 LOC (<1%) 6 files
*.bat52 LOC (<1%) 2 files
*.scala49 LOC (<1%) 2 files
*.less36 LOC (<1%) 1 file
*.sbt12 LOC (<1%) 1 file
*.pl11 LOC (<1%) 1 file
*.sh10 LOC (<1%) 1 file
*.sql4 LOC (<1%) 1 file
*.feature4 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:00