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.

main218238 LOC (78%) 1,693 files
test26334 LOC (9%) 250 files
generated0 LOC (0%) 0 files
build and deployment11283 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 ".*".
  • 1693 files match defined criteria (218,238 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)
    • 5 *.xsl files (170 LOC)
    • 10 *.html files (81 LOC)
    • 1 *.inc files (68 LOC)
  • " *.java" is biggest, containing 80.61% 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
*.xsl170 LOC (<1%) 5 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.
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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 250 files match defined criteria (26,334 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)
  • " *.java" is biggest, containing 76.81% of LOC.
  • " *.jsp" is smallest, containing 0.36% 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
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 ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 93 files match defined criteria (11,283 LOC, 5.2% vs. main code):
    • 88 *.xml files (11,220 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.


*.xml11220 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 ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 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,395 LOC)
    • 25 *.xml files (1,517 LOC)
    • 5 *.txt files (706 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
*.xsd2395 LOC (11%) 4 files
*.xml1517 LOC (7%) 25 files
*.txt706 LOC (3%) 5 files
*.html302 LOC (1%) 6 files
*.css222 LOC (1%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:08