apache / netbeans
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
xsd
sig
wsdl
jade
latte
xsl
tpl
patch
fxml
flex
diff
ini
gsp
plist
classpath
phpt
mk
xmi
launch
project
handlebars
make
aj
gitattributes
hcl
prefs
hs
ruby
policy
cfg
pro
gf
vscodeignore
htaccess
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.

main4929779 LOC (69%) 32,847 files
test1656333 LOC (23%) 23,544 files
generated47886 LOC (<1%) 92 files
build and deployment19437 LOC (<1%) 1,080 files
other481154 LOC (6%) 7,105 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
sig
xsl
xsd
flex
prefs
aj
handlebars
pro
jade
hs
gsp
latte
phpt
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 32847 files match defined criteria (4,929,779 LOC, 100.0% vs. main code):
    • 27,554 *.java files (3,981,145 LOC)
    • 3,045 *.xml files (447,001 LOC)
    • 429 *.sig files (321,717 LOC)
    • 761 *.htm files (71,418 LOC)
    • 590 *.html files (35,533 LOC)
    • 77 *.xsl files (10,599 LOC)
    • 41 *.css files (9,511 LOC)
    • 19 *.xsd files (8,464 LOC)
    • 67 *.js files (8,373 LOC)
    • 15 *.flex files (7,276 LOC)
    • 28 *.ts files (5,702 LOC)
    • 17 *.g4 files (4,739 LOC)
    • 31 *.c files (3,626 LOC)
    • 24 *.ftl files (2,419 LOC)
    • 27 *.h files (2,383 LOC)
    • 3 *.g files (2,301 LOC)
    • 11 *.cpp files (2,203 LOC)
    • 38 *.php files (1,407 LOC)
    • 6 *.sql files (935 LOC)
    • 7 *.phtml files (475 LOC)
    • 1 *.prefs files (441 LOC)
    • 9 *.groovy files (397 LOC)
    • 2 *.aj files (274 LOC)
    • 3 *.pl files (273 LOC)
    • 3 *.handlebars files (216 LOC)
    • 1 *.pro files (184 LOC)
    • 5 *.jade files (118 LOC)
    • 2 *.bash files (106 LOC)
    • 2 *.hs files (96 LOC)
    • 4 *.swift files (53 LOC)
    • 2 *.xhtml files (51 LOC)
    • 1 *.gsp files (34 LOC)
    • 1 *.toml files (34 LOC)
    • 1 *.tf files (33 LOC)
    • 4 *.jsp files (31 LOC)
    • 1 *.jsx files (31 LOC)
    • 1 *.yaml files (29 LOC)
    • 2 *.vue files (25 LOC)
    • 1 *.scss files (20 LOC)
    • 1 *.hpp files (20 LOC)
    • 1 *.less files (20 LOC)
    • 1 *.go files (16 LOC)
    • 2 *.twig files (13 LOC)
    • 1 *.tfvars files (13 LOC)
    • 2 *.latte files (11 LOC)
    • 1 *.phpt files (9 LOC)
    • 1 *.rs files (3 LOC)
    • 1 *.tpl files (1 LOC)
  • " *.java" is biggest, containing 80.76% of LOC.
  • " *.tpl" is smallest, containing 0% of LOC.


*.java3981145 LOC (80%) 27,554 files
*.xml447001 LOC (9%) 3,045 files
*.sig321717 LOC (6%) 429 files
*.htm71418 LOC (1%) 761 files
*.html35533 LOC (<1%) 590 files
*.xsl10599 LOC (<1%) 77 files
*.css9511 LOC (<1%) 41 files
*.xsd8464 LOC (<1%) 19 files
*.js8373 LOC (<1%) 67 files
*.flex7276 LOC (<1%) 15 files
*.ts5702 LOC (<1%) 28 files
*.g44739 LOC (<1%) 17 files
*.c3626 LOC (<1%) 31 files
*.ftl2419 LOC (<1%) 24 files
*.h2383 LOC (<1%) 27 files
*.g2301 LOC (<1%) 3 files
*.cpp2203 LOC (<1%) 11 files
*.php1407 LOC (<1%) 38 files
*.sql935 LOC (<1%) 6 files
*.phtml475 LOC (<1%) 7 files
*.prefs441 LOC (<1%) 1 file
*.groovy397 LOC (<1%) 9 files
*.aj274 LOC (<1%) 2 files
*.pl273 LOC (<1%) 3 files
*.handlebars216 LOC (<1%) 3 files
*.pro184 LOC (<1%) 1 file
*.jade118 LOC (<1%) 5 files
*.bash106 LOC (<1%) 2 files
*.hs96 LOC (<1%) 2 files
*.swift53 LOC (<1%) 4 files
*.xhtml51 LOC (<1%) 2 files
*.gsp34 LOC (<1%) 1 file
*.toml34 LOC (<1%) 1 file
*.tf33 LOC (<1%) 1 file
*.jsp31 LOC (<1%) 4 files
*.jsx31 LOC (<1%) 1 file
*.yaml29 LOC (<1%) 1 file
*.vue25 LOC (<1%) 2 files
*.scss20 LOC (<1%) 1 file
*.hpp20 LOC (<1%) 1 file
*.less20 LOC (<1%) 1 file
*.go16 LOC (<1%) 1 file
*.twig13 LOC (<1%) 2 files
*.tfvars13 LOC (<1%) 1 file
*.latte11 LOC (<1%) 2 files
*.phpt9 LOC (<1%) 1 file
*.rs3 LOC (<1%) 1 file
*.tpl1 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
xsd
tpl
latte
jade
fxml
xsl
gsp
sig
cfg
xslt
gf
classpath
launch
ruby
phpt
project
hcl
policy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*/karma[.]conf[.]js".
    • files with paths like ".*/protractor[.]conf[.]js".
  • 23544 files match defined criteria (1,656,333 LOC, 33.6% vs. main code):
    • 11,169 *.java files (1,203,307 LOC)
    • 2,651 *.xml files (187,078 LOC)
    • 1,320 *.jsp files (118,974 LOC)
    • 4,601 *.php files (85,399 LOC)
    • 2,114 *.js files (24,951 LOC)
    • 210 *.wsdl files (10,761 LOC)
    • 143 *.css files (6,403 LOC)
    • 241 *.html files (4,452 LOC)
    • 206 *.groovy files (2,015 LOC)
    • 39 *.xsd files (1,521 LOC)
    • 58 *.tpl files (1,310 LOC)
    • 240 *.twig files (1,308 LOC)
    • 100 *.latte files (1,245 LOC)
    • 118 *.jade files (957 LOC)
    • 106 *.xhtml files (804 LOC)
    • 32 *.fxml files (771 LOC)
    • 15 *.sh files (665 LOC)
    • 11 *.ts files (614 LOC)
    • 43 *.gradle files (507 LOC)
    • 11 *.xsl files (373 LOC)
    • 10 *.gsp files (360 LOC)
    • 2 *.sig files (271 LOC)
    • 9 *.scss files (246 LOC)
    • 8 *.phtml files (211 LOC)
    • 21 *.yaml files (206 LOC)
    • 1 *.cfg files (173 LOC)
    • 7 *.toml files (161 LOC)
    • 5 *.rs files (150 LOC)
    • 6 *.less files (138 LOC)
    • 1 *.xslt files (134 LOC)
    • 10 *.sql files (109 LOC)
    • 2 *.bat files (107 LOC)
    • 4 *.vue files (87 LOC)
    • 4 *.py files (86 LOC)
    • 3 *.r files (67 LOC)
    • 1 *.gf files (66 LOC)
    • 1 *.g4 files (60 LOC)
    • 4 *.classpath files (51 LOC)
    • 3 *.launch files (50 LOC)
    • 2 *.ruby files (48 LOC)
    • 4 *.phpt files (43 LOC)
    • 1 *.project files (34 LOC)
    • 3 *.hcl files (17 LOC)
    • 1 *.policy files (16 LOC)
    • 1 *.cpp files (11 LOC)
    • 1 *.rb files (9 LOC)
    • 1 *.inc files (7 LOC)
  • " *.java" is biggest, containing 72.65% of LOC.
  • " *.inc" is smallest, containing 0% of LOC.


*.java1203307 LOC (72%) 11,169 files
*.xml187078 LOC (11%) 2,651 files
*.jsp118974 LOC (7%) 1,320 files
*.php85399 LOC (5%) 4,601 files
*.js24951 LOC (1%) 2,114 files
*.wsdl10761 LOC (<1%) 210 files
*.css6403 LOC (<1%) 143 files
*.html4452 LOC (<1%) 241 files
*.groovy2015 LOC (<1%) 206 files
*.xsd1521 LOC (<1%) 39 files
*.tpl1310 LOC (<1%) 58 files
*.twig1308 LOC (<1%) 240 files
*.latte1245 LOC (<1%) 100 files
*.jade957 LOC (<1%) 118 files
*.xhtml804 LOC (<1%) 106 files
*.fxml771 LOC (<1%) 32 files
*.sh665 LOC (<1%) 15 files
*.ts614 LOC (<1%) 11 files
*.gradle507 LOC (<1%) 43 files
*.xsl373 LOC (<1%) 11 files
*.gsp360 LOC (<1%) 10 files
*.sig271 LOC (<1%) 2 files
*.scss246 LOC (<1%) 9 files
*.phtml211 LOC (<1%) 8 files
*.yaml206 LOC (<1%) 21 files
*.cfg173 LOC (<1%) 1 file
*.toml161 LOC (<1%) 7 files
*.rs150 LOC (<1%) 5 files
*.less138 LOC (<1%) 6 files
*.xslt134 LOC (<1%) 1 file
*.sql109 LOC (<1%) 10 files
*.bat107 LOC (<1%) 2 files
*.vue87 LOC (<1%) 4 files
*.py86 LOC (<1%) 4 files
*.r67 LOC (<1%) 3 files
*.gf66 LOC (<1%) 1 file
*.g460 LOC (<1%) 1 file
*.classpath51 LOC (<1%) 4 files
*.launch50 LOC (<1%) 3 files
*.ruby48 LOC (<1%) 2 files
*.phpt43 LOC (<1%) 4 files
*.project34 LOC (<1%) 1 file
*.hcl17 LOC (<1%) 3 files
*.policy16 LOC (<1%) 1 file
*.cpp11 LOC (<1%) 1 file
*.rb9 LOC (<1%) 1 file
*.inc7 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*/package[-]lock[.]json".
    • files with any line of content like "//[ ]*Generated by .*".
    • files with paths like ".*[.]java" AND any line of content like ".*The following code was generated by JFlex.*".
  • 92 files match defined criteria (47,886 LOC, 1.0% vs. main code):
    • 81 *.java files (40,207 LOC)
    • 6 *.xsd files (3,540 LOC)
    • 1 *.json files (2,902 LOC)
    • 4 *.html files (1,237 LOC)
  • " *.java" is biggest, containing 83.96% of LOC.
  • " *.html" is smallest, containing 2.58% of LOC.


*.java40207 LOC (83%) 81 files
*.xsd3540 LOC (7%) 6 files
*.json2902 LOC (6%) 1 file
*.html1237 LOC (2%) 4 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
mk
make
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/jenkins/.*[.]groovy".
    • files with paths like ".*/Jenkinsfile[.][a-zA-Z0-9]+".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]mk".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]make".
  • 1080 files match defined criteria (19,437 LOC, 0.4% vs. main code):
    • 965 *.xml files (15,911 LOC)
    • 86 *.sh files (2,619 LOC)
    • 16 *.bat files (520 LOC)
    • 4 *.mk files (278 LOC)
    • 3 *.make files (72 LOC)
    • 5 *.gradle files (36 LOC)
    • 1 *.groovy files (1 LOC)
  • " *.xml" is biggest, containing 81.86% of LOC.
  • " *.groovy" is smallest, containing 0.01% of LOC.


*.xml15911 LOC (81%) 965 files
*.sh2619 LOC (13%) 86 files
*.bat520 LOC (2%) 16 files
*.mk278 LOC (1%) 4 files
*.make72 LOC (<1%) 3 files
*.gradle36 LOC (<1%) 5 files
*.groovy1 LOC (<1%) 1 file
Other Code
properties
xsd
txt
xmi
plist
diff
patch
ini
fxml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[.]vscodeignore".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*[.]xmi".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]diff".
  • 7105 files match defined criteria (481,154 LOC, 9.8% vs. main code):
    • 3,975 *.properties files (165,600 LOC)
    • 445 *.xsd files (119,935 LOC)
    • 855 *.txt files (96,355 LOC)
    • 1,238 *.svg files (59,275 LOC)
    • 166 *.java files (15,097 LOC)
    • 62 *.json files (10,922 LOC)
    • 3 *.xmi files (3,700 LOC)
    • 221 *.html files (2,514 LOC)
    • 6 *.plist files (2,314 LOC)
    • 28 *.xml files (1,575 LOC)
    • 13 *.diff files (1,199 LOC)
    • 12 *.md files (822 LOC)
    • 29 *.patch files (731 LOC)
    • 29 *.php files (498 LOC)
    • 13 *.ini files (213 LOC)
    • 2 *.fxml files (127 LOC)
    • 1 *.css files (105 LOC)
    • 5 *.js files (87 LOC)
    • 1 *.g files (81 LOC)
    • 1 *.groovy files (4 LOC)
  • " *.properties" is biggest, containing 34.42% of LOC.
  • " *.groovy" is smallest, containing 0% of LOC.


*.properties165600 LOC (34%) 3,975 files
*.xsd119935 LOC (24%) 445 files
*.txt96355 LOC (20%) 855 files
*.svg59275 LOC (12%) 1,238 files
*.java15097 LOC (3%) 166 files
*.json10922 LOC (2%) 62 files
*.xmi3700 LOC (<1%) 3 files
*.html2514 LOC (<1%) 221 files
*.plist2314 LOC (<1%) 6 files
*.xml1575 LOC (<1%) 28 files
*.diff1199 LOC (<1%) 13 files
*.md822 LOC (<1%) 12 files
*.patch731 LOC (<1%) 29 files
*.php498 LOC (<1%) 29 files
*.ini213 LOC (<1%) 13 files
*.fxml127 LOC (<1%) 2 files
*.css105 LOC (<1%) 1 file
*.js87 LOC (<1%) 5 files
*.g81 LOC (<1%) 1 file
*.groovy4 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:35