apache / incubator-ponymail-foal
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
eml
mbox
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.

main16442 LOC (77%) 87 files
test2768 LOC (13%) 15 files
generated1430 LOC (6%) 1 file
build and deployment59 LOC (<1%) 2 files
other469 LOC (2%) 9 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 ".*".
  • 87 files match defined criteria (16,442 LOC, 100.0% vs. main code):
    • 27 *.js files (7,780 LOC)
    • 46 *.py files (5,575 LOC)
    • 5 *.css files (1,953 LOC)
    • 4 *.yaml files (804 LOC)
    • 5 *.html files (330 LOC)
  • " *.js" is biggest, containing 47.32% of LOC.
  • " *.html" is smallest, containing 2.01% of LOC.


*.js7780 LOC (47%) 27 files
*.py5575 LOC (33%) 46 files
*.css1953 LOC (11%) 5 files
*.yaml804 LOC (4%) 4 files
*.html330 LOC (2%) 5 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
mbox
eml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
  • 15 files match defined criteria (2,768 LOC, 16.8% vs. main code):
    • 4 *.mbox files (1,221 LOC)
    • 5 *.eml files (897 LOC)
    • 6 *.py files (650 LOC)
  • " *.mbox" is biggest, containing 44.11% of LOC.
  • " *.py" is smallest, containing 23.48% of LOC.


*.mbox1221 LOC (44%) 4 files
*.eml897 LOC (32%) 5 files
*.py650 LOC (23%) 6 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 1 file matches defined criteria (1,430 LOC, 8.7% vs. main code). All matches are in *.html files.


*.html1430 LOC (100%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 2 files match defined criteria (59 LOC, 0.4% vs. main code). All matches are in *.sh files.


*.sh59 LOC (100%) 2 files
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*/INSTALL[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
  • 9 files match defined criteria (469 LOC, 2.9% vs. main code):
    • 6 *.md files (443 LOC)
    • 3 *.txt files (26 LOC)
  • " *.md" is biggest, containing 94.46% of LOC.
  • " *.txt" is smallest, containing 5.54% of LOC.


*.md443 LOC (94%) 6 files
*.txt26 LOC (5%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:16