Skip to content

Commit 405e493

Browse files
authored
Merge pull request diffblue#100 from diffblue/marek/benchmarks
Introducing benchmarks structure for the security-scanner.
2 parents 3f63d28 + 8a3b7d8 commit 405e493

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+5164
-0
lines changed

benchmarks/GENUINE/.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
RESULTS
2+
TEMP
3+
4+
Alfresco
5+
DSpace
6+
encuestame
7+
ginco
8+
jforum3
9+
libresonic
10+
onyx
11+
openolat105
12+
red5-server
13+
sakai
14+
SocialSDK
15+

benchmarks/GENUINE/README.txt

Lines changed: 329 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,329 @@
1+
GENUINE
2+
~~~~~~~
3+
4+
Here we store genuine benchmarks. Each benchmark appear in one directory.
5+
Benchmark-specific configuration JSON files (containing the transition rules)
6+
are located in this directory using this naming convention:
7+
<benchmark-name>_rules.json
8+
9+
When running the "security-scanner" tool on some benchmark <benchmark-name>,
10+
we recommend to pass these directories to the tool:
11+
./RESULTS/<benchmark-name>
12+
./TEMP/<benchmark-name>
13+
as directories for storing results and temporary data, respectively. The
14+
directories RESULTS and TEMP are already present in .gitignore file.
15+
16+
For each benchmark we provide its detailed installation guide and also short
17+
textual description (info) of the application.
18+
19+
20+
21+
(1) Alfresco
22+
------------
23+
24+
Alfresco is a leading repository for Enterprise Content Management (ECM),
25+
providing Document Management, Collaboration, Records Management, Knowledge
26+
Management, and Web Content Services.
27+
28+
Website: https://www.alfresco.com/
29+
Repository: https://github.com/Alfresco/community-edition
30+
9,834 commits
31+
1 branch
32+
29 releases
33+
3 contributors
34+
LGPL-3.0
35+
36+
Install guide for Ubuntu:
37+
38+
1. Open a terminal in the directory of this readme file and clone:
39+
git clone https://github.com/Alfresco/community-edition
40+
2. Rename the created sub-directory "community-edition" to "Alfresco".
41+
3. Enter the directory "Alfresco" and build it using maven:
42+
mvn clean package -DskipTests
43+
44+
The built binaries will be stored in:
45+
target (can be more than one directory, in sub-directories)
46+
47+
48+
(2) DSpace
49+
----------
50+
51+
DSpace is an open source application used by more than 1000+ organizations and
52+
institutions worldwide to provide durable access to digital resources.
53+
54+
Webpage: http://www.dspace.org/
55+
Repository: https://github.com/DSpace/DSpace
56+
Commits: 8 934
57+
Releases: 85
58+
Contributors: 107
59+
60+
Install guide for Ubuntu:
61+
62+
1. Open a terminal in the directory of this readme file and clone DSpace:
63+
git clone https://github.com/DSpace/DSpace
64+
2. Enter the directory "DSpace" and type the following command:
65+
mvn clean package
66+
67+
The built binaries will be stored in:
68+
"dspace",
69+
"dspace-api",
70+
"dspace-jspui",
71+
"dspace-oai",
72+
"dspace-rdf",
73+
"dspace-rest",
74+
"dspace-services",
75+
"dspace-solr",
76+
"dspace-sword",
77+
"dspace-swordv2",
78+
"dspace-xmlui",
79+
"dspace-xmlui-mirage2"
80+
81+
82+
(3) encuestame
83+
--------------
84+
85+
Encuestame is an Open Source Java web application to publish, collect, share and
86+
measure the opinion of the people thought the social media or private
87+
environments. Private or public surveys, protected by password, widgets
88+
embeddable, ready for mobile and multi language.
89+
90+
Website: http://www.encuestame.org
91+
Repository: https://github.com/encuestame/encuestame
92+
4,316 commits
93+
9 branches
94+
38 releases
95+
5 contributors
96+
License: Apache-2.0
97+
98+
Install guide for Ubuntu:
99+
100+
1. Open a terminal in the directory of this readme file and clone encuestame:
101+
git clone https://github.com/smowton/encuestame/
102+
2. Enter the directory "encuestame" and build the app with maven:
103+
mvn clean package -DskipTests
104+
105+
The built binaries will be stored in:
106+
target (can be more than one directory, in sub-directories)
107+
108+
109+
(4) ginco
110+
---------
111+
112+
GINCO is a free software developped by the Ministry of Culture and Communication
113+
(France) and is dedicated to the management of vocabularies. GINCO is released
114+
under the terms of the CeCiLL v2 license.
115+
116+
Website: http://culturecommunication.github.io/ginco/
117+
Repository: https://github.com/culturecommunication/ginco
118+
1,836 commits
119+
6 branches
120+
49 releases
121+
9 contributors
122+
123+
Install guide for Ubuntu:
124+
125+
1. Open a terminal in the directory of this readme file and clone:
126+
git clone https://github.com/culturecommunication/ginco
127+
2. Enter the directory "ginco" and build the app with maven:
128+
mvn clean package
129+
130+
The built binaries will be stored in:
131+
target (can be more than one directory, in sub-directories)
132+
133+
134+
(5) jforum3
135+
-----------
136+
137+
It is a discussion board system implemented in Java.
138+
139+
Homepage WEB: http://jforum.net/
140+
Repository URL: http://github.com/rafaelsteil/jforum3
141+
Commints: 154
142+
Releases: 0
143+
Contributors: 7
144+
Branches: 1
145+
146+
Install guide for Ubuntu:
147+
148+
1. Open a terminal in the directory of this readme file and download jforum 3:
149+
wget http://github.com/rafaelsteil/jforum3/zipball/master -O jforum3.zip
150+
2. Unzip the files:
151+
unzip jforum3.zip
152+
3. Rename the created directory from "rafaelsteil-jforum3-9f7eb05" to "jforum3"
153+
and also delete the downloaded ZIP file (it is not needed anymore).
154+
4. Enter the "jforum3" directory and edit the file pom.xml:
155+
Lines 108 and 109 should look like these:
156+
<artifactId>hibernate-core</artifactId>
157+
<version>3.3.1.GA</version>
158+
5. Run maven to build the app:
159+
mvn clean package
160+
161+
Note: I tried to build the app by cloning jforum3's git at
162+
https://github.com/rafaelsteil/jforum3
163+
but it has failed.
164+
165+
The built binaries will be stored in:
166+
target
167+
168+
169+
(6) libresonic
170+
--------------
171+
172+
Libresonic is a free, web-based media streamer, providing ubiqutious access
173+
to music. Can be used to share music with friends, or to listen to your own
174+
music while at work.
175+
176+
Website: http://libresonic.org
177+
Repository: https://github.com/Libresonic/libresonic
178+
91 commits
179+
2 branches
180+
4 releases
181+
12 contributors
182+
GPL-3.0
183+
184+
Install guide for Ubuntu:
185+
186+
1. Open a terminal in the directory of this readme file and clone:
187+
git clone https://github.com/Libresonic/libresonic
188+
2. Enter the directory "libresonic" and type there the following:
189+
mvn clean package
190+
191+
The built binaries will be stored in:
192+
target (can be more than one directory, in sub-directories)
193+
194+
195+
(7) onyx
196+
--------
197+
198+
Web-based application that manages participant baseline interviews at biobanks
199+
assessment centres or clinics.
200+
201+
Website: http://www.obiba.org/
202+
Repository: https://github.com/obiba/onyx
203+
4,916 commits
204+
17 branches
205+
46 releases
206+
12 contributors
207+
GPL-3.0
208+
209+
Install guide for Ubuntu:
210+
211+
1. Open a terminal in the directory of this readme file and clone:
212+
git clone https://github.com/obiba/onyx
213+
3. Enter the directory "onyx" and do the following:
214+
mvn clean package
215+
216+
The built binaries will be stored in:
217+
target (can be more than one directory, in sub-directories)
218+
219+
220+
(8) openolat105
221+
---------------
222+
223+
OpenOLAT is a learning platform offering an extensive set of features that is
224+
written in Java. The code is open source and is hosted on a public Mercurial
225+
repository.
226+
227+
Home web: http://www.openolat.com/
228+
Repo URL: http://hg.openolat.org/openolat105/
229+
230+
Install guide for Ubuntu:
231+
232+
1. Install TortoiseHg (http://tortoisehg.bitbucket.org/)
233+
2. Use TortoiseHg to clone the OpenOlat source code from:
234+
http://hg.openolat.org/openolat105/
235+
3. Update to revision: 6509
236+
4. Open terminal in the directory where you cloned OpenOLAT into and type there:
237+
mvn clean package
238+
239+
Note: There is a GIT fork of Openolat (https://github.com/klemens/openolat.git).
240+
I tried to build the commit ece4e16b2567e7b62da8c578bf8b7a6b09766579, but
241+
the build has failed.
242+
243+
The built binaries will be stored in:
244+
target
245+
246+
247+
(9) red5-server
248+
---------------
249+
250+
Red5 is an Open Source Flash Server written in Java.
251+
252+
Home web: none
253+
Repository URL: https://github.com/Red5/red5-server
254+
Commits: 400
255+
Releases: 31
256+
Contributors: 10
257+
258+
Install guide for Ubuntu:
259+
260+
1. Open a terminal in the directory of this readme file and clone Red5:
261+
git clone https://github.com/Red5/red5-server
262+
2. Enter into the directory "red5-server" and type there the following command:
263+
mvn clean package
264+
265+
The built binaries will be stored in:
266+
target
267+
268+
269+
(10) sakai
270+
----------
271+
272+
Sakai is a fully customizable, 100% open source learning management system.
273+
Sakai is a Java web application running on Apache Tomcat 8.
274+
Sakai is licensed under the Educational Community License version 2.0
275+
Sakai is an Apereo Foundation project and follows the Foundation's guidelines
276+
and requirements for Contributor License Agreements.
277+
278+
Home web: https://www.sakaiproject.org/
279+
Repo URL: https://github.com/sakaiproject/sakai.git
280+
repo: https://github.com/sakaiproject/sakai.git
281+
Commits: 44 635
282+
Releases: 5
283+
Contributors: 150
284+
Java files (master, last commit): 5 657 (~42.8MiB)
285+
286+
Install guide for Ubuntu:
287+
288+
1. Open a terminal in the directory of this readme file and clone:
289+
git clone https://github.com/sakaiproject/sakai.git
290+
2. Run these commands:
291+
cd ./sakai
292+
(optional) git checkout 8550c168cdf16363e864bfdfdbeae96a1e8eac51
293+
mvn install sakai:deploy -Dmaven.tomcat.home="./__dist__" -DskipTests -Dmaven.test.skip=true
294+
295+
The built binaries will be stored in:
296+
__dist__
297+
298+
Note: Instead of "__dist__" you can specify other directory where the built
299+
binaries will be stored to.
300+
301+
302+
(11) SocialSDK
303+
--------------
304+
305+
IBM Social Business Toolkit SDK. Set of libraries and code samples used for
306+
connecting to the IBM Social Platform. It covers many products like IBM
307+
Connections, IBM Notes/Domino, IBM Sametime. It includes support for many
308+
authentication mechanisms, as well as comprehensive wrappers for the REST APIs.
309+
The SDK can be run on Java-based application servers such WebSphere Application
310+
Server, WebSphere Portal, IBM Domino, and Apache Tomcat.
311+
312+
Website: https://developer.ibm.com/social
313+
Repository: https://github.com/OpenNTF/SocialSDK
314+
10,954 commits
315+
2 branches
316+
26 releases
317+
27 contributors
318+
319+
Install guide for Ubuntu:
320+
321+
1. Open a terminal in the directory of this readme file and clone SocialSDK
322+
git clone https://github.com/OpenNTF/SocialSDK
323+
2. Enter the created directory "SocialSDK" and build with maven:
324+
(optional) git checkout 4f07c13180aa27152e08adf6440b6692e5a54d3b .
325+
mvn clean package
326+
327+
The built binaries will be stored in:
328+
target (can be more than one directory, in sub-directories)
329+

0 commit comments

Comments
 (0)