apache / wicket
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
xsl
xsd
prefs
x
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.

main138079 LOC (45%) 1,783 files
test103344 LOC (34%) 2,416 files
generated7354 LOC (2%) 1 file
build and deployment3656 LOC (1%) 35 files
other50590 LOC (16%) 1,216 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
prefs
x
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1783 files match defined criteria (138,079 LOC, 100.0% vs. main code):
    • 1,530 *.java files (126,424 LOC)
    • 18 *.js files (5,196 LOC)
    • 172 *.html files (2,337 LOC)
    • 42 *.xml files (1,898 LOC)
    • 18 *.css files (1,604 LOC)
    • 1 *.prefs files (369 LOC)
    • 1 *.x files (224 LOC)
    • 1 *.py files (27 LOC)
  • " *.java" is biggest, containing 91.56% of LOC.
  • " *.py" is smallest, containing 0.02% of LOC.


*.java126424 LOC (91%) 1,530 files
*.js5196 LOC (3%) 18 files
*.html2337 LOC (1%) 172 files
*.xml1898 LOC (1%) 42 files
*.css1604 LOC (1%) 18 files
*.prefs369 LOC (<1%) 1 file
*.x224 LOC (<1%) 1 file
*.py27 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/testing[.].*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 2416 files match defined criteria (103,344 LOC, 74.8% vs. main code):
    • 1,400 *.java files (77,617 LOC)
    • 912 *.html files (10,596 LOC)
    • 45 *.js files (8,308 LOC)
    • 37 *.xml files (6,358 LOC)
    • 18 *.css files (432 LOC)
    • 3 *.xsl files (30 LOC)
    • 1 *.less files (3 LOC)
  • " *.java" is biggest, containing 75.11% of LOC.
  • " *.less" is smallest, containing 0% of LOC.


*.java77617 LOC (75%) 1,400 files
*.html10596 LOC (10%) 912 files
*.js8308 LOC (8%) 45 files
*.xml6358 LOC (6%) 37 files
*.css432 LOC (<1%) 18 files
*.xsl30 LOC (<1%) 3 files
*.less3 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 paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (7,354 LOC, 5.3% vs. main code). All matches are in *.json files.


*.json7354 LOC (100%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 35 files match defined criteria (3,656 LOC, 2.6% vs. main code):
    • 32 *.xml files (3,137 LOC)
    • 3 *.sh files (519 LOC)
  • " *.xml" is biggest, containing 85.8% of LOC.
  • " *.sh" is smallest, containing 14.2% of LOC.


*.xml3137 LOC (85%) 32 files
*.sh519 LOC (14%) 3 files
Other Code
properties
txt
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
  • 1216 files match defined criteria (50,590 LOC, 36.6% vs. main code):
    • 388 *.java files (16,997 LOC)
    • 214 *.adoc files (8,567 LOC)
    • 3 *.json files (7,380 LOC)
    • 256 *.html files (5,608 LOC)
    • 213 *.properties files (4,244 LOC)
    • 24 *.svg files (3,908 LOC)
    • 22 *.css files (2,102 LOC)
    • 71 *.txt files (906 LOC)
    • 9 *.js files (275 LOC)
    • 2 *.md files (253 LOC)
    • 13 *.xml files (209 LOC)
    • 1 *.xsd files (141 LOC)
  • " *.java" is biggest, containing 33.6% of LOC.
  • " *.xsd" is smallest, containing 0.28% of LOC.


*.java16997 LOC (33%) 388 files
*.adoc8567 LOC (16%) 214 files
*.json7380 LOC (14%) 3 files
*.html5608 LOC (11%) 256 files
*.properties4244 LOC (8%) 213 files
*.svg3908 LOC (7%) 24 files
*.css2102 LOC (4%) 22 files
*.txt906 LOC (1%) 71 files
*.js275 LOC (<1%) 9 files
*.md253 LOC (<1%) 2 files
*.xml209 LOC (<1%) 13 files
*.xsd141 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:19