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.

main312267 LOC (79%) 2,686 files
test57516 LOC (14%) 625 files
generated0 LOC (0%) 0 files
build and deployment5394 LOC (1%) 47 files
other18170 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 ".*".
  • 2686 files match defined criteria (312,267 LOC, 100.0% vs. main code):
    • 2,576 *.java files (299,393 LOC)
    • 28 *.xml files (4,964 LOC)
    • 4 *.g files (4,586 LOC)
    • 3 *.lex files (1,759 LOC)
    • 74 *.html files (1,426 LOC)
    • 1 *.groovy files (139 LOC)
  • " *.java" is biggest, containing 95.88% of LOC.
  • " *.groovy" is smallest, containing 0.04% of LOC.


*.java299393 LOC (95%) 2,576 files
*.xml4964 LOC (1%) 28 files
*.g4586 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 ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 625 files match defined criteria (57,516 LOC, 18.4% vs. main code):
    • 347 *.java files (50,004 LOC)
    • 101 *.as files (3,311 LOC)
    • 83 *.js files (2,299 LOC)
    • 86 *.xml files (1,577 LOC)
    • 2 *.css files (220 LOC)
    • 5 *.mxml files (81 LOC)
    • 1 *.html files (24 LOC)
  • " *.java" is biggest, containing 86.94% of LOC.
  • " *.html" is smallest, containing 0.04% of LOC.


*.java50004 LOC (86%) 347 files
*.as3311 LOC (5%) 101 files
*.js2299 LOC (3%) 83 files
*.xml1577 LOC (2%) 86 files
*.css220 LOC (<1%) 2 files
*.mxml81 LOC (<1%) 5 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 ".*/build[.]xml".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 47 files match defined criteria (5,394 LOC, 1.7% vs. main code):
    • 32 *.xml files (5,040 LOC)
    • 15 *.bat files (354 LOC)
  • " *.xml" is biggest, containing 93.44% of LOC.
  • " *.bat" is smallest, containing 6.56% of LOC.


*.xml5040 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 ".*/[.]gitignore".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
  • 106 files match defined criteria (18,170 LOC, 5.8% vs. main code):
    • 23 *.txt files (11,253 LOC)
    • 70 *.properties files (6,325 LOC)
    • 10 *.adoc files (402 LOC)
    • 3 *.md files (190 LOC)
  • " *.txt" is biggest, containing 61.93% of LOC.
  • " *.md" is smallest, containing 1.05% of LOC.


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


2023-08-10 14:16