apache / unomi
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
cfg
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.

main44192 LOC (53%) 730 files
test8529 LOC (10%) 64 files
generated0 LOC (0%) 0 files
build and deployment7310 LOC (8%) 84 files
other22582 LOC (27%) 426 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 730 files match defined criteria (44,192 LOC, 100.0% vs. main code):
    • 645 *.java files (41,285 LOC)
    • 39 *.xml files (1,969 LOC)
    • 15 *.groovy files (369 LOC)
    • 23 *.cfg files (261 LOC)
    • 3 *.html files (195 LOC)
    • 2 *.js files (41 LOC)
    • 1 *.jsx files (38 LOC)
    • 1 *.less files (20 LOC)
    • 1 *.jsp files (14 LOC)
  • " *.java" is biggest, containing 93.42% of LOC.
  • " *.jsp" is smallest, containing 0.03% of LOC.


*.java41285 LOC (93%) 645 files
*.xml1969 LOC (4%) 39 files
*.groovy369 LOC (<1%) 15 files
*.cfg261 LOC (<1%) 23 files
*.html195 LOC (<1%) 3 files
*.js41 LOC (<1%) 2 files
*.jsx38 LOC (<1%) 1 file
*.less20 LOC (<1%) 1 file
*.jsp14 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 64 files match defined criteria (8,529 LOC, 19.3% vs. main code):
    • 59 *.java files (8,465 LOC)
    • 3 *.groovy files (50 LOC)
    • 2 *.cfg files (14 LOC)
  • " *.java" is biggest, containing 99.25% of LOC.
  • " *.cfg" is smallest, containing 0.16% of LOC.


*.java8465 LOC (99%) 59 files
*.groovy50 LOC (<1%) 3 files
*.cfg14 LOC (<1%) 2 files
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 ".*[.]sh".
    • 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([.]|/).*".
  • 84 files match defined criteria (7,310 LOC, 16.5% vs. main code):
    • 69 *.xml files (6,989 LOC)
    • 14 *.sh files (271 LOC)
    • 1 *.js files (50 LOC)
  • " *.xml" is biggest, containing 95.61% of LOC.
  • " *.js" is smallest, containing 0.68% of LOC.


*.xml6989 LOC (95%) 69 files
*.sh271 LOC (3%) 14 files
*.js50 LOC (<1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
  • 426 files match defined criteria (22,582 LOC, 51.1% vs. main code):
    • 321 *.json files (7,516 LOC)
    • 43 *.adoc files (7,300 LOC)
    • 5 *.txt files (2,927 LOC)
    • 1 *.css files (2,018 LOC)
    • 21 *.properties files (1,129 LOC)
    • 11 *.md files (690 LOC)
    • 10 *.java files (349 LOC)
    • 10 *.xml files (336 LOC)
    • 2 *.html files (202 LOC)
    • 1 *.js files (102 LOC)
    • 1 *.groovy files (13 LOC)
  • " *.json" is biggest, containing 33.28% of LOC.
  • " *.groovy" is smallest, containing 0.06% of LOC.


*.json7516 LOC (33%) 321 files
*.adoc7300 LOC (32%) 43 files
*.txt2927 LOC (12%) 5 files
*.css2018 LOC (8%) 1 file
*.properties1129 LOC (4%) 21 files
*.md690 LOC (3%) 11 files
*.java349 LOC (1%) 10 files
*.xml336 LOC (1%) 10 files
*.html202 LOC (<1%) 2 files
*.js102 LOC (<1%) 1 file
*.groovy13 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:56