Update osquery comparision table
authorSangwan Kwon <sangwan.kwon@samsung.com>
Mon, 9 Mar 2020 04:27:51 +0000 (13:27 +0900)
committerSangwan Kwon <sangwan.kwon@samsung.com>
Mon, 9 Mar 2020 04:27:51 +0000 (13:27 +0900)
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
doc/comparision-with-osquery.md

index bed193c..2ff4b9f 100644 (file)
@@ -14,4 +14,75 @@ more efficient interface from this different perspective.
 | Perspective | system developer | system administrator |
 | Project Type | SAM | OPENM |
 | Component | daemon, **library** | daemon, shell |
-| **Additional<br>dependencies<br>(without tizen)** | jinja2-python<br>rapidjson | jinja2-python<br>rapidsjon<br>lz4<br>zstd<br>rocksdb<br>thrift<br>|
+| Additional<br>dependencies<br>(without tizen) | jinja2-python<br>rapidjson | jinja2-python<br>rapidsjon<br>lz4<br>zstd<br>rocksdb<br>thrift<br>|
+| Code Lines | 35K (18K - osquery) | 120K |
+
+---
+
+## osquery 4.0.0
+
+```
+-----------------------------------------------------------------------------------
+Language                         files          blank        comment           code
+-----------------------------------------------------------------------------------
+C++                                762          17268          16209          78648
+C/C++ Header                       230           4622           9904          12151
+CMake                              167           1768            927           7787
+Python                              29            964            742           4428
+Markdown                            49           1603              0           4065
+Ruby                                67            598            234           2972
+Objective C++                       20            450            380           2867
+PowerShell                          19            474            463           2643
+Bourne Shell                        26            419            286           1934
+CSS                                  2            233             44           1019
+XML                                  3              5              7            290
+make                                 1             62              3            269
+C                                    1             31             10            162
+YAML                                 3             30              6            160
+Bourne Again Shell                   1             18              6            140
+Dockerfile                           1              0              5             45
+JSON                                 1              0              0             24
+DOS Batch                            3              4              7             20
+Windows Resource File                1              0              0              3
+-----------------------------------------------------------------------------------
+SUM:                              1386          28549          29233         119627
+-----------------------------------------------------------------------------------
+```
+
+---
+
+## ViST 0.0.1
+
+```
+-------------------------------------------------------------------------------
+Language                     files          blank        comment           code
+-------------------------------------------------------------------------------
+C++                            164           4135           3174          18280
+C/C++ Header                   165           4518           8159          15806
+CMake                           38            160            495            632
+Markdown                         7             70              0            463
+Python                           2            104             71            448
+Dockerfile                       1             12              9             34
+SQL                              1              8             15             30
+make                             1              4              0             13
+XML                              1              0              0              1
+-------------------------------------------------------------------------------
+SUM:                           380           9011          11923          35707
+-------------------------------------------------------------------------------
+```
+
+---
+
+## osquery in ViST (about 15% of osquery)
+
+```
+-------------------------------------------------------------------------------
+Language                     files          blank        comment           code
+-------------------------------------------------------------------------------
+C++                             96           2903           2076          14170
+C/C++ Header                    71           1398           4102           3335
+CMake                           12             45            145            193
+-------------------------------------------------------------------------------
+SUM:                           179           4346           6323          17698
+-------------------------------------------------------------------------------
+```