apache / openjpa-site
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
txt
patch
htaccess
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.

main3083 LOC (14%) 13 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment495 LOC (2%) 3 files
other17255 LOC (82%) 141 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 ".*".
  • 13 files match defined criteria (3,083 LOC, 100.0% vs. main code):
    • 4 *.py files (1,197 LOC)
    • 3 *.css files (1,137 LOC)
    • 4 *.xml files (606 LOC)
    • 2 *.html files (143 LOC)
  • " *.py" is biggest, containing 38.83% of LOC.
  • " *.html" is smallest, containing 4.64% of LOC.


*.py1197 LOC (38%) 4 files
*.css1137 LOC (36%) 3 files
*.xml606 LOC (19%) 4 files
*.html143 LOC (4%) 2 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 ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 3 files match defined criteria (495 LOC, 16.1% vs. main code):
    • 1 *.xml files (440 LOC)
    • 1 *.bat files (36 LOC)
    • 1 *.sh files (19 LOC)
  • " *.xml" is biggest, containing 88.89% of LOC.
  • " *.sh" is smallest, containing 3.84% of LOC.


*.xml440 LOC (88%) 1 file
*.bat36 LOC (7%) 1 file
*.sh19 LOC (3%) 1 file
Other Code
patch
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 ".*[.]md".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 141 files match defined criteria (17,255 LOC, 559.7% vs. main code):
    • 133 *.md files (14,283 LOC)
    • 4 *.patch files (2,117 LOC)
    • 4 *.txt files (855 LOC)
  • " *.md" is biggest, containing 82.78% of LOC.
  • " *.txt" is smallest, containing 4.96% of LOC.


*.md14283 LOC (82%) 133 files
*.patch2117 LOC (12%) 4 files
*.txt855 LOC (4%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:16