apache / axis-axis1-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
wsdl
dsp
txt
properties
xsd
project
spec
classpath
in
launch
l
y
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.

main88478 LOC (45%) 655 files
test84786 LOC (43%) 1,235 files
generated7882 LOC (4%) 61 files
build and deployment375 LOC (<1%) 8 files
other13310 LOC (6%) 166 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
y
in
l
spec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 655 files match defined criteria (88,478 LOC, 100.0% vs. main code):
    • 221 *.cpp files (47,105 LOC)
    • 88 *.java files (17,918 LOC)
    • 141 *.h files (6,688 LOC)
    • 144 *.hpp files (6,140 LOC)
    • 36 *.xml files (3,153 LOC)
    • 16 *.wsdl files (2,670 LOC)
    • 4 *.c files (2,598 LOC)
    • 1 *.y files (1,509 LOC)
    • 1 *.in files (316 LOC)
    • 1 *.l files (284 LOC)
    • 1 *.spec files (76 LOC)
    • 1 *.html files (21 LOC)
  • " *.cpp" is biggest, containing 53.24% of LOC.
  • " *.html" is smallest, containing 0.02% of LOC.


*.cpp47105 LOC (53%) 221 files
*.java17918 LOC (20%) 88 files
*.h6688 LOC (7%) 141 files
*.hpp6140 LOC (6%) 144 files
*.xml3153 LOC (3%) 36 files
*.wsdl2670 LOC (3%) 16 files
*.c2598 LOC (2%) 4 files
*.y1509 LOC (1%) 1 file
*.in316 LOC (<1%) 1 file
*.l284 LOC (<1%) 1 file
*.spec76 LOC (<1%) 1 file
*.html21 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 1235 files match defined criteria (84,786 LOC, 95.8% vs. main code):
    • 406 *.cpp files (36,712 LOC)
    • 159 *.wsdl files (29,242 LOC)
    • 89 *.c files (7,024 LOC)
    • 487 *.xml files (7,006 LOC)
    • 14 *.java files (1,835 LOC)
    • 11 *.xsd files (1,097 LOC)
    • 28 *.h files (761 LOC)
    • 20 *.hpp files (707 LOC)
    • 21 *.sh files (402 LOC)
  • " *.cpp" is biggest, containing 43.3% of LOC.
  • " *.sh" is smallest, containing 0.47% of LOC.


*.cpp36712 LOC (43%) 406 files
*.wsdl29242 LOC (34%) 159 files
*.c7024 LOC (8%) 89 files
*.xml7006 LOC (8%) 487 files
*.java1835 LOC (2%) 14 files
*.xsd1097 LOC (1%) 11 files
*.h761 LOC (<1%) 28 files
*.hpp707 LOC (<1%) 20 files
*.sh402 LOC (<1%) 21 files
Generated Code
Automatically generated files, not manually changed after generation.
dsp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]dsp" AND any line of content like ".*[#] Microsoft Developer Studio Generated Build File.*".
  • 61 files match defined criteria (7,882 LOC, 8.9% vs. main code). All matches are in *.dsp files.


*.dsp7882 LOC (100%) 61 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 ".*/build[.]xml".
  • 8 files match defined criteria (375 LOC, 0.4% vs. main code):
    • 3 *.xml files (339 LOC)
    • 5 *.sh files (36 LOC)
  • " *.xml" is biggest, containing 90.4% of LOC.
  • " *.sh" is smallest, containing 9.6% of LOC.


*.xml339 LOC (90%) 3 files
*.sh36 LOC (9%) 5 files
Other Code
dsp
txt
properties
wsdl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]dsp".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
  • 166 files match defined criteria (13,310 LOC, 15.0% vs. main code):
    • 61 *.dsp files (7,882 LOC)
    • 37 *.cpp files (2,866 LOC)
    • 30 *.txt files (1,594 LOC)
    • 16 *.properties files (642 LOC)
    • 4 *.hpp files (99 LOC)
    • 2 *.wsdl files (78 LOC)
    • 3 *.h files (56 LOC)
    • 2 *.c files (41 LOC)
    • 3 *.java files (32 LOC)
    • 8 *.sh files (20 LOC)
  • " *.dsp" is biggest, containing 59.22% of LOC.
  • " *.sh" is smallest, containing 0.15% of LOC.


*.dsp7882 LOC (59%) 61 files
*.cpp2866 LOC (21%) 37 files
*.txt1594 LOC (11%) 30 files
*.properties642 LOC (4%) 16 files
*.hpp99 LOC (<1%) 4 files
*.wsdl78 LOC (<1%) 2 files
*.h56 LOC (<1%) 3 files
*.c41 LOC (<1%) 2 files
*.java32 LOC (<1%) 3 files
*.sh20 LOC (<1%) 8 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 23:39