Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 5 | 2 | 0.974 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 285 | Closure/closure/goog/uri/utils.js |
2 | 3 | 295 | Closure/closure/goog/uri/utils.js |
3 | 3 | 315 | Closure/closure/goog/uri/utils.js |
4 | 3 | 349 | Closure/closure/goog/uri/utils.js |
5 | 3 | 370 | Closure/closure/goog/uri/utils.js |
| ||||
/** * @param {string} uri The URI to examine. * @return {?string} The protocol or scheme, or null if none. Does not * include trailing colons or slashes. */ goog.uri.utils.getScheme= function (uri){ return goog.uri.utils.getComponentByIndex_( goog.uri.utils.ComponentIndex.SCHEME, uri); } ; |
| ||||
/** * @param {string} uri The URI to examine. * @return {?string} The user name still encoded, or null if none. */ goog.uri.utils.getUserInfoEncoded= function (uri){ return goog.uri.utils.getComponentByIndex_( goog.uri.utils.ComponentIndex.USER_INFO, uri); } ; |
| ||||
/** * @param {string} uri The URI to examine. * @return {?string} The domain name still encoded, or null if none. */ goog.uri.utils.getDomainEncoded= function (uri){ return goog.uri.utils.getComponentByIndex_( goog.uri.utils.ComponentIndex.DOMAIN, uri); } ; |
| ||||
/** * @param {string} uri The URI to examine. * @return {?string} The path still encoded, or null if none. Includes the * leading slash, if any. */ goog.uri.utils.getPathEncoded= function (uri){ return goog.uri.utils.getComponentByIndex_( goog.uri.utils.ComponentIndex.PATH, uri); } ; |
| ||||
/** * @param {string} uri The URI to examine. * @return {?string} The query data still encoded, or null if none. Does not * include the question mark itself. */ goog.uri.utils.getQueryData= function (uri){ return goog.uri.utils.getComponentByIndex_( goog.uri.utils.ComponentIndex.QUERY_DATA, uri); } ; |
| |||
/** * @param {string} uri The URI to examine. * @return {?string} The query data still encoded, or null if none. Does not * include the question mark itself. */ /** * @param {string} uri The URI to examine. * @return {?string} The path still encoded, or null if none. Includes the * leading slash, if any. */ /** * @param {string} uri The URI to examine. * @return {?string} The domain name still encoded, or null if none. */ /** * @param {string} uri The URI to examine. * @return {?string} The user name still encoded, or null if none. */ /** * @param {string} uri The URI to examine. * @return {?string} The protocol or scheme, or null if none. Does not * include trailing colons or slashes. */ goog.uri.utils. [[#variable58cdd860]]= function (uri) { return goog.uri.utils.getComponentByIndex_(goog.uri.utils.ComponentIndex. [[#variable58cdd7c0]],uri); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58cdd860]] | getQueryData |
1 | 2 | [[#58cdd860]] | getPathEncoded |
1 | 3 | [[#58cdd860]] | getDomainEncoded |
1 | 4 | [[#58cdd860]] | getUserInfoEncoded |
1 | 5 | [[#58cdd860]] | getScheme |
2 | 1 | [[#58cdd7c0]] | QUERY_DATA |
2 | 2 | [[#58cdd7c0]] | PATH |
2 | 3 | [[#58cdd7c0]] | DOMAIN |
2 | 4 | [[#58cdd7c0]] | USER_INFO |
2 | 5 | [[#58cdd7c0]] | SCHEME |