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.

main3260262 LOC (58%) 12,027 files
test23919 LOC (<1%) 57 files
generated2237051 LOC (39%) 8,153 files
build and deployment14 LOC (<1%) 2 files
other75129 LOC (1%) 729 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 ".*".
  • 12027 files match defined criteria (3,260,262 LOC, 100.0% vs. main code):
    • 11,982 *.html files (3,254,678 LOC)
    • 20 *.css files (4,209 LOC)
    • 18 *.js files (1,160 LOC)
    • 2 *.rdf files (96 LOC)
    • 3 *.java files (79 LOC)
    • 1 *.xml files (31 LOC)
    • 1 *.launch files (9 LOC)
  • " *.html" is biggest, containing 99.83% of LOC.
  • " *.launch" is smallest, containing 0% of LOC.


*.html3254678 LOC (99%) 11,982 files
*.css4209 LOC (<1%) 20 files
*.js1160 LOC (<1%) 18 files
*.rdf96 LOC (<1%) 2 files
*.java79 LOC (<1%) 3 files
*.xml31 LOC (<1%) 1 file
*.launch9 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
  • 57 files match defined criteria (23,919 LOC, 0.7% vs. main code). All matches are in *.html files.


*.html23919 LOC (100%) 57 files
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" .*".
  • 8153 files match defined criteria (2,237,051 LOC, 68.6% vs. main code). All matches are in *.html files.


*.html2237051 LOC (100%) 8,153 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Ee]xamples/.*".
  • 729 files match defined criteria (75,129 LOC, 2.3% vs. main code):
    • 689 *.html files (69,416 LOC)
    • 32 *.txt files (5,473 LOC)
    • 5 *.md files (184 LOC)
    • 2 *.svg files (54 LOC)
    • 1 *.properties files (2 LOC)
  • " *.html" is biggest, containing 92.4% of LOC.
  • " *.properties" is smallest, containing 0% of LOC.


*.html69416 LOC (92%) 689 files
*.txt5473 LOC (7%) 32 files
*.md184 LOC (<1%) 5 files
*.svg54 LOC (<1%) 2 files
*.properties2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:58