apache / tomee-site
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
gsp
txt
handlebars
haml
htaccess
cgi
feature
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.

main60406 LOC (12%) 205 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment193 LOC (<1%) 3 files
other411985 LOC (87%) 2,288 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
gsp
haml
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 205 files match defined criteria (60,406 LOC, 100.0% vs. main code):
    • 80 *.html files (29,131 LOC)
    • 27 *.js files (13,313 LOC)
    • 19 *.css files (6,729 LOC)
    • 2 *.xml files (4,133 LOC)
    • 44 *.adoc files (4,003 LOC)
    • 7 *.java files (1,109 LOC)
    • 1 *.htm files (758 LOC)
    • 13 *.gsp files (606 LOC)
    • 3 *.pm files (370 LOC)
    • 2 *.pl files (125 LOC)
    • 5 *.haml files (89 LOC)
    • 1 *.cgi files (31 LOC)
    • 1 *.asciidoc files (9 LOC)
  • " *.html" is biggest, containing 48.23% of LOC.
  • " *.asciidoc" is smallest, containing 0.01% of LOC.


*.html29131 LOC (48%) 80 files
*.js13313 LOC (22%) 27 files
*.css6729 LOC (11%) 19 files
*.xml4133 LOC (6%) 2 files
*.adoc4003 LOC (6%) 44 files
*.java1109 LOC (1%) 7 files
*.htm758 LOC (1%) 1 file
*.gsp606 LOC (1%) 13 files
*.pm370 LOC (<1%) 3 files
*.pl125 LOC (<1%) 2 files
*.haml89 LOC (<1%) 5 files
*.cgi31 LOC (<1%) 1 file
*.asciidoc9 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".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 3 files match defined criteria (193 LOC, 0.3% vs. main code):
    • 2 *.xml files (192 LOC)
    • 1 *.sh files (1 LOC)
  • " *.xml" is biggest, containing 99.48% of LOC.
  • " *.sh" is smallest, containing 0.52% of LOC.


*.xml192 LOC (99%) 2 files
*.sh1 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 ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*/[.]gitignore".
  • 2288 files match defined criteria (411,985 LOC, 682.0% vs. main code):
    • 884 *.html files (325,621 LOC)
    • 132 *.adoc files (21,220 LOC)
    • 107 *.md files (18,694 LOC)
    • 657 *.java files (18,263 LOC)
    • 389 *.xml files (17,112 LOC)
    • 10 *.css files (7,449 LOC)
    • 5 *.asciidoc files (859 LOC)
    • 18 *.xhtml files (644 LOC)
    • 15 *.js files (641 LOC)
    • 8 *.txt files (384 LOC)
    • 19 *.jsp files (380 LOC)
    • 22 *.properties files (294 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 79.04% of LOC.
  • " *.feature" is smallest, containing 0% of LOC.


*.html325621 LOC (79%) 884 files
*.adoc21220 LOC (5%) 132 files
*.md18694 LOC (4%) 107 files
*.java18263 LOC (4%) 657 files
*.xml17112 LOC (4%) 389 files
*.css7449 LOC (1%) 10 files
*.asciidoc859 LOC (<1%) 5 files
*.xhtml644 LOC (<1%) 18 files
*.js641 LOC (<1%) 15 files
*.txt384 LOC (<1%) 8 files
*.jsp380 LOC (<1%) 19 files
*.properties294 LOC (<1%) 22 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-10 14:31