Aerie CLOC Results #565
Replies: 4 comments 1 reply
-
This is good start! I do think we want a little more granularity that splits up different components of the backend services. If we can do this simply by mapping SLOCs to our current directory structure, that would work well. It would also aid in the mapping of our requirements back to specific components, which will be required for our formal delivery to MGSS. Example Components:
|
Beta Was this translation helpful? Give feedback.
-
Here is an updated CLOC run against individual components in the Aerie repo: TotalsCloc ResultsThis is a table totaling the cloc results against every Aerie component below.
ComponentsConfigurationdeploymentConfiguration files for deployment. Mostly Postgres, Hasura, and Docker configuration. Cloc Results (Files: 125, Blank: 606, Comment: 198, Code: 5044)
Java LibrariesconstraintsJava library for constraint checking. Cloc Results (Files: 76, Blank: 1729, Comment: 617, Code: 8289)
contribJava library of common convenience classes for mission models. Cloc Results (Files: 48, Blank: 407, Comment: 95, Code: 2053)
merlin-driverJava library for discrete-event simulation execution. Cloc Results (Files: 50, Blank: 614, Comment: 454, Code: 2861)
merlin-frameworkJava library for writing mission models. Cloc Results (Files: 28, Blank: 316, Comment: 189, Code: 1340)
merlin-framework-junitJava library extension of JUnit to unit test mission models. Cloc Results (Files: 2, Blank: 32, Comment: 3, Code: 196)
merlin-framework-processorJava library for annotation processing in mission models. Cloc Results (Files: 21, Blank: 361, Comment: 106, Code: 2732)
merlin-sdkJava library interface between mission models and the merlin-driver. Cloc Results (Files: 36, Blank: 456, Comment: 1276, Code: 1504)
parsing-utilitiesJava library for JSON serialization and deserialization. Cloc Results (Files: 15, Blank: 255, Comment: 427, Code: 1218)
scheduler-driverJava library for goal-oriented scheduling execution. Cloc Results (Files: 115, Blank: 2161, Comment: 2814, Code: 8579)
Servicesmerlin-serverService for planning and simulation. Cloc Results (Files: 199, Blank: 2545, Comment: 1623, Code: 15305)
merlin-workerService that executes concurrent scheduling requests. Cloc Results (Files: 9, Blank: 55, Comment: 3, Code: 270)
scheduler-serverService for scheduling. Cloc Results (Files: 111, Blank: 769, Comment: 583, Code: 4833)
scheduler-workerService that executes concurrent scheduling requests. Cloc Results (Files: 31, Blank: 828, Comment: 1769, Code: 6305)
sequencing-serverService for sequence generation and management. Cloc Results (Files: 66, Blank: 865, Comment: 823, Code: 17831)
Example Mission ModelsexamplesDifferent examples of simple Aerie mission models. Cloc Results (Files: 59, Blank: 401, Comment: 148, Code: 2447)
End-to-End Testsdb-testsAerie repo database tests. Cloc Results (Files: 6, Blank: 529, Comment: 168, Code: 3463)
e2e-testsAerie repo end-to-end tests. Cloc Results (Files: 29, Blank: 185, Comment: 167, Code: 2109)
|
Beta Was this translation helpful? Give feedback.
-
This is excellent @camargo. I passed along the results to the folks that run the SEER-SEM cost model. |
Beta Was this translation helpful? Give feedback.
-
Here is an updated CLOC run against individual components in the Aerie repo from February 2024: Totals from 2.2.1235598 + 118326 = 353924 Aerie 2.2.1cd aerie
git checkout 4cc858aca76600ac05c09646cfbba0c8ef689abd
git log -n 1
npx cloc -md --exclude-dir=node_modules,.gradle,third-party .
Aerie Ui 2.2.1cd aerie-ui
git checkout 484bb3d643a48afecc92a83ebf3c52a610206cb3
git log -n 1
ConfigurationdeploymentConfiguration files for deployment. Mostly Postgres, Hasura, and Docker configuration. Cloc Results (Files: 351, Blank: 2528, Comment: 1217, Code: 23471)
Java LibrariesconstraintsJava library for constraint checking. Cloc Results (Files: 93, Blank: 2054, Comment: 709, Code: 10265)
contribJava library of common convenience classes for mission models. Cloc Results (Files: 51, Blank: 425, Comment: 116, Code: 2173)
merlin-driverJava library for discrete-event simulation execution. Cloc Results (Files: 55, Blank: 845, Comment: 637, Code: 5117)
merlin-frameworkJava library for writing mission models. Cloc Results (Files: 30, Blank: 353, Comment: 293, Code: 1506)
merlin-framework-junitJava library extension of JUnit to unit test mission models. Cloc Results (Files: 2, Blank: 32, Comment: 3, Code: 196)
merlin-framework-processorJava library for annotation processing in mission models. Cloc Results (Files: 22, Blank: 383, Comment: 193, Code: 3213)
merlin-sdkJava library interface between mission models and the merlin-driver. Cloc Results (Files: 34, Blank: 286, Comment: 1307, Code: 1139)
parsing-utilitiesJava library for JSON serialization and deserialization. Cloc Results (Files: 15, Blank: 257, Comment: 427, Code: 1230)
scheduler-driverJava library for goal-oriented scheduling execution. Cloc Results (Files: 117, Blank: 2068, Comment: 3348, Code: 9808)
merlin-framework-junitJava library extension of JUnit to unit test mission models. Cloc Results (Files: 2, Blank: 32, Comment: 3, Code: 196)
Servicesmerlin-serverService for planning and simulation. Cloc Results (Files: 237, Blank: 2840, Comment: 2121, Code: 17521)
merlin-workerService that executes concurrent simulation requests. Cloc Results (Files: 10, Blank: 63, Comment: 19, Code: 329)
scheduler-serverService for scheduling. Cloc Results (Files: 118, Blank: 860, Comment: 644, Code: 6202)
scheduler-workerService that executes concurrent scheduling requests. Cloc Results (Files: 31, Blank: 1158, Comment: 2325, Code: 7981)
sequencing-serverService for sequence generation and management. Cloc Results (Files: 77, Blank: 1447, Comment: 1515, Code: 14721)
Example Mission ModelsexamplesDifferent examples of simple Aerie mission models. Cloc Results (Files: 72, Blank: 476, Comment: 182, Code: 2832)
Testsdb-testsAerie repo database tests. Cloc Results (Files: 12, Blank: 1080, Comment: 446, Code: 6992)
e2e-testsAerie repo end-to-end tests. Cloc Results (Files: 39, Blank: 584, Comment: 553, Code: 5577)
load-testsAerie repo load tests. Cloc Results (Files: 9, Blank: 109, Comment: 37, Code: 474)
|
Beta Was this translation helpful? Give feedback.
-
This is the results of running cloc against the Aerie repositories.
Last run against
develop
on Jan 3rd, 2022.Total
112573 + 25529 = 138102
Aerie Backend Services and Java Libraries
Aerie UI
https://github.com/NASA-AMMOS/aerie-ui/actions/runs/3796771830/jobs/6457162382
Beta Was this translation helpful? Give feedback.
All reactions