apache / flex-tlf
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
mxml
project
txt
patch
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.

main73357 LOC (58%) 288 files
test39029 LOC (31%) 184 files
generated0 LOC (0%) 0 files
build and deployment297 LOC (<1%) 1 file
other11727 LOC (9%) 114 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
as
mxml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 288 files match defined criteria (73,357 LOC, 100.0% vs. main code):
    • 262 *.as files (72,269 LOC)
    • 21 *.mxml files (965 LOC)
    • 3 *.xml files (69 LOC)
    • 2 *.css files (54 LOC)
  • " *.as" is biggest, containing 98.52% of LOC.
  • " *.css" is smallest, containing 0.07% of LOC.


*.as72269 LOC (98%) 262 files
*.mxml965 LOC (1%) 21 files
*.xml69 LOC (<1%) 3 files
*.css54 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
as
mxml
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 ".*/UnitTests?/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 184 files match defined criteria (39,029 LOC, 53.2% vs. main code):
    • 84 *.as files (32,202 LOC)
    • 91 *.xml files (6,748 LOC)
    • 6 *.html files (69 LOC)
    • 3 *.mxml files (10 LOC)
  • " *.as" is biggest, containing 82.51% of LOC.
  • " *.mxml" is smallest, containing 0.03% of LOC.


*.as32202 LOC (82%) 84 files
*.xml6748 LOC (17%) 91 files
*.html69 LOC (<1%) 6 files
*.mxml10 LOC (<1%) 3 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (297 LOC, 0.4% vs. main code). All matches are in *.xml files.


*.xml297 LOC (100%) 1 file
Other Code
as
txt
patch
mxml
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 ".*[.]patch".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
  • 114 files match defined criteria (11,727 LOC, 16.0% vs. main code):
    • 87 *.as files (10,494 LOC)
    • 6 *.xml files (484 LOC)
    • 2 *.css files (233 LOC)
    • 7 *.txt files (176 LOC)
    • 2 *.html files (147 LOC)
    • 1 *.patch files (139 LOC)
    • 9 *.mxml files (54 LOC)
  • " *.as" is biggest, containing 89.49% of LOC.
  • " *.mxml" is smallest, containing 0.46% of LOC.


*.as10494 LOC (89%) 87 files
*.xml484 LOC (4%) 6 files
*.css233 LOC (1%) 2 files
*.txt176 LOC (1%) 7 files
*.html147 LOC (1%) 2 files
*.patch139 LOC (1%) 1 file
*.mxml54 LOC (<1%) 9 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:16