INNER CODE UNIT · Python

indexAll

Haeri/PhotonBox · scripts/code_checker.py:40

def indexAll():
	pathwalk(header_path, (".h"), indexHeader)
	pathwalk(cpp_path, (".cpp"), indexCpp)

def countFiles():
	print("Total lines of code: \t\t\t" + str(header_loc + cpp_loc))
	print("Total lines of code in Headers:\t\t" + str(header_loc))
	print("Total lines of code in CPP files:\t" + str(cpp_loc))



# ----------- MEMORY CHECK -----------------
def checkMemory(item):
	global MEMORY_MOD_ERR
	data = ""
	with open(item, 'r') as myfile:
		data = myfile.read()
	if data.find(MEMORY_CHECK)  == -1:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…