apache / openmeetings
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
xsl
txt
xsd
gitattributes
cfg
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.

main130576 LOC (88%) 1,099 files
test7898 LOC (5%) 117 files
generated0 LOC (0%) 0 files
build and deployment3613 LOC (2%) 18 files
other5738 LOC (3%) 47 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
cfg
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1099 files match defined criteria (130,576 LOC, 100.0% vs. main code):
    • 742 *.java files (65,557 LOC)
    • 129 *.xml files (49,058 LOC)
    • 69 *.js files (7,579 LOC)
    • 132 *.html files (5,032 LOC)
    • 18 *.scss files (2,871 LOC)
    • 4 *.css files (236 LOC)
    • 2 *.xsl files (108 LOC)
    • 1 *.ftl files (83 LOC)
    • 1 *.cfg files (30 LOC)
    • 1 *.xsd files (22 LOC)
  • " *.java" is biggest, containing 50.21% of LOC.
  • " *.xsd" is smallest, containing 0.02% of LOC.


*.java65557 LOC (50%) 742 files
*.xml49058 LOC (37%) 129 files
*.js7579 LOC (5%) 69 files
*.html5032 LOC (3%) 132 files
*.scss2871 LOC (2%) 18 files
*.css236 LOC (<1%) 4 files
*.xsl108 LOC (<1%) 2 files
*.ftl83 LOC (<1%) 1 file
*.cfg30 LOC (<1%) 1 file
*.xsd22 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 ".*[-]tests/.*".
  • 117 files match defined criteria (7,898 LOC, 6.0% vs. main code):
    • 84 *.java files (6,075 LOC)
    • 32 *.xml files (1,727 LOC)
    • 1 *.sh files (96 LOC)
  • " *.java" is biggest, containing 76.92% of LOC.
  • " *.sh" is smallest, containing 1.22% of LOC.


*.java6075 LOC (76%) 84 files
*.xml1727 LOC (21%) 32 files
*.sh96 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 ".*/assembly[.]xml".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 18 files match defined criteria (3,613 LOC, 2.8% vs. main code):
    • 13 *.xml files (3,532 LOC)
    • 3 *.js files (57 LOC)
    • 1 *.bat files (19 LOC)
    • 1 *.sh files (5 LOC)
  • " *.xml" is biggest, containing 97.76% of LOC.
  • " *.sh" is smallest, containing 0.14% of LOC.


*.xml3532 LOC (97%) 13 files
*.js57 LOC (1%) 3 files
*.bat19 LOC (<1%) 1 file
*.sh5 LOC (<1%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
  • 47 files match defined criteria (5,738 LOC, 4.4% vs. main code):
    • 36 *.md files (4,868 LOC)
    • 3 *.svg files (436 LOC)
    • 6 *.properties files (219 LOC)
    • 1 *.txt files (181 LOC)
    • 1 *.json files (34 LOC)
  • " *.md" is biggest, containing 84.84% of LOC.
  • " *.json" is smallest, containing 0.59% of LOC.


*.md4868 LOC (84%) 36 files
*.svg436 LOC (7%) 3 files
*.properties219 LOC (3%) 6 files
*.txt181 LOC (3%) 1 file
*.json34 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:46