apache / tapestry3
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
cvsignore
xsl
mod
launch
phtml
project
patch
policy
classpath
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.

main110634 LOC (94%) 1,430 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment2010 LOC (1%) 24 files
other4821 LOC (4%) 107 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mod
xsl
launch
policy
phtml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1430 files match defined criteria (110,634 LOC, 100.0% vs. main code):
    • 832 *.java files (51,630 LOC)
    • 153 *.xml files (28,165 LOC)
    • 395 *.html files (17,932 LOC)
    • 5 *.mod files (7,537 LOC)
    • 18 *.xsl files (2,175 LOC)
    • 6 *.js files (1,403 LOC)
    • 12 *.css files (1,221 LOC)
    • 4 *.launch files (359 LOC)
    • 1 *.py files (91 LOC)
    • 1 *.jsp files (53 LOC)
    • 1 *.sql files (53 LOC)
    • 1 *.policy files (10 LOC)
    • 1 *.phtml files (5 LOC)
  • " *.java" is biggest, containing 46.67% of LOC.
  • " *.phtml" is smallest, containing 0% of LOC.


*.java51630 LOC (46%) 832 files
*.xml28165 LOC (25%) 153 files
*.html17932 LOC (16%) 395 files
*.mod7537 LOC (6%) 5 files
*.xsl2175 LOC (1%) 18 files
*.js1403 LOC (1%) 6 files
*.css1221 LOC (1%) 12 files
*.launch359 LOC (<1%) 4 files
*.py91 LOC (<1%) 1 file
*.jsp53 LOC (<1%) 1 file
*.sql53 LOC (<1%) 1 file
*.policy10 LOC (<1%) 1 file
*.phtml5 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 ".*/build[.]xml".
    • files with paths like ".*[.]cvsignore".
    • files with paths like ".*/pom[.]xml".
  • 24 files match defined criteria (2,010 LOC, 1.8% vs. main code). All matches are in *.xml files.


*.xml2010 LOC (100%) 24 files
Other Code
patch
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]cvsignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
  • 107 files match defined criteria (4,821 LOC, 4.4% vs. main code):
    • 1 *.patch files (1,124 LOC)
    • 27 *.txt files (1,088 LOC)
    • 17 *.java files (930 LOC)
    • 59 *.properties files (862 LOC)
    • 1 *.svg files (775 LOC)
    • 2 *.html files (42 LOC)
  • " *.patch" is biggest, containing 23.31% of LOC.
  • " *.html" is smallest, containing 0.87% of LOC.


*.patch1124 LOC (23%) 1 file
*.txt1088 LOC (22%) 27 files
*.java930 LOC (19%) 17 files
*.properties862 LOC (17%) 59 files
*.svg775 LOC (16%) 1 file
*.html42 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 10:33