apache / flex-utilities
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
mxml
as
txt
properties
project
prefs
launch
npmignore
vcxproj
xsd
plist
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.

main217115 LOC (77%) 4,028 files
test27881 LOC (9%) 459 files
generated531 LOC (<1%) 1 file
build and deployment7221 LOC (2%) 100 files
other28062 LOC (9%) 650 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
vcxproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 4028 files match defined criteria (217,115 LOC, 100.0% vs. main code):
    • 1,774 *.html files (79,969 LOC)
    • 461 *.as files (51,008 LOC)
    • 251 *.css files (25,976 LOC)
    • 322 *.java files (22,240 LOC)
    • 875 *.mxml files (21,898 LOC)
    • 323 *.xml files (13,382 LOC)
    • 2 *.js files (1,186 LOC)
    • 6 *.cpp files (873 LOC)
    • 8 *.h files (209 LOC)
    • 1 *.vcxproj files (176 LOC)
    • 2 *.ftl files (81 LOC)
    • 1 *.jsx files (68 LOC)
    • 1 *.py files (43 LOC)
    • 1 *.php files (6 LOC)
  • " *.html" is biggest, containing 36.83% of LOC.
  • " *.php" is smallest, containing 0% of LOC.


*.html79969 LOC (36%) 1,774 files
*.as51008 LOC (23%) 461 files
*.css25976 LOC (11%) 251 files
*.java22240 LOC (10%) 322 files
*.mxml21898 LOC (10%) 875 files
*.xml13382 LOC (6%) 323 files
*.js1186 LOC (<1%) 2 files
*.cpp873 LOC (<1%) 6 files
*.h209 LOC (<1%) 8 files
*.vcxproj176 LOC (<1%) 1 file
*.ftl81 LOC (<1%) 2 files
*.jsx68 LOC (<1%) 1 file
*.py43 LOC (<1%) 1 file
*.php6 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 ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test_.*".
  • 459 files match defined criteria (27,881 LOC, 12.8% vs. main code):
    • 180 *.as files (14,878 LOC)
    • 218 *.java files (9,393 LOC)
    • 23 *.xml files (3,267 LOC)
    • 38 *.mxml files (343 LOC)
  • " *.as" is biggest, containing 53.36% of LOC.
  • " *.mxml" is smallest, containing 1.23% of LOC.


*.as14878 LOC (53%) 180 files
*.java9393 LOC (33%) 218 files
*.xml3267 LOC (11%) 23 files
*.mxml343 LOC (1%) 38 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 1 file matches defined criteria (531 LOC, 0.2% vs. main code). All matches are in *.xml files.


*.xml531 LOC (100%) 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
  • 100 files match defined criteria (7,221 LOC, 3.3% vs. main code):
    • 88 *.xml files (7,056 LOC)
    • 4 *.bat files (86 LOC)
    • 8 *.sh files (79 LOC)
  • " *.xml" is biggest, containing 97.71% of LOC.
  • " *.sh" is smallest, containing 1.09% of LOC.


*.xml7056 LOC (97%) 88 files
*.bat86 LOC (1%) 4 files
*.sh79 LOC (1%) 8 files
Other Code
txt
as
properties
mxml
xsd
plist
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]plist".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]md".
  • 650 files match defined criteria (28,062 LOC, 12.9% vs. main code):
    • 311 *.html files (9,788 LOC)
    • 146 *.txt files (7,973 LOC)
    • 27 *.as files (4,556 LOC)
    • 43 *.properties files (2,508 LOC)
    • 18 *.java files (1,133 LOC)
    • 31 *.xml files (1,030 LOC)
    • 66 *.mxml files (576 LOC)
    • 4 *.css files (323 LOC)
    • 1 *.json files (56 LOC)
    • 1 *.md files (53 LOC)
    • 1 *.xsd files (38 LOC)
    • 1 *.plist files (28 LOC)
  • " *.html" is biggest, containing 34.88% of LOC.
  • " *.plist" is smallest, containing 0.1% of LOC.


*.html9788 LOC (34%) 311 files
*.txt7973 LOC (28%) 146 files
*.as4556 LOC (16%) 27 files
*.properties2508 LOC (8%) 43 files
*.java1133 LOC (4%) 18 files
*.xml1030 LOC (3%) 31 files
*.mxml576 LOC (2%) 66 files
*.css323 LOC (1%) 4 files
*.json56 LOC (<1%) 1 file
*.md53 LOC (<1%) 1 file
*.xsd38 LOC (<1%) 1 file
*.plist28 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:17