Skip to content

Commit a3d9c99

Browse files
committed
starting to prepare better scripts for SUT table
1 parent 9b41603 commit a3d9c99

5 files changed

Lines changed: 70 additions & 33 deletions

File tree

notes_adding_suts.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,18 @@ As there are quite a few things to keep in mind, we list here the most important
7575
Need to specify the license, folder location on EMB, and original source repositories.
7676
See other SUT entries to check exactly how to do it (especially how to add clickable links in Markdown).
7777

78+
- the content of folder "statistics" needs to be updated.
79+
In particular, need to create a new entry for the API in "data.csv" file.
80+
To count #Files, can use bash command
81+
82+
find . -name *.java | wc -l
83+
84+
assuming the project is in Java (.kt for Kotlin otherwise).
85+
Note that this pick up everything, including tests, and automatically generated files from build (eg. for .proto)/
86+
To count LOCs, can use
87+
88+
cat `find . -name *.java` | wc -l
89+
7890
- the drivers should be written under "jdk_X_Y/em/embedded" and "jdk_X_Y/em/external", following the same tree structure
7991
of the SUT under "cs", eg, "jdk_17_maven/cs/grpc/NAME" would lead to embedded driver be under
8092
"jdk_17_maven/em/embedded/grpc/NAME".

statistics/analyze.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
# NAME,TYPE,LANGUAGE,FILES,LOCS,DATABASE,LICENSE,URL
2+
#NAME,TYPE,LANGUAGE,FILES,LOCS,DATABASE,LICENSE,ENDPOINTS,URL
33
DATA_FILE="./data.csv"
44

5-
latexTable <- function(){
5+
oldLatexTable <- function(){
66

77
dt <- read.csv(DATA_FILE,header=T)
88

statistics/data.csv

Lines changed: 25 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
1-
NAME,TYPE,LANGUAGE,FILES,LOCS,DATABASE,LICENSE,URL
2-
cyclotron,REST,JavaScript,25,5803,MongoDB,MIT,https://github.com/ExpediaInceCommercePlatform/cyclotron
3-
disease-sh-api,REST,JavaScript,57,3343,Redis,GPL,https://github.com/disease-sh/API
4-
js-rest-ncs,REST,JavaScript,8,775,,UNDEFINED,UNDEFINED
5-
js-rest-scs,REST,JavaScript,13,1046,,UNDEFINED,UNDEFINED
6-
realworld-app,REST,TypeScript,37,1229,MySQL,ISC,https://github.com/lujakob/nestjs-realworld-example-app
7-
spacex-api,REST,JavaScript,63,4966,MongoDB,Apache,https://github.com/r-spacex/SpaceX-API
8-
catwatch,REST,Java,106,9636,H2,Apache,https://github.com/zalando-incubator/catwatch
9-
cwa-verification,REST,Java,47,3955,H2,Apache,https://github.com/corona-warn-app/cwa-verification-server
10-
features-service,REST,Java,39,2275,H2,Apache,https://github.com/JavierMF/features-service
11-
gestaohospital-rest,REST,Java,33,3506,MongoDB,UNDEFINED,https://github.com/ValchanOficial/GestaoHospital
12-
languagetool,REST,Java,1385,174781,,LGPL,https://github.com/languagetool-org/languagetool
13-
ocvn-rest,REST,Java,526,45521,H2;MongoDB,MIT,https://github.com/devgateway/ocvn
14-
proxyprint,REST,Java,73,8338,H2,Apache,https://github.com/ProxyPrint/proxyprint-kitchen
15-
rest-ncs,REST,Java,9,605,,UNDEFINED,UNDEFINED
16-
rest-news,REST,Kotlin,11,857,H2,LGPL,https://github.com/arcuri82/testing_security_development_enterprise_systems
17-
rest-scs,REST,Java,13,862,,UNDEFINED,UNDEFINED
18-
restcountries,REST,Java,24,1977,,MPL,https://github.com/apilayer/restcountries
19-
scout-api,REST,Java,93,9736,H2,MIT,https://github.com/mikaelsvensson/scout-api
20-
genome-nexus,REST,Java,405,30004,MongoDB,MIT,https://github.com/genome-nexus/genome-nexus
21-
market,REST,Java,124,9861,H2,MIT,https://github.com/aleksey-lukyanets/market
22-
petclinic-graphql,GraphQL,Java,89,5212,PostgreSQL,Apache,https://github.com/spring-petclinic/spring-petclinic-graphql
23-
patio-api,GraphQL,Java,178,18048,PostgreSQL,GPL,https://github.com/patio-team/patio-api
24-
timbuctoo,GraphQL,Java,1113,107729,Neo4j,GPL,https://github.com/HuygensING/timbuctoo
25-
graphql-ncs,GraphQL,Kotlin,8,548,,UNDEFINED,UNDEFINED
26-
graphql-scs,GraphQL,Kotlin,13,577,,UNDEFINED,UNDEFINED
27-
react-finland,GraphQL,TypeScript,461,16206,,UNDEFINED,https://github.com/ReactFinland/graphql-api
28-
ecommerce-server,GraphQL,TypeScript,49,1815,PostgreSQL,MIT,https://github.com/react-shop/react-ecommerce
29-
rpc-thrift-ncs,RPC-Thrift,Java,9,585,,UNDEFINED,UNDEFINED
30-
rpc-thrift-scs,RPC-Thrift,Java,14,772,,UNDEFINED,UNDEFINED
31-
1+
EMB,NAME,TYPE,LANGUAGE,FILES,LOCS,DATABASE,LICENSE,ENDPOINTS,URL
2+
TRUE,catwatch,REST,Java,106,9636,H2,Apache,14,https://github.com/zalando-incubator/catwatch
3+
TRUE,cwa-verification,REST,Java,47,3955,H2,Apache,5,https://github.com/corona-warn-app/cwa-verification-server
4+
TRUE,features-service,REST,Java,39,2275,H2,Apache,18,https://github.com/JavierMF/features-service
5+
TRUE,gestaohospital,REST,Java,33,3506,MongoDB,UNDEFINED,20,https://github.com/ValchanOficial/GestaoHospital
6+
TRUE,languagetool,REST,Java,1385,174781,,LGPL,2,https://github.com/languagetool-org/languagetool
7+
TRUE,ocvn,REST,Java,526,45521,H2;MongoDB,MIT,258,https://github.com/devgateway/ocvn
8+
TRUE,proxyprint,REST,Java,73,8338,H2,Apache,74,https://github.com/ProxyPrint/proxyprint-kitchen
9+
TRUE,rest-ncs,REST,Java,9,605,,UNDEFINED,6,UNDEFINED
10+
TRUE,rest-news,REST,Kotlin,11,857,H2,LGPL,7,https://github.com/arcuri82/testing_security_development_enterprise_systems
11+
TRUE,rest-scs,REST,Java,13,862,,UNDEFINED,11,UNDEFINED
12+
TRUE,restcountries,REST,Java,24,1977,,MPL,22,https://github.com/apilayer/restcountries
13+
TRUE,scout-api,REST,Java,93,9736,H2,MIT,49,https://github.com/mikaelsvensson/scout-api
14+
TRUE,genome-nexus,REST,Java,405,30004,MongoDB,MIT,23,https://github.com/genome-nexus/genome-nexus
15+
TRUE,market,REST,Java,124,9861,H2,MIT,13,https://github.com/aleksey-lukyanets/market
16+
TRUE,petclinic-graphql,GraphQL,Java,89,5212,PostgreSQL,Apache,TODO,https://github.com/spring-petclinic/spring-petclinic-graphql
17+
TRUE,patio-api,GraphQL,Java,178,18048,PostgreSQL,GPL,TODO,https://github.com/patio-team/patio-api
18+
TRUE,timbuctoo,GraphQL,Java,1113,107729,Neo4j,GPL,TODO,https://github.com/HuygensING/timbuctoo
19+
TRUE,graphql-ncs,GraphQL,Kotlin,8,548,,UNDEFINED,TODO,UNDEFINED
20+
TRUE,graphql-scs,GraphQL,Kotlin,13,577,,UNDEFINED,TODO,UNDEFINED
21+
TRUE,rpc-thrift-ncs,Thrift,Java,9,585,,UNDEFINED,TODO,UNDEFINED
22+
TRUE,rpc-thrift-scs,Thrift,Java,14,772,,UNDEFINED,TODO,UNDEFINED
23+
TODO gRPC
24+
TODO ind0
25+
TODO ind1

statistics/old_data.csv

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
NAME,TYPE,LANGUAGE,FILES,LOCS,DATABASE,LICENSE,URL
2+
cyclotron,REST,JavaScript,25,5803,MongoDB,MIT,https://github.com/ExpediaInceCommercePlatform/cyclotron
3+
disease-sh-api,REST,JavaScript,57,3343,Redis,GPL,https://github.com/disease-sh/API
4+
js-rest-ncs,REST,JavaScript,8,775,,UNDEFINED,UNDEFINED
5+
js-rest-scs,REST,JavaScript,13,1046,,UNDEFINED,UNDEFINED
6+
realworld-app,REST,TypeScript,37,1229,MySQL,ISC,https://github.com/lujakob/nestjs-realworld-example-app
7+
spacex-api,REST,JavaScript,63,4966,MongoDB,Apache,https://github.com/r-spacex/SpaceX-API
8+
catwatch,REST,Java,106,9636,H2,Apache,https://github.com/zalando-incubator/catwatch
9+
cwa-verification,REST,Java,47,3955,H2,Apache,https://github.com/corona-warn-app/cwa-verification-server
10+
features-service,REST,Java,39,2275,H2,Apache,https://github.com/JavierMF/features-service
11+
gestaohospital-rest,REST,Java,33,3506,MongoDB,UNDEFINED,https://github.com/ValchanOficial/GestaoHospital
12+
languagetool,REST,Java,1385,174781,,LGPL,https://github.com/languagetool-org/languagetool
13+
ocvn-rest,REST,Java,526,45521,H2;MongoDB,MIT,https://github.com/devgateway/ocvn
14+
proxyprint,REST,Java,73,8338,H2,Apache,https://github.com/ProxyPrint/proxyprint-kitchen
15+
rest-ncs,REST,Java,9,605,,UNDEFINED,UNDEFINED
16+
rest-news,REST,Kotlin,11,857,H2,LGPL,https://github.com/arcuri82/testing_security_development_enterprise_systems
17+
rest-scs,REST,Java,13,862,,UNDEFINED,UNDEFINED
18+
restcountries,REST,Java,24,1977,,MPL,https://github.com/apilayer/restcountries
19+
scout-api,REST,Java,93,9736,H2,MIT,https://github.com/mikaelsvensson/scout-api
20+
genome-nexus,REST,Java,405,30004,MongoDB,MIT,https://github.com/genome-nexus/genome-nexus
21+
market,REST,Java,124,9861,H2,MIT,https://github.com/aleksey-lukyanets/market
22+
petclinic-graphql,GraphQL,Java,89,5212,PostgreSQL,Apache,https://github.com/spring-petclinic/spring-petclinic-graphql
23+
patio-api,GraphQL,Java,178,18048,PostgreSQL,GPL,https://github.com/patio-team/patio-api
24+
timbuctoo,GraphQL,Java,1113,107729,Neo4j,GPL,https://github.com/HuygensING/timbuctoo
25+
graphql-ncs,GraphQL,Kotlin,8,548,,UNDEFINED,UNDEFINED
26+
graphql-scs,GraphQL,Kotlin,13,577,,UNDEFINED,UNDEFINED
27+
react-finland,GraphQL,TypeScript,461,16206,,UNDEFINED,https://github.com/ReactFinland/graphql-api
28+
ecommerce-server,GraphQL,TypeScript,49,1815,PostgreSQL,MIT,https://github.com/react-shop/react-ecommerce
29+
rpc-thrift-ncs,RPC-Thrift,Java,9,585,,UNDEFINED,UNDEFINED
30+
rpc-thrift-scs,RPC-Thrift,Java,14,772,,UNDEFINED,UNDEFINED
31+

0 commit comments

Comments
 (0)