{"size": 873, "ext": "js", "max_stars_repo_path": "src/TestSuites/CoreLevel1/tests/official/xml/document/documentgetelementsbytagnametotallength.js", "max_stars_repo_name": "javert-click/javert-click", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/TestSuites/CoreLevel1/tests/official/xml/document/documentgetelementsbytagnametotallength.js", "max_issues_repo_name": "javert-click/javert-click", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/TestSuites/CoreLevel1/tests/official/xml/document/documentgetelementsbytagnametotallength.js", "max_forks_repo_name": "javert-click/javert-click", "max_forks_repo_forks_event_min_datetime": "2021-02-22T11:20:29.000Z", "max_forks_repo_forks_event_max_datetime": "2021-02-22T11:20:29.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 18.9782608696, "max_line_length": 87, "alphanum_fraction": 0.6666666667}

var docs = initDOMHeapCoreLevel1();
var jsUnitCore = initJsUnitCore();
var DOMTestCase = initDOMTestCase(jsUnitCore);   


/**
* 
   Retrieve the entire DOM document, invoke
   getElementsByTagName("*") and check the length of the NodeList. 

* @author NIST
* @author Mary Brady
* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-A6C9094
*/

     /*
     * @id documentgetelementsbytagnametotallength
     */
     (function documentgetelementsbytagnametotallength() {
   var success; 
    var doc;
      var nameList;
      
	   
	   
	doc = docs["staff.xml"]
           nameList = doc.getElementsByTagName("*");
      
	if(
	
	(doc.doctype.content == "image/svg+xml")

	) {
	DOMTestCase.assertSize("elementCountSVG",39,nameList);

	}
	
		else {
			DOMTestCase.assertSize("documentGetElementsByTagNameTotalLengthAssert",37,nameList);

		}
	
})()

