apache / flex-sdk
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
properties
txt
dita
mod
project
xslt
prefs
classpath
pb
jsfl
props
vbs
xsl
launch
scm
dsp
xsd
wsdl
sed
org
cfg
asmx
asc
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.

main1221431 LOC (66%) 4,258 files
test484058 LOC (26%) 9,388 files
generated118 LOC (<1%) 1 file
build and deployment11698 LOC (<1%) 73 files
other119690 LOC (6%) 2,332 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
xslt
xsd
jsfl
vbs
asc
pb
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 4258 files match defined criteria (1,221,431 LOC, 100.0% vs. main code):
    • 2,253 *.as files (864,605 LOC)
    • 1,305 *.java files (268,200 LOC)
    • 157 *.xml files (47,883 LOC)
    • 408 *.mxml files (17,649 LOC)
    • 20 *.xslt files (11,273 LOC)
    • 35 *.css files (8,069 LOC)
    • 6 *.js files (2,050 LOC)
    • 60 *.html files (598 LOC)
    • 1 *.xsd files (444 LOC)
    • 3 *.jsfl files (253 LOC)
    • 2 *.cpp files (251 LOC)
    • 1 *.awk files (59 LOC)
    • 3 *.h files (41 LOC)
    • 2 *.vbs files (40 LOC)
    • 1 *.asc files (9 LOC)
    • 1 *.pb files (7 LOC)
  • " *.as" is biggest, containing 70.79% of LOC.
  • " *.pb" is smallest, containing 0% of LOC.


*.as864605 LOC (70%) 2,253 files
*.java268200 LOC (21%) 1,305 files
*.xml47883 LOC (3%) 157 files
*.mxml17649 LOC (1%) 408 files
*.xslt11273 LOC (<1%) 20 files
*.css8069 LOC (<1%) 35 files
*.js2050 LOC (<1%) 6 files
*.html598 LOC (<1%) 60 files
*.xsd444 LOC (<1%) 1 file
*.jsfl253 LOC (<1%) 3 files
*.cpp251 LOC (<1%) 2 files
*.awk59 LOC (<1%) 1 file
*.h41 LOC (<1%) 3 files
*.vbs40 LOC (<1%) 2 files
*.asc9 LOC (<1%) 1 file
*.pb7 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
mxml
as
wsdl
asmx
launch
org
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*_tests[.].*".
  • 9388 files match defined criteria (484,058 LOC, 39.6% vs. main code):
    • 8,299 *.mxml files (356,314 LOC)
    • 556 *.as files (83,865 LOC)
    • 301 *.xml files (37,339 LOC)
    • 110 *.css files (4,666 LOC)
    • 108 *.sh files (1,055 LOC)
    • 7 *.java files (386 LOC)
    • 1 *.wsdl files (222 LOC)
    • 1 *.asmx files (174 LOC)
    • 2 *.launch files (23 LOC)
    • 1 *.org files (8 LOC)
    • 1 *.html files (5 LOC)
    • 1 *.cfg files (1 LOC)
  • " *.mxml" is biggest, containing 73.61% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.mxml356314 LOC (73%) 8,299 files
*.as83865 LOC (17%) 556 files
*.xml37339 LOC (7%) 301 files
*.css4666 LOC (<1%) 110 files
*.sh1055 LOC (<1%) 108 files
*.java386 LOC (<1%) 7 files
*.wsdl222 LOC (<1%) 1 file
*.asmx174 LOC (<1%) 1 file
*.launch23 LOC (<1%) 2 files
*.org8 LOC (<1%) 1 file
*.html5 LOC (<1%) 1 file
*.cfg1 LOC (<1%) 1 file
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.*".
  • 1 file matches defined criteria (118 LOC, 0.0% vs. main code). All matches are in *.dsp files.


*.dsp118 LOC (100%) 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 73 files match defined criteria (11,698 LOC, 1.0% vs. main code):
    • 48 *.xml files (9,108 LOC)
    • 19 *.sh files (2,089 LOC)
    • 6 *.bat files (501 LOC)
  • " *.xml" is biggest, containing 77.86% of LOC.
  • " *.bat" is smallest, containing 4.28% of LOC.


*.xml9108 LOC (77%) 48 files
*.sh2089 LOC (17%) 19 files
*.bat501 LOC (4%) 6 files
Other Code
properties
txt
mxml
as
pb
dsp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]dsp".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]scm".
  • 2332 files match defined criteria (119,690 LOC, 9.8% vs. main code):
    • 1,647 *.properties files (72,445 LOC)
    • 64 *.txt files (25,700 LOC)
    • 578 *.mxml files (14,254 LOC)
    • 9 *.css files (3,618 LOC)
    • 18 *.as files (2,491 LOC)
    • 10 *.xml files (482 LOC)
    • 2 *.pb files (271 LOC)
    • 1 *.js files (158 LOC)
    • 2 *.html files (153 LOC)
    • 1 *.dsp files (118 LOC)
  • " *.properties" is biggest, containing 60.53% of LOC.
  • " *.dsp" is smallest, containing 0.1% of LOC.


*.properties72445 LOC (60%) 1,647 files
*.txt25700 LOC (21%) 64 files
*.mxml14254 LOC (11%) 578 files
*.css3618 LOC (3%) 9 files
*.as2491 LOC (2%) 18 files
*.xml482 LOC (<1%) 10 files
*.pb271 LOC (<1%) 2 files
*.js158 LOC (<1%) 1 file
*.html153 LOC (<1%) 2 files
*.dsp118 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:19