Skip to content

Manually instrument 10 functions with high CC #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
adambenali opened this issue Feb 14, 2020 · 9 comments
Closed

Manually instrument 10 functions with high CC #3

adambenali opened this issue Feb 14, 2020 · 9 comments
Assignees

Comments

@adambenali
Copy link
Owner

adambenali commented Feb 14, 2020

The function should have a CC > 10 and have bad test coverage.
Write 2 tests each, preferably for 2 different functions (among these 10!).

@jrutqvist
Copy link
Collaborator

I'm gonna call dibs on the function index 0 (instrumentation point indexes 0-99) for Matrix.add to test instrumentation on!

@ChangGabriel
Copy link
Collaborator

ChangGabriel commented Feb 16, 2020

I will do one test for Matrix.compare() line:27 - 57 and Dijkstra::getShortestPath line:57 - 134.

@adambenali
Copy link
Owner Author

adambenali commented Feb 16, 2020

I'm taking FenwickTree::combined (index 100->199) and FenwickTree::separate (index 200->299).

@jrutqvist
Copy link
Collaborator

Ill do BinarySearchTree:getDFS with indexes 300-399!

@hanzhsun
Copy link
Collaborator

I will take BinaryHeapArray::validateNode (index 400->499) and BinaryHeapTree::validateNode (index 500->599).

@jrutqvist jrutqvist self-assigned this Feb 17, 2020
jrutqvist added a commit that referenced this issue Feb 17, 2020
Implement instrumentation for Matrix.add #3
jrutqvist added a commit that referenced this issue Feb 17, 2020
Implement instrumentation of BinarySearchTree.getDFS #3
@jrutqvist
Copy link
Collaborator

jrutqvist commented Feb 17, 2020

Ok @hanzhsun @ChangGabriel I'll do instrumentation for your functions now! As well as for two functions for @pandaseal

@jrutqvist
Copy link
Collaborator

Ill call indexes 6 (600-699) and 7 (700-799) for @ChangGabriel's functions and 8 and 9 for @pandaseal's functions

@jrutqvist
Copy link
Collaborator

@pandaseal gets KdTree.searchNode and SuffixTree:TreePrinter:getString!

@pandaseal
Copy link
Collaborator

pandaseal commented Feb 18, 2020

I will write tests for Matrix.equals() and Primes.isPrime().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants