apache / maven-2
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
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.

main29287 LOC (64%) 297 files
test13286 LOC (29%) 222 files
generated0 LOC (0%) 0 files
build and deployment2160 LOC (4%) 21 files
other741 LOC (1%) 21 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 297 files match defined criteria (29,287 LOC, 100.0% vs. main code):
    • 257 *.java files (27,380 LOC)
    • 40 *.xml files (1,907 LOC)
  • " *.java" is biggest, containing 93.49% of LOC.
  • " *.xml" is smallest, containing 6.51% of LOC.


*.java27380 LOC (93%) 257 files
*.xml1907 LOC (6%) 40 files
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 ".*[-]tests/.*".
  • 222 files match defined criteria (13,286 LOC, 45.4% vs. main code):
    • 121 *.java files (10,463 LOC)
    • 101 *.xml files (2,823 LOC)
  • " *.java" is biggest, containing 78.75% of LOC.
  • " *.xml" is smallest, containing 21.25% of LOC.


*.java10463 LOC (78%) 121 files
*.xml2823 LOC (21%) 101 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 ".*/build[.]xml".
    • files with paths like ".*[.]bat".
  • 21 files match defined criteria (2,160 LOC, 7.4% vs. main code). All matches are in *.xml files.


*.xml2160 LOC (100%) 21 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 21 files match defined criteria (741 LOC, 2.5% vs. main code):
    • 15 *.properties files (431 LOC)
    • 6 *.txt files (310 LOC)
  • " *.properties" is biggest, containing 58.16% of LOC.
  • " *.txt" is smallest, containing 41.84% of LOC.


*.properties431 LOC (58%) 15 files
*.txt310 LOC (41%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:39