apache / portals-pluto
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
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.

main218209 LOC (78%) 1,692 files
test26363 LOC (9%) 251 files
generated0 LOC (0%) 0 files
build and deployment11291 LOC (4%) 93 files
other20955 LOC (7%) 353 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1692 files match defined criteria (218,209 LOC, 100.0% vs. main code):
    • 1,290 *.java files (175,931 LOC)
    • 267 *.xml files (20,541 LOC)
    • 92 *.jsp files (15,379 LOC)
    • 16 *.js files (4,854 LOC)
    • 12 *.css files (1,214 LOC)
    • 4 *.xsl files (141 LOC)
    • 10 *.html files (81 LOC)
    • 1 *.inc files (68 LOC)
  • " *.java" is biggest, containing 80.62% of LOC.
  • " *.inc" is smallest, containing 0.03% of LOC.


*.java175931 LOC (80%) 1,290 files
*.xml20541 LOC (9%) 267 files
*.jsp15379 LOC (7%) 92 files
*.js4854 LOC (2%) 16 files
*.css1214 LOC (<1%) 12 files
*.xsl141 LOC (<1%) 4 files
*.html81 LOC (<1%) 10 files
*.inc68 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 ".*/test_.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 251 files match defined criteria (26,363 LOC, 12.1% vs. main code):
    • 207 *.java files (20,228 LOC)
    • 12 *.js files (4,059 LOC)
    • 25 *.xml files (1,830 LOC)
    • 1 *.inc files (123 LOC)
    • 5 *.jsp files (94 LOC)
    • 1 *.xsl files (29 LOC)
  • " *.java" is biggest, containing 76.73% of LOC.
  • " *.xsl" is smallest, containing 0.11% of LOC.


*.java20228 LOC (76%) 207 files
*.js4059 LOC (15%) 12 files
*.xml1830 LOC (6%) 25 files
*.inc123 LOC (<1%) 1 file
*.jsp94 LOC (<1%) 5 files
*.xsl29 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]gradle".
  • 93 files match defined criteria (11,291 LOC, 5.2% vs. main code):
    • 88 *.xml files (11,228 LOC)
    • 4 *.gradle files (46 LOC)
    • 1 *.bat files (17 LOC)
  • " *.xml" is biggest, containing 99.44% of LOC.
  • " *.bat" is smallest, containing 0.15% of LOC.


*.xml11228 LOC (99%) 88 files
*.gradle46 LOC (<1%) 4 files
*.bat17 LOC (<1%) 1 file
Other Code
properties
xsd
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/resources/.*[.]xsd".
  • 353 files match defined criteria (20,955 LOC, 9.6% vs. main code):
    • 137 *.java files (8,923 LOC)
    • 135 *.properties files (3,674 LOC)
    • 34 *.jsp files (3,216 LOC)
    • 4 *.xsd files (2,396 LOC)
    • 25 *.xml files (1,517 LOC)
    • 5 *.txt files (705 LOC)
    • 6 *.html files (302 LOC)
    • 7 *.css files (222 LOC)
  • " *.java" is biggest, containing 42.58% of LOC.
  • " *.css" is smallest, containing 1.06% of LOC.


*.java8923 LOC (42%) 137 files
*.properties3674 LOC (17%) 135 files
*.jsp3216 LOC (15%) 34 files
*.xsd2396 LOC (11%) 4 files
*.xml1517 LOC (7%) 25 files
*.txt705 LOC (3%) 5 files
*.html302 LOC (1%) 6 files
*.css222 LOC (1%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:41