apache / juneau-website
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
prefs
classpath
project
launch
properties
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.

main3282539 LOC (67%) 12,078 files
test0 LOC (0%) 0 files
generated1534089 LOC (31%) 6,073 files
build and deployment14 LOC (<1%) 2 files
other67115 LOC (1%) 654 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
launch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 12078 files match defined criteria (3,282,539 LOC, 100.0% vs. main code):
    • 12,040 *.html files (3,278,602 LOC)
    • 16 *.css files (2,966 LOC)
    • 14 *.js files (725 LOC)
    • 2 *.rdf files (96 LOC)
    • 3 *.java files (79 LOC)
    • 2 *.xml files (62 LOC)
    • 1 *.launch files (9 LOC)
  • " *.html" is biggest, containing 99.88% of LOC.
  • " *.launch" is smallest, containing 0% of LOC.


*.html3278602 LOC (99%) 12,040 files
*.css2966 LOC (<1%) 16 files
*.js725 LOC (<1%) 14 files
*.rdf96 LOC (<1%) 2 files
*.java79 LOC (<1%) 3 files
*.xml62 LOC (<1%) 2 files
*.launch9 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 .*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 6073 files match defined criteria (1,534,089 LOC, 46.7% vs. main code). All matches are in *.html files.


*.html1534089 LOC (100%) 6,073 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".
  • 2 files match defined criteria (14 LOC, 0.0% vs. main code):
    • 1 *.xml files (10 LOC)
    • 1 *.sh files (4 LOC)
  • " *.xml" is biggest, containing 71.43% of LOC.
  • " *.sh" is smallest, containing 28.57% of LOC.


*.xml10 LOC (71%) 1 file
*.sh4 LOC (28%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
  • 654 files match defined criteria (67,115 LOC, 2.0% vs. main code):
    • 620 *.html files (62,056 LOC)
    • 29 *.txt files (4,936 LOC)
    • 3 *.md files (94 LOC)
    • 1 *.svg files (27 LOC)
    • 1 *.properties files (2 LOC)
  • " *.html" is biggest, containing 92.46% of LOC.
  • " *.properties" is smallest, containing 0% of LOC.


*.html62056 LOC (92%) 620 files
*.txt4936 LOC (7%) 29 files
*.md94 LOC (<1%) 3 files
*.svg27 LOC (<1%) 1 file
*.properties2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 17:02