INNER CODE UNIT · Python

countFiles

Haeri/PhotonBox · scripts/code_checker.py:44

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:
		MEMORY_MOD_ERR += 1
		print("MEMORY CHECH MISSING: " + item)

def memoryCheckModule():

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…