apache / manifoldcf
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
txt
xsl
xsd
wsdl
xslt
htaccess
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.

main269755 LOC (74%) 1,514 files
test21375 LOC (5%) 265 files
generated0 LOC (0%) 0 files
build and deployment24162 LOC (6%) 173 files
other48832 LOC (13%) 450 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
xsd
xsl
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1514 files match defined criteria (269,755 LOC, 100.0% vs. main code):
    • 1,117 *.java files (205,332 LOC)
    • 15 *.wsdl files (22,291 LOC)
    • 42 *.jsp files (13,023 LOC)
    • 189 *.html files (12,498 LOC)
    • 77 *.js files (5,494 LOC)
    • 16 *.xsd files (4,866 LOC)
    • 29 *.xml files (2,092 LOC)
    • 22 *.less files (1,925 LOC)
    • 1 *.c files (800 LOC)
    • 2 *.xsl files (722 LOC)
    • 2 *.css files (693 LOC)
    • 1 *.h files (13 LOC)
    • 1 *.cfg files (6 LOC)
  • " *.java" is biggest, containing 76.12% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java205332 LOC (76%) 1,117 files
*.wsdl22291 LOC (8%) 15 files
*.jsp13023 LOC (4%) 42 files
*.html12498 LOC (4%) 189 files
*.js5494 LOC (2%) 77 files
*.xsd4866 LOC (1%) 16 files
*.xml2092 LOC (<1%) 29 files
*.less1925 LOC (<1%) 22 files
*.c800 LOC (<1%) 1 file
*.xsl722 LOC (<1%) 2 files
*.css693 LOC (<1%) 2 files
*.h13 LOC (<1%) 1 file
*.cfg6 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 ".*/[Tt]ests/.*".
  • 265 files match defined criteria (21,375 LOC, 7.9% vs. main code):
    • 255 *.java files (18,553 LOC)
    • 2 *.py files (2,783 LOC)
    • 7 *.xml files (26 LOC)
    • 1 *.html files (13 LOC)
  • " *.java" is biggest, containing 86.8% of LOC.
  • " *.html" is smallest, containing 0.06% of LOC.


*.java18553 LOC (86%) 255 files
*.py2783 LOC (13%) 2 files
*.xml26 LOC (<1%) 7 files
*.html13 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*/assembly/src[.]xml".
  • 173 files match defined criteria (24,162 LOC, 9.0% vs. main code):
    • 124 *.xml files (23,016 LOC)
    • 25 *.bat files (690 LOC)
    • 24 *.sh files (456 LOC)
  • " *.xml" is biggest, containing 95.26% of LOC.
  • " *.sh" is smallest, containing 1.89% of LOC.


*.xml23016 LOC (95%) 124 files
*.bat690 LOC (2%) 25 files
*.sh456 LOC (1%) 24 files
Other Code
properties
txt
xsl
xslt
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 450 files match defined criteria (48,832 LOC, 18.1% vs. main code):
    • 311 *.properties files (21,734 LOC)
    • 53 *.xml files (14,619 LOC)
    • 37 *.txt files (4,788 LOC)
    • 22 *.xsl files (3,092 LOC)
    • 1 *.svg files (2,671 LOC)
    • 3 *.css files (646 LOC)
    • 4 *.json files (482 LOC)
    • 7 *.xslt files (381 LOC)
    • 6 *.js files (341 LOC)
    • 6 *.md files (78 LOC)
  • " *.properties" is biggest, containing 44.51% of LOC.
  • " *.md" is smallest, containing 0.16% of LOC.


*.properties21734 LOC (44%) 311 files
*.xml14619 LOC (29%) 53 files
*.txt4788 LOC (9%) 37 files
*.xsl3092 LOC (6%) 22 files
*.svg2671 LOC (5%) 1 file
*.css646 LOC (1%) 3 files
*.json482 LOC (<1%) 4 files
*.xslt381 LOC (<1%) 7 files
*.js341 LOC (<1%) 6 files
*.md78 LOC (<1%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:28