apache / royale-compiler
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
properties
txt
project
classpath
mxml
lex
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.

main313045 LOC (76%) 2,688 files
test70418 LOC (17%) 634 files
generated0 LOC (0%) 0 files
build and deployment5388 LOC (1%) 47 files
other18240 LOC (4%) 106 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
lex
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2688 files match defined criteria (313,045 LOC, 100.0% vs. main code):
    • 2,578 *.java files (299,914 LOC)
    • 28 *.xml files (4,988 LOC)
    • 4 *.g files (4,819 LOC)
    • 3 *.lex files (1,759 LOC)
    • 74 *.html files (1,426 LOC)
    • 1 *.groovy files (139 LOC)
  • " *.java" is biggest, containing 95.81% of LOC.
  • " *.groovy" is smallest, containing 0.04% of LOC.


*.java299914 LOC (95%) 2,578 files
*.xml4988 LOC (1%) 28 files
*.g4819 LOC (1%) 4 files
*.lex1759 LOC (<1%) 3 files
*.html1426 LOC (<1%) 74 files
*.groovy139 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 ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
  • 634 files match defined criteria (70,418 LOC, 22.5% vs. main code):
    • 346 *.java files (62,581 LOC)
    • 106 *.as files (3,478 LOC)
    • 84 *.js files (2,382 LOC)
    • 88 *.xml files (1,634 LOC)
    • 3 *.css files (223 LOC)
    • 6 *.mxml files (96 LOC)
    • 1 *.html files (24 LOC)
  • " *.java" is biggest, containing 88.87% of LOC.
  • " *.html" is smallest, containing 0.03% of LOC.


*.java62581 LOC (88%) 346 files
*.as3478 LOC (4%) 106 files
*.js2382 LOC (3%) 84 files
*.xml1634 LOC (2%) 88 files
*.css223 LOC (<1%) 3 files
*.mxml96 LOC (<1%) 6 files
*.html24 LOC (<1%) 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 ".*/pom[.]xml".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 47 files match defined criteria (5,388 LOC, 1.7% vs. main code):
    • 32 *.xml files (5,034 LOC)
    • 15 *.bat files (354 LOC)
  • " *.xml" is biggest, containing 93.43% of LOC.
  • " *.bat" is smallest, containing 6.57% of LOC.


*.xml5034 LOC (93%) 32 files
*.bat354 LOC (6%) 15 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
  • 106 files match defined criteria (18,240 LOC, 5.8% vs. main code):
    • 23 *.txt files (11,253 LOC)
    • 70 *.properties files (6,329 LOC)
    • 10 *.adoc files (402 LOC)
    • 3 *.md files (256 LOC)
  • " *.txt" is biggest, containing 61.69% of LOC.
  • " *.md" is smallest, containing 1.4% of LOC.


*.txt11253 LOC (61%) 23 files
*.properties6329 LOC (34%) 70 files
*.adoc402 LOC (2%) 10 files
*.md256 LOC (1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:29