apache / turbine-core
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
txt
cvsignore
patch
props
project
jelly
classpath
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.

main40116 LOC (69%) 460 files
test6390 LOC (11%) 107 files
generated0 LOC (0%) 0 files
build and deployment1439 LOC (2%) 5 files
other9687 LOC (16%) 54 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
jelly
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 460 files match defined criteria (40,116 LOC, 100.0% vs. main code):
    • 291 *.java files (23,740 LOC)
    • 126 *.xml files (14,919 LOC)
    • 1 *.jelly files (846 LOC)
    • 40 *.html files (475 LOC)
    • 1 *.sql files (107 LOC)
    • 1 *.yml files (29 LOC)
  • " *.java" is biggest, containing 59.18% of LOC.
  • " *.yml" is smallest, containing 0.07% of LOC.


*.java23740 LOC (59%) 291 files
*.xml14919 LOC (37%) 126 files
*.jelly846 LOC (2%) 1 file
*.html475 LOC (1%) 40 files
*.sql107 LOC (<1%) 1 file
*.yml29 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 107 files match defined criteria (6,390 LOC, 15.9% vs. main code):
    • 85 *.java files (5,712 LOC)
    • 19 *.xml files (577 LOC)
    • 1 *.sql files (99 LOC)
    • 2 *.props files (2 LOC)
  • " *.java" is biggest, containing 89.39% of LOC.
  • " *.props" is smallest, containing 0.03% of LOC.


*.java5712 LOC (89%) 85 files
*.xml577 LOC (9%) 19 files
*.sql99 LOC (1%) 1 file
*.props2 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 ".*[.]cvsignore".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 5 files match defined criteria (1,439 LOC, 3.6% vs. main code):
    • 3 *.xml files (1,424 LOC)
    • 2 *.sh files (15 LOC)
  • " *.xml" is biggest, containing 98.96% of LOC.
  • " *.sh" is smallest, containing 1.04% of LOC.


*.xml1424 LOC (98%) 3 files
*.sh15 LOC (1%) 2 files
Other Code
properties
txt
patch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • 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 ".*/[.]cvsignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]patch".
  • 54 files match defined criteria (9,687 LOC, 24.1% vs. main code):
    • 36 *.properties files (5,843 LOC)
    • 2 *.svg files (2,770 LOC)
    • 11 *.txt files (812 LOC)
    • 3 *.patch files (141 LOC)
    • 1 *.json files (65 LOC)
    • 1 *.md files (56 LOC)
  • " *.properties" is biggest, containing 60.32% of LOC.
  • " *.md" is smallest, containing 0.58% of LOC.


*.properties5843 LOC (60%) 36 files
*.svg2770 LOC (28%) 2 files
*.txt812 LOC (8%) 11 files
*.patch141 LOC (1%) 3 files
*.json65 LOC (<1%) 1 file
*.md56 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:11