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
txt
properties
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.

main44035 LOC (82%) 387 files
test2807 LOC (5%) 30 files
generated0 LOC (0%) 0 files
build and deployment1838 LOC (3%) 18 files
other4441 LOC (8%) 40 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 ".*".
  • 387 files match defined criteria (44,035 LOC, 100.0% vs. main code):
    • 304 *.java files (40,474 LOC)
    • 13 *.xml files (1,124 LOC)
    • 9 *.vue files (744 LOC)
    • 6 *.css files (563 LOC)
    • 20 *.xhtml files (464 LOC)
    • 13 *.js files (414 LOC)
    • 21 *.html files (167 LOC)
    • 1 *.yml files (85 LOC)
  • " *.java" is biggest, containing 91.91% of LOC.
  • " *.yml" is smallest, containing 0.19% of LOC.


*.java40474 LOC (91%) 304 files
*.xml1124 LOC (2%) 13 files
*.vue744 LOC (1%) 9 files
*.css563 LOC (1%) 6 files
*.xhtml464 LOC (1%) 20 files
*.js414 LOC (<1%) 13 files
*.html167 LOC (<1%) 21 files
*.yml85 LOC (<1%) 1 file
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,807 LOC, 6.4% vs. main code):
    • 29 *.java files (2,763 LOC)
    • 1 *.xml files (44 LOC)
  • " *.java" is biggest, containing 98.43% of LOC.
  • " *.xml" is smallest, containing 1.57% of LOC.


*.java2763 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 ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]bat".
  • 18 files match defined criteria (1,838 LOC, 4.2% vs. main code):
    • 13 *.xml files (1,568 LOC)
    • 3 *.js files (201 LOC)
    • 1 *.bat files (55 LOC)
    • 1 *.sh files (14 LOC)
  • " *.xml" is biggest, containing 85.31% of LOC.
  • " *.sh" is smallest, containing 0.76% of LOC.


*.xml1568 LOC (85%) 13 files
*.js201 LOC (10%) 3 files
*.bat55 LOC (2%) 1 file
*.sh14 LOC (<1%) 1 file
Other Code
txt
properties
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 ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 40 files match defined criteria (4,441 LOC, 10.1% vs. main code):
    • 22 *.java files (3,076 LOC)
    • 8 *.txt files (713 LOC)
    • 8 *.properties files (553 LOC)
    • 1 *.json files (72 LOC)
    • 1 *.md files (27 LOC)
  • " *.java" is biggest, containing 69.26% of LOC.
  • " *.md" is smallest, containing 0.61% of LOC.


*.java3076 LOC (69%) 22 files
*.txt713 LOC (16%) 8 files
*.properties553 LOC (12%) 8 files
*.json72 LOC (1%) 1 file
*.md27 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:05