apache / camel-performance-tests
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
cmd
wsdl
txt
xslt
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.

main681 LOC (3%) 59 files
test5582 LOC (32%) 69 files
generated0 LOC (0%) 0 files
build and deployment4436 LOC (25%) 76 files
other6620 LOC (38%) 79 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 ".*".
  • 59 files match defined criteria (681 LOC, 100.0% vs. main code):
    • 37 *.yaml files (504 LOC)
    • 4 *.java files (60 LOC)
    • 4 *.xml files (46 LOC)
    • 8 *.sql files (32 LOC)
    • 4 *.js files (20 LOC)
    • 2 *.yml files (19 LOC)
  • " *.yaml" is biggest, containing 74.01% of LOC.
  • " *.yml" is smallest, containing 2.79% of LOC.


*.yaml504 LOC (74%) 37 files
*.java60 LOC (8%) 4 files
*.xml46 LOC (6%) 4 files
*.sql32 LOC (4%) 8 files
*.js20 LOC (2%) 4 files
*.yml19 LOC (2%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 69 files match defined criteria (5,582 LOC, 819.7% vs. main code):
    • 46 *.java files (3,631 LOC)
    • 12 *.wsdl files (1,477 LOC)
    • 8 *.xml files (380 LOC)
    • 3 *.xslt files (94 LOC)
  • " *.java" is biggest, containing 65.05% of LOC.
  • " *.xslt" is smallest, containing 1.68% of LOC.


*.java3631 LOC (65%) 46 files
*.wsdl1477 LOC (26%) 12 files
*.xml380 LOC (6%) 8 files
*.xslt94 LOC (1%) 3 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/docker[-]compose[.]yml".
  • 76 files match defined criteria (4,436 LOC, 651.4% vs. main code):
    • 33 *.xml files (2,715 LOC)
    • 42 *.sh files (1,706 LOC)
    • 1 *.yml files (15 LOC)
  • " *.xml" is biggest, containing 61.2% of LOC.
  • " *.yml" is smallest, containing 0.34% of LOC.


*.xml2715 LOC (61%) 33 files
*.sh1706 LOC (38%) 42 files
*.yml15 LOC (<1%) 1 file
Other Code
properties
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 ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
  • 79 files match defined criteria (6,620 LOC, 972.1% vs. main code):
    • 32 *.md files (3,200 LOC)
    • 1 *.json files (1,876 LOC)
    • 35 *.properties files (1,006 LOC)
    • 10 *.txt files (533 LOC)
    • 1 *.adoc files (5 LOC)
  • " *.md" is biggest, containing 48.34% of LOC.
  • " *.adoc" is smallest, containing 0.08% of LOC.


*.md3200 LOC (48%) 32 files
*.json1876 LOC (28%) 1 file
*.properties1006 LOC (15%) 35 files
*.txt533 LOC (8%) 10 files
*.adoc5 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:09