| SobekCM Repository Community Help |
The complete code for SobekCM (as of April 2015) includes the following:
216,276 lines of code ( 202,122 C#, 14,154 javascript )
45,454 lines of comments
1014 classes ( 69 abstract classes )
50 interfaces
| Project | C# code lines |
Comments | C# classes | Abstract classes |
Interfaces |
|---|---|---|---|---|---|
| SobekCM Builder | 307 | 81 | 1 | 0 | 0 |
| SobekCM Builder Library | 7,136 | 1,489 | 62 | 5 | 5 |
| SobekCM Builder Service | 192 | 37 | 3 | 0 | 0 |
| SobekCM Core | 17,501 | 5,685 | 127 | 1 | 7 |
| SobekCM Engine Library | 14,830 | 2,813 | 99 | 0 | 5 |
| SobekCM Library | 99,260 | 21,298 | 454 | 57 | 8 |
| SobekCM Resource Object | 54,861 | 9,975 | 208 | 5 | 23 |
| SobekCM Tools | 1,510 | 1,204 | 20 | 1 | 0 |
| SobekCM Web Project | 3,283 | 448 | 21 | 0 | 2 |
| TOTAL | 202,122 | 45,454 | 1014 | 69 | 50 |
Below is a short description of each of the projects included above:
| Project | Description | ||||
|---|---|---|---|---|---|
| SobekCM Builder | Executable is used to run the builder as a scheduled task (to be deprecated in version 5.0) | ||||
| SobekCM Builder Library | Library contains all the classes that are used during the SobekCM build process | ||||
| SobekCM Builder Service | Used to run the builder as a Windows Service (new as of version 4.9.0) | ||||
| SobekCM Core | Core classes used by both the engine and UI portions. These are generally just value holding classes, not classes that perform many actions, or render HTML. | ||||
| SobekCM Engine Library | Engine library that exposes endpoints via REST and builds the classes in the SobekCM Core library to be passed to the web user interface library | ||||
| SobekCM Library | HTML rendering user interface library that contains all the classes that write HTML to the output stream | ||||
| SobekCM Resource Object | Library contains all the classes that hold digital resource information, read and write from metadata in different formats, and save digital resource data to the database | ||||
| SobekCM Tools | Small library holds fairly general helper classes used by all SobekCM libraries | ||||
| SobekCM Web Project | Project contains the actual .aspx files, although most rendering is actually done by the SobekCM Library classes | ||||
The numbers below represent the code count and project details as of May 2011
The complete code for SobekCM (as of May 2011) includes the following:
124,389 lines of code ( not comments or empty lines )
26,019 lines of comments
538 classes ( 55 abstract classes, 1 windows form, 5 ASPX pages )
17 interfaces
| Project | C# code lines |
Comments | C# classes | Abstract classes |
Interfaces |
|---|---|---|---|---|---|
| SobekCM Bib Package | 42,168 | 7,191 | 171 | 3 | 0 |
| SobekCM Builder | 1,916 | 404 | 7 | 0 | 0 |
| SobekCM Library | 79,479 | 17,491 | 346 | 52 | 16 |
| SobekCM Tools | 1,451 | 1,153 | 16 | 0 | 0 |
| SobekCM Web Project | 1,123 | 145 | 4 | 0 | 1 |
| TOTAL | 124,389 | 26,019 | 538 | 55 | 17 |