apache / netbeans-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
gsp
pov
xsd
txt
htaccess
cgi
webmanifest
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.

main497477 LOC (98%) 2,138 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment504 LOC (<1%) 8 files
other4568 LOC (<1%) 17 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
gsp
pov
xsd
cgi
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2138 files match defined criteria (497,477 LOC, 100.0% vs. main code):
    • 1,978 *.adoc files (489,375 LOC)
    • 91 *.java files (2,716 LOC)
    • 6 *.css files (1,309 LOC)
    • 11 *.scss files (1,102 LOC)
    • 22 *.gsp files (1,026 LOC)
    • 6 *.pov files (876 LOC)
    • 2 *.asciidoc files (250 LOC)
    • 4 *.xsd files (223 LOC)
    • 5 *.js files (176 LOC)
    • 4 *.groovy files (170 LOC)
    • 3 *.xml files (58 LOC)
    • 1 *.rdf files (45 LOC)
    • 1 *.ftl files (44 LOC)
    • 1 *.yml files (43 LOC)
    • 1 *.html files (23 LOC)
    • 1 *.cgi files (22 LOC)
    • 1 *.webmanifest files (19 LOC)
  • " *.adoc" is biggest, containing 98.37% of LOC.
  • " *.webmanifest" is smallest, containing 0% of LOC.


*.adoc489375 LOC (98%) 1,978 files
*.java2716 LOC (<1%) 91 files
*.css1309 LOC (<1%) 6 files
*.scss1102 LOC (<1%) 11 files
*.gsp1026 LOC (<1%) 22 files
*.pov876 LOC (<1%) 6 files
*.asciidoc250 LOC (<1%) 2 files
*.xsd223 LOC (<1%) 4 files
*.js176 LOC (<1%) 5 files
*.groovy170 LOC (<1%) 4 files
*.xml58 LOC (<1%) 3 files
*.rdf45 LOC (<1%) 1 file
*.ftl44 LOC (<1%) 1 file
*.yml43 LOC (<1%) 1 file
*.html23 LOC (<1%) 1 file
*.cgi22 LOC (<1%) 1 file
*.webmanifest19 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 ".*[.]gradle".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/Jenkinsfile[.][a-zA-Z0-9]+".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 8 files match defined criteria (504 LOC, 0.1% vs. main code):
    • 5 *.gradle files (283 LOC)
    • 1 *.groovy files (137 LOC)
    • 1 *.bat files (78 LOC)
    • 1 *.sh files (6 LOC)
  • " *.gradle" is biggest, containing 56.15% of LOC.
  • " *.sh" is smallest, containing 1.19% of LOC.


*.gradle283 LOC (56%) 5 files
*.groovy137 LOC (27%) 1 file
*.bat78 LOC (15%) 1 file
*.sh6 LOC (1%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
  • 17 files match defined criteria (4,568 LOC, 0.9% vs. main code):
    • 9 *.svg files (4,160 LOC)
    • 4 *.asciidoc files (391 LOC)
    • 3 *.txt files (16 LOC)
    • 1 *.md files (1 LOC)
  • " *.svg" is biggest, containing 91.07% of LOC.
  • " *.md" is smallest, containing 0.02% of LOC.


*.svg4160 LOC (91%) 9 files
*.asciidoc391 LOC (8%) 4 files
*.txt16 LOC (<1%) 3 files
*.md1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:12