apache / axis-axis2-c-rampart
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
cgi
in
properties
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.

main42910 LOC (78%) 234 files
test776 LOC (1%) 24 files
generated0 LOC (0%) 0 files
build and deployment267 LOC (<1%) 9 files
other10922 LOC (19%) 128 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 234 files match defined criteria (42,910 LOC, 100.0% vs. main code):
    • 129 *.c files (34,136 LOC)
    • 88 *.h files (7,492 LOC)
    • 7 *.html files (753 LOC)
    • 8 *.xml files (514 LOC)
    • 1 *.in files (9 LOC)
    • 1 *.cgi files (6 LOC)
  • " *.c" is biggest, containing 79.55% of LOC.
  • " *.cgi" is smallest, containing 0.01% of LOC.


*.c34136 LOC (79%) 129 files
*.h7492 LOC (17%) 88 files
*.html753 LOC (1%) 7 files
*.xml514 LOC (1%) 8 files
*.in9 LOC (<1%) 1 file
*.cgi6 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 ".*_test[.].*".
  • 24 files match defined criteria (776 LOC, 1.8% vs. main code):
    • 7 *.c files (643 LOC)
    • 17 *.xml files (133 LOC)
  • " *.c" is biggest, containing 82.86% of LOC.
  • " *.xml" is smallest, containing 17.14% of LOC.


*.c643 LOC (82%) 7 files
*.xml133 LOC (17%) 17 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 9 files match defined criteria (267 LOC, 0.6% vs. main code):
    • 7 *.sh files (249 LOC)
    • 2 *.bat files (18 LOC)
  • " *.sh" is biggest, containing 93.26% of LOC.
  • " *.bat" is smallest, containing 6.74% of LOC.


*.sh249 LOC (93%) 7 files
*.bat18 LOC (6%) 2 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 128 files match defined criteria (10,922 LOC, 25.5% vs. main code):
    • 77 *.xml files (6,282 LOC)
    • 20 *.c files (3,385 LOC)
    • 9 *.txt files (775 LOC)
    • 10 *.sh files (194 LOC)
    • 2 *.js files (131 LOC)
    • 6 *.bat files (80 LOC)
    • 3 *.h files (46 LOC)
    • 1 *.properties files (29 LOC)
  • " *.xml" is biggest, containing 57.52% of LOC.
  • " *.properties" is smallest, containing 0.27% of LOC.


*.xml6282 LOC (57%) 77 files
*.c3385 LOC (30%) 20 files
*.txt775 LOC (7%) 9 files
*.sh194 LOC (1%) 10 files
*.js131 LOC (1%) 2 files
*.bat80 LOC (<1%) 6 files
*.h46 LOC (<1%) 3 files
*.properties29 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 23:38