<commit_before>component output="false" {

	this.name = "cfml_lucee5_aplication_demo_" & hash( cgi.server_name, "MD5", "utf-8" );
	this.locale = "en_US";
	this.timezone = "America/New_York";
	this.charset.web="UTF-8";
	this.charset.resource="UTF-8";
	this.compression = true;
	this.applicationTimeout = createTimeSpan( 1, 0, 0, 0 );
	this.sessionManagement = true;
	this.sessionTimeout = createTimeSpan( 0, 0, 30, 0 );
	this.sessionType = "j2ee";
	this.sessionStorage = "cookie";
	this.sessioncookie.httponly = true;
	this.sessioncookie.secure = true;
	this.loginStorage = "session";
	this.clientManagement = true;
	this.clientStorage = "cookie";
	this.setClientCookies = true;
	this.setDomainCookies = true;
	this.scriptProtect = true;

	/**
		@hint "Runs when an application times out or the server is shutting down."
		@ApplicationScope "The application scope."
	*/
	public void function onApplicationEnd(struct ApplicationScope=structNew()) {

		return;
	}


	/**
		@hint "Runs when ColdFusion receives the first request for a page in the application."
		@output "false"
	*/
	public void function onApplicationStart() {

		return;
	}


	/**
		@hint "Runs when a session ends."
		@SessionScope "The Session scope"
		@ApplicationScope "The Application scope"
	*/
	public void function onSessionEnd(required struct SessionScope, struct ApplicationScope=structNew()) {

		return;
	}


	/**
		@hint "Runs when a session starts."
	*/
	public void function onSessionStart() {

		return;
	}


	/**
		@hint "Runs at the end of a request, after all other CFML code."
	*/
	public void function onRequestEnd() {

		return;
	}


	/**
		@hint "Runs when a request starts."
		@TargetPage "Path from the web root to the requested page."
	*/
	public boolean function onRequestStart(required string TargetPage) {

		return true;
	}



	/**
		@hint "Runs when a request specifies a non-existent CFML page."
		@TargetPage "The path from the web root to the requested CFML page."
	*/
	public boolean function onMissingTemplate(required string TargetPage) {
		var pageRequested = trim(arguments.targetPage);

		return false;
	}


	/**
		@hint "Runs when an uncaught exception occurs in the application."
		@Exception "The ColdFusion Exception object. For information on the structure of this object, see the description of the cfcatch variable in the cfcatch description."
		@EventName "The name of the event handler that generated the exception. If the error occurs during request processing and you do not implement an onRequest method, EventName is the empty string."
	*/
	public void function onError(required any Exception, required string EventName) {

			savecontent variable="errorOutput" {
				writeOutput( "#cgi.request_url#<br><br>" );
				dump( var="#arguments.eventname#",label="Event Name",format="html" );
				dump( var="#arguments.exception#",label="Exception",format="html" );
				dump( var="#client#",label="Client",format="html" );
				dump( var="#session#",label="Session",format="html" );
				dump( var="#request#",label="Request",format="html" );
				dump( var="#form#",label="Form",format="html" );
				dump( var="#url#",label="URL",format="html" );
				dump( var="#cgi#",label="CGI",format="html" );
			}

			writeOutput( errorOutput );

			return;
		}

}
<commit_msg>:rotating_light: Remove linter warnings<commit_after>component output="false" {

	this.name = "cfml_lucee5_aplication_demo_" & hash( cgi.server_name, "MD5", "utf-8" );
	this.locale = "en_US";
	this.timezone = "America/New_York";
	this.charset.web="UTF-8";
	this.charset.resource="UTF-8";
	this.compression = true;
	this.applicationTimeout = createTimeSpan( 1, 0, 0, 0 );
	this.sessionManagement = true;
	this.sessionTimeout = createTimeSpan( 0, 0, 30, 0 );
	this.sessionType = "j2ee";
	this.sessionStorage = "cookie";
	this.sessioncookie.httponly = true;
	this.sessioncookie.secure = true;
	this.loginStorage = "session";
	this.clientManagement = true;
	this.clientStorage = "cookie";
	this.setClientCookies = true;
	this.setDomainCookies = true;
	this.scriptProtect = true;

	/**
	 * @hint "Runs when an application times out or the server is shutting down."
	 * @ApplicationScope "The application scope."
	*/
	public void function onApplicationEnd(struct ApplicationScope=structNew()) {

		return;
	}


	/**
	 * @hint "Runs when ColdFusion receives the first request for a page in the application."
	 * @output "false"
	*/
	public void function onApplicationStart() {

		return;
	}


	/**
	 * @hint "Runs when a session ends."
	 * @SessionScope "The Session scope"
	 * @ApplicationScope "The Application scope"
	*/
	public void function onSessionEnd(required struct SessionScope, struct ApplicationScope=structNew()) {

		return;
	}


	/**
	 * @hint "Runs when a session starts."
	*/
	public void function onSessionStart() {

		return;
	}


	/**
	 * @hint "Runs at the end of a request, after all other CFML code."
	*/
	public void function onRequestEnd() {

		return;
	}


	/**
	 * @hint "Runs when a request starts."
	 * @TargetPage "Path from the web root to the requested page."
	*/
	public boolean function onRequestStart(required string TargetPage) {

		return true;
	}



	/**
	 * @hint "Runs when a request specifies a non-existent CFML page." 
	 * @TargetPage "The path from the web root to the requested CFML page."
	*/
	public boolean function onMissingTemplate(required string TargetPage) {
		var pageRequested = trim(arguments.targetPage);

		return false;
	}


	/**
	 * @hint "Runs when an uncaught exception occurs in the application."
	 * @Exception "The ColdFusion Exception object. For information on the structure of this object, see the description of the cfcatch variable in the cfcatch description."
	 * @EventName "The name of the event handler that generated the exception. If the error occurs during request processing and you do not implement an onRequest method, EventName is the empty string."
	*/
	public void function onError(required any Exception, required string EventName) {

			savecontent variable="errorOutput" {
				writeOutput( "#cgi.request_url#<br><br>" );
				dump( var="#arguments.eventname#",label="Event Name",format="html" );
				dump( var="#arguments.exception#",label="Exception",format="html" );
				dump( var="#client#",label="Client",format="html" );
				dump( var="#session#",label="Session",format="html" );
				dump( var="#request#",label="Request",format="html" );
				dump( var="#form#",label="Form",format="html" );
				dump( var="#url#",label="URL",format="html" );
				dump( var="#cgi#",label="CGI",format="html" );
			}

			writeOutput( errorOutput );

			return;
		}

}

{'fraction_non_alphanumeric': 0.1301649765400333, 'fraction_numerical': 0.00454063871651279, 'mean_word_length': 4.333333333333333, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3708419', 'n_tokens_mistral': 2188, 'n_tokens_neox': 1968, 'n_words': 605}