apache / royale-typedefs
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
as
patch
properties
txt
cmd
dita
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.

main4825 LOC (51%) 60 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment3512 LOC (37%) 25 files
other1086 LOC (11%) 5 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
as
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 60 files match defined criteria (4,825 LOC, 100.0% vs. main code):
    • 31 *.as files (2,378 LOC)
    • 25 *.xml files (1,898 LOC)
    • 4 *.js files (549 LOC)
  • " *.as" is biggest, containing 49.28% of LOC.
  • " *.js" is smallest, containing 11.38% of LOC.


*.as2378 LOC (49%) 31 files
*.xml1898 LOC (39%) 25 files
*.js549 LOC (11%) 4 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 ".*/build[.]xml".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 25 files match defined criteria (3,512 LOC, 72.8% vs. main code). All matches are in *.xml files.


*.xml3512 LOC (100%) 25 files
Other Code
patch
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]txt".
  • 5 files match defined criteria (1,086 LOC, 22.5% vs. main code):
    • 3 *.patch files (1,032 LOC)
    • 1 *.md files (31 LOC)
    • 1 *.properties files (23 LOC)
  • " *.patch" is biggest, containing 95.03% of LOC.
  • " *.properties" is smallest, containing 2.12% of LOC.


*.patch1032 LOC (95%) 3 files
*.md31 LOC (2%) 1 file
*.properties23 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 17:03