apache / james-mime4j
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
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.

main15204 LOC (36%) 207 files
test23118 LOC (55%) 253 files
generated0 LOC (0%) 0 files
build and deployment647 LOC (1%) 9 files
other2401 LOC (5%) 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 ".*".
  • 207 files match defined criteria (15,204 LOC, 100.0% vs. main code):
    • 192 *.java files (14,675 LOC)
    • 14 *.xml files (430 LOC)
    • 1 *.rdf files (99 LOC)
  • " *.java" is biggest, containing 96.52% of LOC.
  • " *.rdf" is smallest, containing 0.65% of LOC.


*.java14675 LOC (96%) 192 files
*.xml430 LOC (2%) 14 files
*.rdf99 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/.*".
  • 253 files match defined criteria (23,118 LOC, 152.1% vs. main code):
    • 96 *.java files (11,731 LOC)
    • 157 *.xml files (11,387 LOC)
  • " *.java" is biggest, containing 50.74% of LOC.
  • " *.xml" is smallest, containing 49.26% of LOC.


*.java11731 LOC (50%) 96 files
*.xml11387 LOC (49%) 157 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/build[.]xml".
  • 9 files match defined criteria (647 LOC, 4.3% vs. main code). All matches are in *.xml files.


*.xml647 LOC (100%) 9 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[Ss]amples/.*".
  • 141 files match defined criteria (2,401 LOC, 15.8% vs. main code):
    • 130 *.txt files (1,550 LOC)
    • 7 *.java files (527 LOC)
    • 1 *.md files (219 LOC)
    • 1 *.adoc files (66 LOC)
    • 2 *.xml files (39 LOC)
  • " *.txt" is biggest, containing 64.56% of LOC.
  • " *.xml" is smallest, containing 1.62% of LOC.


*.txt1550 LOC (64%) 130 files
*.java527 LOC (21%) 7 files
*.md219 LOC (9%) 1 file
*.adoc66 LOC (2%) 1 file
*.xml39 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:11