apache / flex-flexunit
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
project
prefs
xsl
properties
classpath
txt
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.

main125383 LOC (72%) 1,347 files
test45257 LOC (26%) 728 files
generated0 LOC (0%) 0 files
build and deployment2203 LOC (1%) 29 files
other419 LOC (<1%) 9 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
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1347 files match defined criteria (125,383 LOC, 100.0% vs. main code):
    • 891 *.as files (72,603 LOC)
    • 74 *.js files (39,144 LOC)
    • 142 *.html files (6,720 LOC)
    • 37 *.java files (2,545 LOC)
    • 16 *.xml files (2,339 LOC)
    • 110 *.mxml files (1,222 LOC)
    • 73 *.css files (597 LOC)
    • 4 *.xsl files (213 LOC)
  • " *.as" is biggest, containing 57.9% of LOC.
  • " *.xsl" is smallest, containing 0.17% of LOC.


*.as72603 LOC (57%) 891 files
*.js39144 LOC (31%) 74 files
*.html6720 LOC (5%) 142 files
*.java2545 LOC (2%) 37 files
*.xml2339 LOC (1%) 16 files
*.mxml1222 LOC (<1%) 110 files
*.css597 LOC (<1%) 73 files
*.xsl213 LOC (<1%) 4 files
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 ".*/[Tt]ests/.*".
  • 728 files match defined criteria (45,257 LOC, 36.1% vs. main code):
    • 632 *.as files (42,567 LOC)
    • 92 *.xml files (2,632 LOC)
    • 1 *.java files (40 LOC)
    • 3 *.mxml files (18 LOC)
  • " *.as" is biggest, containing 94.06% of LOC.
  • " *.mxml" is smallest, containing 0.04% of LOC.


*.as42567 LOC (94%) 632 files
*.xml2632 LOC (5%) 92 files
*.java40 LOC (<1%) 1 file
*.mxml18 LOC (<1%) 3 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 ".*/build[.]xml".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 29 files match defined criteria (2,203 LOC, 1.8% vs. main code):
    • 22 *.xml files (2,016 LOC)
    • 7 *.sh files (187 LOC)
  • " *.xml" is biggest, containing 91.51% of LOC.
  • " *.sh" is smallest, containing 8.49% of LOC.


*.xml2016 LOC (91%) 22 files
*.sh187 LOC (8%) 7 files
Other Code
as
properties
mxml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
  • 9 files match defined criteria (419 LOC, 0.3% vs. main code):
    • 4 *.md files (262 LOC)
    • 2 *.as files (94 LOC)
    • 2 *.properties files (52 LOC)
    • 1 *.mxml files (11 LOC)
  • " *.md" is biggest, containing 62.53% of LOC.
  • " *.mxml" is smallest, containing 2.63% of LOC.


*.md262 LOC (62%) 4 files
*.as94 LOC (22%) 2 files
*.properties52 LOC (12%) 2 files
*.mxml11 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:39