-
Notifications
You must be signed in to change notification settings - Fork 0
Interesting Test Cases
1. Function in conditional expressions Call Expression Operand
(classCondition ? jqLiteAddClass : jqLiteRemoveClass)(element, className)
commit: 03043839d5a540b02208001fe12e812dfde00a8e
Location: src/jqLite.js(1004,9) - (1004,60)
2. Extract function with Paramterized variables angular 60069e67aeb0352a7849ebfef15a6183bc3b7235
Parameterize Variable lastRoute to oldRoute in $RouteProvider.4.isNavigationUpdateOnly(newRoute ,oldRoute) at src/ngRoute/route.js|$RouteProvider.4.isNavigationUpdateOnly
3. Function is assigned to a variable and Documented as rename refactoring
Not reported by either of the tools.
https://github.com/angular/angular.js/commit/097947fd3bd280fcf621e36154a9d4f82896ff01
**4. Complex Extract Function (Potential Motivational)
https://github.com/angular/angular.js/commit/223de59e988dc0cc8b4ec3a045b7c0735eba1c77
angular.js 223de59e988dc0cc8b4ec3a045b7c0735eba1c77 EXTRACT_FUNCTION