apache / empire-db
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
babelrc
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.

main62033 LOC (86%) 517 files
test2973 LOC (4%) 30 files
generated0 LOC (0%) 0 files
build and deployment2012 LOC (2%) 20 files
other4753 LOC (6%) 42 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 ".*".
  • 517 files match defined criteria (62,033 LOC, 100.0% vs. main code):
    • 405 *.java files (57,591 LOC)
    • 17 *.xml files (1,271 LOC)
    • 40 *.xhtml files (928 LOC)
    • 11 *.css files (907 LOC)
    • 9 *.vue files (744 LOC)
    • 13 *.js files (414 LOC)
    • 22 *.html files (178 LOC)
  • " *.java" is biggest, containing 92.84% of LOC.
  • " *.html" is smallest, containing 0.29% of LOC.


*.java57591 LOC (92%) 405 files
*.xml1271 LOC (2%) 17 files
*.xhtml928 LOC (1%) 40 files
*.css907 LOC (1%) 11 files
*.vue744 LOC (1%) 9 files
*.js414 LOC (<1%) 13 files
*.html178 LOC (<1%) 22 files
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/.*".
  • 30 files match defined criteria (2,973 LOC, 4.8% vs. main code):
    • 29 *.java files (2,929 LOC)
    • 1 *.xml files (44 LOC)
  • " *.java" is biggest, containing 98.52% of LOC.
  • " *.xml" is smallest, containing 1.48% of LOC.


*.java2929 LOC (98%) 29 files
*.xml44 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]sh".
  • 20 files match defined criteria (2,012 LOC, 3.2% vs. main code):
    • 15 *.xml files (1,742 LOC)
    • 3 *.js files (201 LOC)
    • 1 *.bat files (55 LOC)
    • 1 *.sh files (14 LOC)
  • " *.xml" is biggest, containing 86.58% of LOC.
  • " *.sh" is smallest, containing 0.7% of LOC.


*.xml1742 LOC (86%) 15 files
*.js201 LOC (9%) 3 files
*.bat55 LOC (2%) 1 file
*.sh14 LOC (<1%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 42 files match defined criteria (4,753 LOC, 7.7% vs. main code):
    • 22 *.java files (3,067 LOC)
    • 10 *.properties files (817 LOC)
    • 8 *.txt files (770 LOC)
    • 1 *.json files (72 LOC)
    • 1 *.md files (27 LOC)
  • " *.java" is biggest, containing 64.53% of LOC.
  • " *.md" is smallest, containing 0.57% of LOC.


*.java3067 LOC (64%) 22 files
*.properties817 LOC (17%) 10 files
*.txt770 LOC (16%) 8 files
*.json72 LOC (1%) 1 file
*.md27 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:25