Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kieker-TeeTime-Stages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeeTime
Kieker-TeeTime-Stages
Commits
f1c7869a
Commit
f1c7869a
authored
9 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
fix some bugs
parent
ba27ad68
No related branches found
Branches containing commit
No related tags found
1 merge request
!17
Get impletemented stages and Java 8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/kieker/analysis/dev/OperationsDependency.java
+13
-6
13 additions, 6 deletions
src/main/java/kieker/analysis/dev/OperationsDependency.java
with
13 additions
and
6 deletions
src/main/java/kieker/analysis/dev/OperationsDependency.java
+
13
−
6
View file @
f1c7869a
...
...
@@ -34,12 +34,18 @@ public class OperationsDependency {
if
(!
operations
.
containsKey
(
key
))
{
operations
.
put
(
key
,
new
AggregatedOperationCall
(
call
.
getContainer
(),
call
.
getComponent
(),
call
.
getOperation
(),
0
));
}
operations
.
get
(
key
).
addChild
(
call
);
// TODO Dont't add the call as child but as something different
// operations.get(key).addChild(call);
}
private
void
addRelation
(
final
AggregatedOperationCall
call
)
{
String
key
=
call
.
getIdentifier
()
+
','
+
call
.
getIdentifier
();
if
(
call
.
getParent
()
==
null
)
{
// TODO parent shouldn't be null. Create a class "EntryOperationCall".
return
;
}
String
key
=
call
.
getIdentifier
()
+
','
+
call
.
getParent
().
getIdentifier
();
if
(!
relations
.
containsKey
(
key
))
{
...
...
@@ -51,9 +57,9 @@ public class OperationsDependency {
}
if
(
call
.
isFailed
())
{
relations
.
get
(
key
).
addFailuredCalls
(
call
.
getCalls
());
// TODO Temp
relations
.
get
(
key
).
addFailuredCalls
(
call
.
getCalls
());
}
else
{
relations
.
get
(
key
).
addCalls
(
call
.
getCalls
());
// TODO Temp
relations
.
get
(
key
).
addCalls
(
call
.
getCalls
());
}
}
...
...
@@ -72,7 +78,7 @@ public class OperationsDependency {
for
(
AggregatedOperationCall
call2
:
call
.
getValue
().
getChildren
())
{
System
.
out
.
println
(
call2
.
getOperation
());
System
.
out
.
println
(
call2
.
getOperation
()
+
": "
+
call2
.
getCalls
()
);
// System.out.println(call2.getFailedCause());
}
...
...
@@ -91,7 +97,8 @@ public class OperationsDependency {
System
.
out
.
println
(
"Set begin"
);
// System.out.println(call.getKey());
System
.
out
.
println
(
call
.
getValue
().
getCaller
().
getOperation
()
+
"->"
+
call
.
getValue
().
getCallee
().
getOperation
());
System
.
out
.
println
(
call
.
getValue
().
getCaller
().
getOperation
()
+
"<-"
+
call
.
getValue
().
getCallee
().
getOperation
()
+
": "
+
call
.
getValue
().
getCalls
()
+
" (F: "
+
call
.
getValue
().
getFailuredCalls
()
+
")"
);
System
.
out
.
println
(
"Set end"
);
System
.
out
.
println
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment