apache / royale-asjs
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
sass
txt
project
prefs
properties
launch
xslt
gitattributes
xsl
cmd
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.

main955774 LOC (86%) 4,708 files
test47277 LOC (4%) 718 files
generated0 LOC (0%) 0 files
build and deployment37386 LOC (3%) 404 files
other68498 LOC (6%) 1,470 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
as
sass
mxml
xslt
launch
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 4708 files match defined criteria (955,774 LOC, 100.0% vs. main code):
    • 3,901 *.as files (825,635 LOC)
    • 135 *.css files (100,318 LOC)
    • 188 *.xml files (15,980 LOC)
    • 349 *.sass files (7,957 LOC)
    • 86 *.mxml files (3,205 LOC)
    • 13 *.java files (1,270 LOC)
    • 3 *.xslt files (536 LOC)
    • 5 *.groovy files (260 LOC)
    • 13 *.js files (250 LOC)
    • 5 *.html files (130 LOC)
    • 8 *.launch files (127 LOC)
    • 1 *.xsl files (77 LOC)
    • 1 *.rdf files (29 LOC)
  • " *.as" is biggest, containing 86.38% of LOC.
  • " *.rdf" is smallest, containing 0% of LOC.


*.as825635 LOC (86%) 3,901 files
*.css100318 LOC (10%) 135 files
*.xml15980 LOC (1%) 188 files
*.sass7957 LOC (<1%) 349 files
*.mxml3205 LOC (<1%) 86 files
*.java1270 LOC (<1%) 13 files
*.xslt536 LOC (<1%) 3 files
*.groovy260 LOC (<1%) 5 files
*.js250 LOC (<1%) 13 files
*.html130 LOC (<1%) 5 files
*.launch127 LOC (<1%) 8 files
*.xsl77 LOC (<1%) 1 file
*.rdf29 LOC (<1%) 1 file
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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/UnitTests?/.*".
    • files with paths like ".*UnitTests[.][a-zA-Z0-9_]+".
    • files with paths like ".*/test[.].*".
  • 718 files match defined criteria (47,277 LOC, 4.9% vs. main code):
    • 342 *.as files (39,303 LOC)
    • 326 *.mxml files (4,256 LOC)
    • 35 *.xml files (3,068 LOC)
    • 8 *.html files (440 LOC)
    • 5 *.js files (113 LOC)
    • 2 *.css files (97 LOC)
  • " *.as" is biggest, containing 83.13% of LOC.
  • " *.css" is smallest, containing 0.21% of LOC.


*.as39303 LOC (83%) 342 files
*.mxml4256 LOC (9%) 326 files
*.xml3068 LOC (6%) 35 files
*.html440 LOC (<1%) 8 files
*.js113 LOC (<1%) 5 files
*.css97 LOC (<1%) 2 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 ".*/pom[.]xml".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/[.]gitattributes".
  • 404 files match defined criteria (37,386 LOC, 3.9% vs. main code):
    • 401 *.xml files (37,180 LOC)
    • 2 *.bat files (126 LOC)
    • 1 *.sh files (80 LOC)
  • " *.xml" is biggest, containing 99.45% of LOC.
  • " *.sh" is smallest, containing 0.21% of LOC.


*.xml37180 LOC (99%) 401 files
*.bat126 LOC (<1%) 2 files
*.sh80 LOC (<1%) 1 file
Other Code
as
mxml
txt
properties
sass
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ss]amples/.*".
  • 1470 files match defined criteria (68,498 LOC, 7.2% vs. main code):
    • 256 *.as files (20,792 LOC)
    • 285 *.xml files (18,196 LOC)
    • 596 *.mxml files (15,388 LOC)
    • 132 *.json files (5,097 LOC)
    • 65 *.txt files (1,896 LOC)
    • 27 *.css files (1,653 LOC)
    • 2 *.js files (1,186 LOC)
    • 16 *.svg files (953 LOC)
    • 12 *.md files (863 LOC)
    • 36 *.html files (808 LOC)
    • 17 *.java files (671 LOC)
    • 18 *.properties files (590 LOC)
    • 8 *.sass files (405 LOC)
  • " *.as" is biggest, containing 30.35% of LOC.
  • " *.sass" is smallest, containing 0.59% of LOC.


*.as20792 LOC (30%) 256 files
*.xml18196 LOC (26%) 285 files
*.mxml15388 LOC (22%) 596 files
*.json5097 LOC (7%) 132 files
*.txt1896 LOC (2%) 65 files
*.css1653 LOC (2%) 27 files
*.js1186 LOC (1%) 2 files
*.svg953 LOC (1%) 16 files
*.md863 LOC (1%) 12 files
*.html808 LOC (1%) 36 files
*.java671 LOC (<1%) 17 files
*.properties590 LOC (<1%) 18 files
*.sass405 LOC (<1%) 8 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:33