Dataset Viewer
Auto-converted to Parquet Duplicate
id
int64
46
165
content
stringlengths
38
3.18k
layer
stringclasses
3 values
summary
float64
100
Requirements shall be managed in a 3rd party requirements management tool such as DOORS.
Requirement
null
101
Non-requirement artifacts shall be managed in 3rd party tools such as Rational Rose or Clear case
Requirement
null
102
Only registered subscribers shall be allowed to establish traces.
Requirement
null
103
A user shall register as a subscriber.
Requirement
null
104
On registration a subscriber shall register itself under the control of a subscribermanager
Requirement
null
105
The user shall establish traces between requirements and other types of artifacts by establishing a subscription from an artifact to the relevant requirement
Requirement
null
106
Each artifact shall be placed under the control of a subscribermanager
Requirement
null
107
The user shall be able to delete subscriptions.
Requirement
null
108
A subscribermanager shall register itself with the eventserver so that it may receive relevant event messages.
Requirement
null
109
If the subscribermanager is online; the push model shall be used to send it event notifications in real time.
Requirement
null
110
Whenever the subscribermanager first comes on line; it shall implement the pull model to retrieve outstanding event messages from the eventserver.
Requirement
null
111
A subscribermanager shall receive event notifications on behalf of the artifacts that it manages.
Requirement
null
112
A subscribermanager shall manage traces for one or more artifacts.
Requirement
null
113
On receipt of an event message; the subscribermanager shall differentiate between speculative and evolutionary events.
Requirement
null
114
The subscribermanager shall store information for evolutionary events in an eventlog.
Requirement
null
115
The user shall be able to construct speculative queries using a GUI.
Requirement
null
116
The subscribermanager shall immediately process speculative events.
Requirement
null
117
The subscribermanager shall re execute the model using the speculative values.
Requirement
null
118
The subscribermanager shall report results indicating whether the speculative change negatively impacts other requirements and constraints.
Requirement
null
119
The subscribermanager shall restore the executable model to its prior state.
Requirement
null
120
The prototype system shall utilize a driver to trigger events.
Requirement
null
121
Event types shall include adding new requirements.
Requirement
null
122
Event types shall include decomposing one requirement into two or more requirements.
Requirement
null
123
Event types shall include refining one requirement by adding an additional requirement to the existing one.
Requirement
null
124
Event types shall include modifying a requirement.
Requirement
null
125
Event types shall include deleting a requirement.
Requirement
null
126
Event types shall include merging requirements.
Requirement
null
127
The eventserver shall receive event messages when a requirement changes.
Requirement
null
128
On receipt of an event message the eventserver shall record the event in an eventlog.
Requirement
null
129
On receipt of an event; the eventserver shall identify all relevant subscribers for the event.
Requirement
null
130
The eventserver shall differentiate between evolutionary and speculative events.
Requirement
null
131
When an evolutionary event occurs; the eventserver shall notify subscribers of the event.
Requirement
null
132
For speculative events; the eventserver shall construct a composite event message.
Requirement
null
133
The eventserver shall identify all related requirements and constraints for each impacted executable model.
Requirement
null
134
The eventserver shall retrieve quantitative values related to these additional requirements and constraints through querying the requirements management tool.
Requirement
null
135
The eventserver shall create a composite speculative message which includes the speculative event plus all related requirements and constraint values for each impacted model.
Requirement
null
136
The eventserver shall send the customized message to each impacted executable model.
Requirement
null
137
The user shall view all evolutionary events received for a specific artifact in the order in which they were received.
Requirement
null
138
The user shall update related artifacts according to the information contained in the event messages.
Requirement
null
139
The user shall eliminate unnecessary traces that were temporarily constructed by the eventserver during initial event processing.
Requirement
null
140
The notification processing system shall automatically eliminate any events that are not longer valid as a result of the user eliminating temporary traces.
Requirement
null
141
Test case: Establish Trace (2.1.1)(2.2.1) Preconditions Subscriber is registered Steps Subscriber establishes a trace between a UML artifact and a requirement. Postconditions A trace is established between the UML artifact and the requirement.
Test
null
142
Test case: Non-registered subscriber attempts to establish a trace (2.1.1) Preconditions The proposed Subscriber is not registered Steps Subscriber attempts to establish a trace between a UML artifact and a requirement. Postconditions No trace is established between the UML artifact and the requirement.
Test
null
143
Test case: Subscriber registers with subscriber manager (2.1.3)(2.2.2)(3.2.2?)(2.1.2?) Preconditions The subscriber is a valid subscriber At least one valid subscriber manager is in the system Steps The subscriber registers itself with the subscriber manager. Postconditions The subscriber is registered under the subscr...
Test
null
144
Test case: Subscriber fails to register with subscriber manager (2.1.3)(2.2.2)(3.2.2?) Preconditions The subscriber is a valid subscriber Steps The subscriber attempts to exit from the registration process without registering itself under a subscriber manager. Postconditions The subscriber is removed from the system.
Test
null
145
Test case: Delete subscriptions (2.2.3) Preconditions At least one subscription has been established in the system Steps The user deletes the subscription Postconditions The subscription has been deleted.
Test
null
146
Test case: Subscriber Manager registers with event server (3.1.1) Preconditions A subscriber manager has been created. Steps The subscriber manager registers its IP address, port, and name with the event server Post conditions The subscriber manager is registered with the event server.
Test
null
147
Test case: An event is published in real time (3.1.2) Preconditions: At least one subscriber manager is online at its designated IP address and port. The subscriber manager has subscribed to at least one requirement. Steps The requirement changes. An event notification is sent to the relevant subscriber manager. Postco...
Test
null
148
Test case: Subscriber Manager comes online and checks for missed events (3.1.3) Preconditions: The subscriber manager is off line. The event server has stored an event notification that was not previously delivered to the subscriber manager. Steps: The subscriber manager comes online. Post conditions: The subscriber ma...
Test
null
149
Test case: Subscriber manager receives non-speculative event notification (3.2.1)(3.2.3)(3.3.1) Preconditions: The subscriber manager has registered subscribers Steps An event notification is sent to the subscriber manager for a registered subscriber. The relevant subscriber manager receives the event notification. Pos...
Test
null
150
Test case: Subscriber manager receives speculative event notification (3.2.1)(3.2.3) Preconditions: The subscriber manager has registered subscribers Steps An event notification is sent to the subscriber manager for a registered subscriber. The relevant subscriber manager receives the event notification. Postconditions...
Test
null
151
Test case: User constructs a speculative query (3.4.1) Preconditions: At least one performance model has been built. Requirements and constraints have been defined for this performance model. Steps: The user constructs a speculative query using a GUI tool. Postconditions: A speculative event message is received by the ...
Test
null
152
Test case: Speculative event message is processed by subscriber manager (3.4.2)(3.4.3)(3.4.4)(3.4.5) Preconditions: A speculative query has been issued and sent to the relevant subscriber manager. Steps: The subscriber manager receives the speculative event message. The subscriber manager parses the event message to de...
Test
null
153
Test case: Add New Requirement (4.1.)(4.1.1) Preconditions: The trigger driver is running. Steps The user specifies a new event. The user adds a new requirement Post conditions: A new event message is sent.
Test
null
154
Test case: Decompose a Requirement (4.1)(4.1.2) Preconditions: The trigger driver is running. At least one requirement is defined. Steps The user specifies a decompose event. The user selects an existing requirement and decomposes it into two or more requirements. Post conditions: The requirement is decomposed into two...
Test
null
155
Test case: Refine a requirement (4.1)(4.1.3) Preconditions: The trigger driver is running. At least one requirement is defined. Steps The user specifies a refine event. The user selects an existing requirement and adds an additional requirement related to it. Post conditions: The requirement is refined by adding at lea...
Test
null
156
Test case: Modify a requirement (4.1)(4.1.4) Preconditions: The trigger driver is running. At least one requirement is defined Steps The user specifies a modify event. The user selects an existing requirement and changes it. Post conditions: The requirement is changed. A modify event message is sent. Existing links fro...
Test
null
157
Test case: Delete a requirement (4.1)(4.1.5) Preconditions: The trigger driver is running. At least one requirement is defined Steps The user specifies a delete event. The user selects an existing requirement and deletes it. Post conditions: The status of the requirement is set to obsolete. A delete event message is se...
Test
null
158
Test case: Merge two or more requirements (4.1)(4.1.6) Preconditions: The trigger driver is running. At least two requirements are defined Steps The user specifies a merge event. The user specifies two or more requirements to merge. Post conditions: The requirements are merged. A merge event message is sent. Existing l...
Test
null
159
Test case: Event server receives message (5.1)(5.2)(5.4) Preconditions: The event server is running and waiting for incoming events at a well known port and IP address. The event trigger issues an event message. Steps The event server receives an event message. The event server parses the event message into its constit...
Test
null
160
Test case: Event server identifies subscribers (5.3) Preconditions: The event server has received an event message. Steps: The event server identifies the impacted requirements from the received event message. The event server searches for subscribers to those impacted requirements. Post conditions All relevant subscri...
Test
null
161
Test case: Notify subscribers when an evolutionary event occurs (5.5) Preconditions: The event server has received an evolutionary event message. The event server has identified a list of subscribers. Steps: The event server identifies the subscriber manager for each subscriber. The event server identifies the IP addr...
Test
null
162
Test case: Event server constructs composite event message for a speculate event (5.6)(5.6.1)(5.6.2)(5.6.3)(5.6.4) Preconditions: The event server has received a speculative event message. The event server has identified a list of subscribers. Steps: For each identified subscriber the event server identifies all additi...
Test
null
163
Test case: Events are displayed in the order in which they are received.(6.1) Preconditions: At least three event messages received for a single artifact. Steps: The user activates the notification process tool. The user selects the artifact. Event messages are displayed in the order in which they were received. Postco...
Test
null
164
Test case: User attempts to process an event message in the incorrect order (6.1) Preconditions: At least three event messages have been received by a subscriber manager on behalf of a single subscriber. The notification processing tool is running. Steps: The user examines the event messages that have been received for...
Test
null
165
Test case: User processes an event message (6.2)(6.3)(6.4) Preconditions: Event messages are displayed for a single artifact. Steps: The user examines the first event message. The user applies any information from the event message to update the artifact accordingly. The user selects which of the tentative links should...
Test
null
46
private JPanel center Panel = null ; private JLabel des Label = null ; private JLabel change Label = null ; private JLabel from Label = null ; private JLabel to Label = null ; private JText Area des Text = null ; private JText Field c // Speculate Gui public Speculate Gui () { super (" ...
Code
null
47
47 "Impact Report private String server IP = "" local host ""; private JPanel center Panel = null ; private JPanel driver Panel = new JPanel (); private JPanel driver Inner Panel = null ; private JPanel impact Panel = null ; private JPanel impact Inner P public Impact Report () { super ("...
Code
null
48
48 "Constraint Inner Panel private String server IP = "" local host ""; private JLabel performance Model Label = null ; private JLabel project Name Label = null ; private JLabel module Path Label = null ; private JLabel requirement Id Label = null ; private JLabel public Constraint Inner Panel ...
Code
null
49
49 "Constraints Description private String project Name = null ; private String module Path = null ; private String requirement ID = null ; private String value = null ; private String logic = null ; private String units = null ; private String description = null ; public Constraints Description ...
Code
null
50
50 "Driver Description private String projectName = null; private String modulePath = null; private String requirementID = null; private String description = null; // Description of the requirement. private String changedArrtibute = null; private Strin public DriverDescription( String projectName, String modul...
Code
null
51
51 "Driver Inner Panel private JLabel projectNameLabel = null; private JLabel modulePathLabel = null; private JLabel requirementIdLabel = null; private JLabel desLabel = null; private JLabel changeLabel = null; private JLabel fromLabel = null; String projectName, String modulePath, String requirementID, String ...
Code
null
52
52 "Pair private String queryID; private String queryString; public Pair(String queryID, String queryString) { this. queryID = queryID; this. queryString = queryString; } public String getQueryID() { return this. queryID; } public String getQueryString() { return this. queryString; } public void setQuer...
Code
null
53
53 "Performance Model private String name = null; private Vector driverVector = null; private Vector constraintVector = null; private long queryID = 0; public static int count = 0; public PerformanceModel(String name, long queryID) { this. name = name; this. queryID = queryID; this. driverVector = new Vector(...
Code
null
54
54 "eventserver public static void (String args[]) { ThreadPool pool = new ThreadPool(1); int port = defaultPort; try { ServerSocket ss = new ServerSocket( port); for( int i=0; i<4; i++) { p public final static int defaultPort = 1701; ServerSocket theServer;"
Code
null
55
55 "eventserver Threadstatic private int count = 0; private int taskNumber; protected Done done; ServerSocket theServer; private Connection conn; private Statement stmt; private ResultSet rs; private EventParser ep; private int id; EventServerThread(ServerSocket ss) { theServer = ss; count++; taskNumber ...
Code
null
56
56 "Event Parser private Connection conn; private ResultSet rs; private Statement stmt; //EventParser Constructor // initializes the Database connection public EventParser() { try { Class. forName("" sun. jdbc. odbc.JdbcOdbcDriver""); this. conn = DriverManager. getConnection("" jdbc: odbc: public void upd...
Code
null
57
57 "Event Notifier // Variables to process the requirement private String requirement No;//Requirement No. private String ProjName; //Project name private String ModPath;//Modular path private String requirement Text;/ public EventNotifier(String rno, String proj, String mod, String rtext,String eID, String em, ...
Code
null
58
58 "Subscribed Model private String SubscriberName; private String SubscriberReqno; private String SubscriberModule; private String SubscriberKeyword1; private String SubscriberKeyword2; public SubscribedModel(String sn, String sr, String sm, String sk1, String sk2) { SubscriberName = sn; SubscriberReqno = sr; Subscr...
Code
null
59
59 "Done /** * The number of Worker object * threads that are currently working * on something. */ private int _ activeThreads = 0; /** * This boolean keeps track of if * the very first thread has started * or not. This prevents this objec /** * This method can be called to block * the current thread until the Threa...
Code
null
60
60 "Thread Pool /** * The threads in the pool. */ protected Thread threads[] = null; /** * The backlog of assignments, which are waiting * for the thread pool. */ Collection assignments = new ArrayList(3); /** * A Done object that is /** * The constructor. * * @param sizeHow many threads in the thread pool. */ p...
Code
null
61
61 "Worker Thread /** * True if this thread is currently processing. */ public boolean busy; /** * The thread pool that this object belongs to. */ public ThreadPool owner; /** * The constructor. * * @param o the thread pool */ WorkerThread(ThreadPool o) { owner = o; } /** * Scan for and execute tasks. */...
Code
null
62
62 "Call Back private Hash table requirementDescTable = new Hash table(); private Hash table constraintDescTable = new Hash table(); private Hash table performanceModelTable = new Hash table(); private PerformanceModel performance model= null public void parseSpeculateInformation(String str) { System. out. ...
Code
null
63
63 "Doors Thread static private int count = 0; private int taskNumber; protected Done done; ServerSocket theServer; private Connection conn; private Statement stmt; private ResultSet rs; DOORsThread(ServerSocket ss) { theServer = ss; count++; taskNumber = count; } public void run() { while( true) ...
Code
null
64
64 "DOORs Thread Pool public final static int defaultPort = 2347; ServerSocket theServer; // static int numberOfThreads = 3; //@param argsNo arguments are used. public static void main(String args[]) { ThreadPool pool = new ThreadPool(1); int port = defaultPort; try { ServerSocket ss = new ServerSocket( por...
Code
null
65
65 "About Dialog public AboutDialog(JFrame parent, boolean modal) { super ( parent, modal); getContentPane (). setLayout ( new BorderLayout ()); setTitle (""About""); setName ("" aboutDialog""); private JTextArea text;"
Code
null
66
66 "Config Dialog public ConfigDialog(Notification_Processing parent, boolean modal) { super ( parent, modal); setTitle(""Config Dialog Box""); getContentPane (). setLayout ( new GridLayout(5,2)); private void closeDialog(WindowEvent evt) { setVisible ( false); dispose (); } // event listener for ""Ok"" button p...
Code
null
67
67 "Event Detail Dialog private GridBagLayout grid bag; private GridBagConstraints c; // objects in top panel private JPanel topPanel; private JLabel modelLabel; private JLabel typeLabel; private JTextField modelField; p public EventDetailDialog(EventsProcessor parent, boolean modal,Notification_Event nEvt, boolean ...
Code
null
68
68 "Events Processor // event list private JList eventList; private DefaultListModel listModel; private ArrayList events; // popup menu private JPopupMenu popup; // Subscriber name String m_SubscriberName; // list of requirements to be d public EventsProcessor(Notification_Processing parent, boolean modal, S...
Code
null
69
69 "Notification Event public String m_SubscriberName = """"; public String m_EventID = """"; public String m_Message type = """"; public String m_EventType = """"; public int m_NumberOfRequirements = 0; public String m_EventTim public Notification_Event() { m_LeftSide = new ArrayList(); m_RightSide = new ArrayList...
Code
null
70
70 "Notification Processing // member variables for menu private JMenuBar menuBar; // subscriber list private JList SubscriberList; private DefaultListModel listModel; // popup menu private JPopupMenu popup; // database and eventserver information S public Notification_Processing() { setDefaultCloseOperati...
Code
null
71
71 "Requirement public String m_RequirementID =""""; public String m_Project =""""; public String m_ModulePath=""""; public String m_Content = """"; public String m_RegFlag = ""N""; public Requirement() { } public Object clone() throws CloneNotSupportedException { Requirement requirement= (Requirement) super. clone...
Code
null
72
72 "Balance /** * Symbol represents what will be placed on the stack. */ private static class Symbol { public chartoken; public int theLine; public Symbol( char tok, int line ) { token = /** * Constructor. * @param inStream the stream containing a program. */ public Balance( Reader inStream ) { errors = 0; tok ...
Code
null
73
73 "Constraints String id; String name; double value; String logic; Constraints(String id, String name, double value, String logic){ this. id = id; this. name = name; this. value = value; this. logic = logic; } public String toString(){ String temp; temp = ""ID = "" + id + "", Name = "" + name +"", value =...
Code
null
74
74 "database QueryConnection conn=null; ResultSet rs=null; Statement stmt=null; String mSQL=""""; Vector structVector = new Vector(); // for holding the dummy variable objects used in executeStructure() Variable v;// create this object and /** * Construct a connection object. * @param Returns an object of ...
Code
null
75
75 "Driver String id; double valueFrom; double valueTo; String name; Driver(String id, double valueFrom, double valueTo, String name) { this. id = id; this. valueFrom = valueFrom; this. valueTo = valueTo; this. name = name; } public String toString() { String temp; temp = ""ID = "" + id + "", valueFrom = "" +...
Code
null
76
76 "Evaluator private static final int EOL = 0; private static final int VALUE = 1; private static final int OPAREN= 2; private static final int CPAREN= 3; private static final int EXP = 4; private static final int MULT= private static class Precedence { public int inputSymbol; // refers to the precedence level of o...
Code
null
77
77 "Model Driver String msg=""""; public ModelDriver(String text) { this. msg = text; init(); } public void init() { System. out. println(""MODEL DRIVER CLASS 1/10""); performance modelHandler pmh = new performance modelHandler( msg); System. out. println(""MODEL DRIVER CLASS 2/10""); pmh. messageParser"
Code
null
78
78 "Notification Event public String m_SubscriberName = """"; public String m_EventID = """"; public String m_Message type = """"; public String m_EventType = """"; public int m_NumberOfRequirements = 0; public String m_EventTim // constructor public Notification_Event() { m_LeftSide = new ArrayList(); m_RightSide ...
Code
null
79
79 "performance model Handler String strES; // string received from eventserver String impactReport;// string to be send to eventServer String commandStr; // represent the command ex. execute, re - execute etc String eventId;// refers to the eventId String performance model Handler(String msg) { this. strES =...
Code
null
End of preview. Expand in Data Studio

Overview

The following dataset contains the software artifacts used to evaluate the accuracy of traceability algorithms. It contains requirements, test cases, and source code with links established between requirements to code and requirements to test cases.

Source Files

Format

The following files contains three datasets:

  • artifacts: Contains all software artifacts including their ID and content.
  • traces: Contains list of positive trace links established in the project.
  • matrices: Details the artifacts types containing traces (e.g. requirements -> test cases)
  • train: Contains a dataset ready for training with each row containing source and target artifact content alongside the label between the artifacts.

Citation Information

@ARTICLE{1232285,
  author={Cleland-Huang, J. and Chang, C.K. and Christensen, M.},
  journal={IEEE Transactions on Software Engineering}, 
  title={Event-based traceability for managing evolutionary change}, 
  year={2003},
  volume={29},
  number={9},
  pages={796-810},
  keywords={Software maintenance;Software systems;Maintenance engineering;Control systems;Computer science;Computer Society;Project management;Software testing;System testing;Software engineering},
  doi={10.1109/TSE.2003.1232285}}
Downloads last month
5