apache / flex-external
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
mxml
as
prefs
project
txt
properties
cfc
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.

main587123 LOC (98%) 2,933 files
test1891 LOC (<1%) 13 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other5467 LOC (<1%) 47 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
cfc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2933 files match defined criteria (587,123 LOC, 100.0% vs. main code):
    • 930 *.html files (307,501 LOC)
    • 317 *.js files (166,487 LOC)
    • 259 *.as files (72,067 LOC)
    • 771 *.mxml files (20,084 LOC)
    • 102 *.xml files (9,740 LOC)
    • 524 *.css files (5,869 LOC)
    • 10 *.php files (2,900 LOC)
    • 5 *.cfc files (1,066 LOC)
    • 6 *.java files (839 LOC)
    • 8 *.sql files (520 LOC)
    • 1 *.htm files (50 LOC)
  • " *.html" is biggest, containing 52.37% of LOC.
  • " *.htm" is smallest, containing 0.01% of LOC.


*.html307501 LOC (52%) 930 files
*.js166487 LOC (28%) 317 files
*.as72067 LOC (12%) 259 files
*.mxml20084 LOC (3%) 771 files
*.xml9740 LOC (1%) 102 files
*.css5869 LOC (<1%) 524 files
*.php2900 LOC (<1%) 10 files
*.cfc1066 LOC (<1%) 5 files
*.java839 LOC (<1%) 6 files
*.sql520 LOC (<1%) 8 files
*.htm50 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/.*".
  • 13 files match defined criteria (1,891 LOC, 0.3% vs. main code):
    • 2 *.js files (1,322 LOC)
    • 7 *.html files (497 LOC)
    • 4 *.php files (72 LOC)
  • " *.js" is biggest, containing 69.91% of LOC.
  • " *.php" is smallest, containing 3.81% of LOC.


*.js1322 LOC (69%) 2 files
*.html497 LOC (26%) 7 files
*.php72 LOC (3%) 4 files
Other Code
txt
as
properties
mxml
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 ".*[.]txt".
    • files with paths like ".*/[Ss]amples/.*".
  • 47 files match defined criteria (5,467 LOC, 0.9% vs. main code):
    • 10 *.txt files (2,561 LOC)
    • 2 *.html files (1,346 LOC)
    • 6 *.as files (472 LOC)
    • 3 *.css files (252 LOC)
    • 8 *.properties files (237 LOC)
    • 1 *.js files (221 LOC)
    • 1 *.xml files (219 LOC)
    • 14 *.mxml files (135 LOC)
    • 1 *.bat files (20 LOC)
    • 1 *.sh files (4 LOC)
  • " *.txt" is biggest, containing 46.84% of LOC.
  • " *.sh" is smallest, containing 0.07% of LOC.


*.txt2561 LOC (46%) 10 files
*.html1346 LOC (24%) 2 files
*.as472 LOC (8%) 6 files
*.css252 LOC (4%) 3 files
*.properties237 LOC (4%) 8 files
*.js221 LOC (4%) 1 file
*.xml219 LOC (4%) 1 file
*.mxml135 LOC (2%) 14 files
*.bat20 LOC (<1%) 1 file
*.sh4 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:37