apache / flume-morphline
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
kml
mbox
rss
dita
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.

main781 LOC (7%) 10 files
test3376 LOC (30%) 24 files
generated0 LOC (0%) 0 files
build and deployment544 LOC (4%) 4 files
other6193 LOC (56%) 47 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 ".*".
  • 10 files match defined criteria (781 LOC, 100.0% vs. main code):
    • 8 *.java files (739 LOC)
    • 2 *.xml files (42 LOC)
  • " *.java" is biggest, containing 94.62% of LOC.
  • " *.xml" is smallest, containing 5.38% of LOC.


*.java739 LOC (94%) 8 files
*.xml42 LOC (5%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
kml
mbox
dita
rss
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 24 files match defined criteria (3,376 LOC, 432.3% vs. main code):
    • 9 *.java files (1,039 LOC)
    • 7 *.xml files (1,002 LOC)
    • 1 *.kml files (915 LOC)
    • 1 *.mbox files (257 LOC)
    • 2 *.avsc files (69 LOC)
    • 1 *.html files (35 LOC)
    • 1 *.dita files (33 LOC)
    • 1 *.rss files (19 LOC)
    • 1 *.rdf files (7 LOC)
  • " *.java" is biggest, containing 30.78% of LOC.
  • " *.rdf" is smallest, containing 0.21% of LOC.


*.java1039 LOC (30%) 9 files
*.xml1002 LOC (29%) 7 files
*.kml915 LOC (27%) 1 file
*.mbox257 LOC (7%) 1 file
*.avsc69 LOC (2%) 2 files
*.html35 LOC (1%) 1 file
*.dita33 LOC (<1%) 1 file
*.rss19 LOC (<1%) 1 file
*.rdf7 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 ".*/assembly/src[.]xml".
  • 4 files match defined criteria (544 LOC, 69.7% vs. main code). All matches are in *.xml files.


*.xml544 LOC (100%) 4 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]svg".
  • 47 files match defined criteria (6,193 LOC, 793.0% vs. main code):
    • 45 *.txt files (6,168 LOC)
    • 1 *.md files (18 LOC)
    • 1 *.svg files (7 LOC)
  • " *.txt" is biggest, containing 99.6% of LOC.
  • " *.svg" is smallest, containing 0.11% of LOC.


*.txt6168 LOC (99%) 45 files
*.md18 LOC (<1%) 1 file
*.svg7 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:38