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.

main944955 LOC (86%) 4,693 files
test46464 LOC (4%) 716 files
generated0 LOC (0%) 0 files
build and deployment37102 LOC (3%) 404 files
other68007 LOC (6%) 1,444 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 ".*".
  • 4693 files match defined criteria (944,955 LOC, 100.0% vs. main code):
    • 3,887 *.as files (815,023 LOC)
    • 135 *.css files (100,311 LOC)
    • 188 *.xml files (15,920 LOC)
    • 349 *.sass files (7,845 LOC)
    • 86 *.mxml files (3,206 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)
  • " *.as" is biggest, containing 86.25% of LOC.
  • " *.xsl" is smallest, containing 0.01% of LOC.


*.as815023 LOC (86%) 3,887 files
*.css100311 LOC (10%) 135 files
*.xml15920 LOC (1%) 188 files
*.sass7845 LOC (<1%) 349 files
*.mxml3206 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
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]ests/.*".
    • files with paths like ".*/UnitTests?/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*_test[.].*".
  • 716 files match defined criteria (46,464 LOC, 4.9% vs. main code):
    • 340 *.as files (38,490 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 82.84% of LOC.
  • " *.css" is smallest, containing 0.21% of LOC.


*.as38490 LOC (82%) 340 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
  • 404 files match defined criteria (37,102 LOC, 3.9% vs. main code):
    • 401 *.xml files (36,896 LOC)
    • 2 *.bat files (126 LOC)
    • 1 *.sh files (80 LOC)
  • " *.xml" is biggest, containing 99.44% of LOC.
  • " *.sh" is smallest, containing 0.22% of LOC.


*.xml36896 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 ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Ss]amples/.*".
  • 1444 files match defined criteria (68,007 LOC, 7.2% vs. main code):
    • 254 *.as files (20,662 LOC)
    • 267 *.xml files (17,740 LOC)
    • 596 *.mxml files (15,333 LOC)
    • 131 *.json files (4,937 LOC)
    • 61 *.txt files (1,814 LOC)
    • 27 *.css files (1,653 LOC)
    • 36 *.html files (1,303 LOC)
    • 2 *.js files (1,186 LOC)
    • 16 *.svg files (953 LOC)
    • 11 *.md files (761 LOC)
    • 17 *.java files (671 LOC)
    • 18 *.properties files (589 LOC)
    • 8 *.sass files (405 LOC)
  • " *.as" is biggest, containing 30.38% of LOC.
  • " *.sass" is smallest, containing 0.6% of LOC.


*.as20662 LOC (30%) 254 files
*.xml17740 LOC (26%) 267 files
*.mxml15333 LOC (22%) 596 files
*.json4937 LOC (7%) 131 files
*.txt1814 LOC (2%) 61 files
*.css1653 LOC (2%) 27 files
*.html1303 LOC (1%) 36 files
*.js1186 LOC (1%) 2 files
*.svg953 LOC (1%) 16 files
*.md761 LOC (1%) 11 files
*.java671 LOC (<1%) 17 files
*.properties589 LOC (<1%) 18 files
*.sass405 LOC (<1%) 8 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:37