apache / xalan-c
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
xsl
txt
in
xlf
xslt
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.

main140117 LOC (91%) 878 files
test6508 LOC (4%) 33 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other5702 LOC (3%) 76 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xlf
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 878 files match defined criteria (140,117 LOC, 100.0% vs. main code):
    • 397 *.cpp files (91,607 LOC)
    • 452 *.hpp files (46,454 LOC)
    • 1 *.xlf files (824 LOC)
    • 19 *.cmake files (784 LOC)
    • 4 *.h files (231 LOC)
    • 4 *.in files (207 LOC)
    • 1 *.html files (10 LOC)
  • " *.cpp" is biggest, containing 65.38% of LOC.
  • " *.html" is smallest, containing 0.01% of LOC.


*.cpp91607 LOC (65%) 397 files
*.hpp46454 LOC (33%) 452 files
*.xlf824 LOC (<1%) 1 file
*.cmake784 LOC (<1%) 19 files
*.h231 LOC (<1%) 4 files
*.in207 LOC (<1%) 4 files
*.html10 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
  • 33 files match defined criteria (6,508 LOC, 4.6% vs. main code):
    • 19 *.cpp files (4,234 LOC)
    • 3 *.xml files (1,262 LOC)
    • 6 *.hpp files (590 LOC)
    • 4 *.xsl files (351 LOC)
    • 1 *.c files (71 LOC)
  • " *.cpp" is biggest, containing 65.06% of LOC.
  • " *.c" is smallest, containing 1.09% of LOC.


*.cpp4234 LOC (65%) 19 files
*.xml1262 LOC (19%) 3 files
*.hpp590 LOC (9%) 6 files
*.xsl351 LOC (5%) 4 files
*.c71 LOC (1%) 1 file
Other Code
txt
xsl
in
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
  • 76 files match defined criteria (5,702 LOC, 4.1% vs. main code):
    • 17 *.cpp files (2,285 LOC)
    • 9 *.txt files (1,669 LOC)
    • 29 *.xml files (561 LOC)
    • 13 *.xsl files (537 LOC)
    • 3 *.c files (360 LOC)
    • 2 *.hpp files (152 LOC)
    • 1 *.in files (106 LOC)
    • 1 *.md files (16 LOC)
    • 1 *.xslt files (16 LOC)
  • " *.cpp" is biggest, containing 40.07% of LOC.
  • " *.xslt" is smallest, containing 0.28% of LOC.


*.cpp2285 LOC (40%) 17 files
*.txt1669 LOC (29%) 9 files
*.xml561 LOC (9%) 29 files
*.xsl537 LOC (9%) 13 files
*.c360 LOC (6%) 3 files
*.hpp152 LOC (2%) 2 files
*.in106 LOC (1%) 1 file
*.md16 LOC (<1%) 1 file
*.xslt16 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:12