apache / flume-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
txt
htaccess
rsx
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.

main114059 LOC (5%) 125 files
test0 LOC (0%) 0 files
generated1813321 LOC (91%) 10,855 files
build and deployment335 LOC (<1%) 1 file
other62504 LOC (3%) 273 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
rsx
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 125 files match defined criteria (114,059 LOC, 100.0% vs. main code):
    • 60 *.html files (97,551 LOC)
    • 29 *.js files (9,323 LOC)
    • 33 *.css files (7,090 LOC)
    • 1 *.py files (51 LOC)
    • 1 *.rsx files (28 LOC)
    • 1 *.xml files (16 LOC)
  • " *.html" is biggest, containing 85.53% of LOC.
  • " *.xml" is smallest, containing 0.01% of LOC.


*.html97551 LOC (85%) 60 files
*.js9323 LOC (8%) 29 files
*.css7090 LOC (6%) 33 files
*.py51 LOC (<1%) 1 file
*.rsx28 LOC (<1%) 1 file
*.xml16 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 10855 files match defined criteria (1,813,321 LOC, 1589.8% vs. main code). All matches are in *.html files.


*.html1813321 LOC (100%) 10,855 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".
  • 1 file matches defined criteria (335 LOC, 0.3% vs. main code). All matches are in *.xml files.


*.xml335 LOC (100%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 273 files match defined criteria (62,504 LOC, 54.8% vs. main code):
    • 237 *.txt files (54,662 LOC)
    • 35 *.rst files (7,826 LOC)
    • 1 *.md files (16 LOC)
  • " *.txt" is biggest, containing 87.45% of LOC.
  • " *.md" is smallest, containing 0.03% of LOC.


*.txt54662 LOC (87%) 237 files
*.rst7826 LOC (12%) 35 files
*.md16 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 01:56