eisen-dev/eisen_front

View on GitHub

Showing 2,746 of 2,746 total issues

The method get_out is not named in camelCase.
Open

public function get_out(){
if( !isset( $_SESSION['login_user']) ){
header('location:login.php');
}
}
Severity: Minor
Found in webd/includes/session.php by phpmd

The method TargetList is not named in camelCase.
Open

public function TargetList($user_id, $machine_id, $dbh) {
$stm = $dbh->prepare("select * from target_host WHERE user_id=:user_id AND machine_id=:machine_id;");
$stm-> bindParam(':user_id', $user_id, PDO::PARAM_STR);
$stm-> bindParam(':machine_id', $machine_id, PDO::PARAM_INT);
$stm->execute();
Severity: Minor
Found in webd/includes/DbAction.php by phpmd

The method is_session_started is not named in camelCase.
Open

public function is_session_started(){
return session_status();
}
Severity: Minor
Found in webd/includes/session.php by phpmd

The method some_logging_function is not named in camelCase.
Open

public function some_logging_function($log)
{
echo 'LOG : ' . $log . '<br />';
}
Severity: Minor
Found in webd/includes/DbAction.php by phpmd

The method start_session is not named in camelCase.
Open

public function start_session(){
if (session_status() !== PHP_SESSION_ACTIVE) {session_start();}
}
Severity: Minor
Found in webd/includes/session.php by phpmd

The method get_user_id is not named in camelCase.
Open

public function get_user_id(){
if( isset( $_SESSION['login_user']) ){
return $_SESSION['login_user'];
}else{
return 'logged off';
Severity: Minor
Found in webd/includes/session.php by phpmd

The method logoff_user_id is not named in camelCase.
Open

public function logoff_user_id(){
// remove all session variables
session_unset();
 
// destroy the session
Severity: Minor
Found in webd/includes/session.php by phpmd

TODO found
Open

#TODO use ini config file instead of php.
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

# TODO: it have problem finding duplicate NULL value
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

# TODO: it have problem finding duplicate NULL value
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

# TODO: it have problem finding duplicate NULL value
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

# TODO: it have problem finding duplicate NULL value
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

# TODO need to be fixed on the python side because the host
Severity: Minor
Found in webd/includes/hosts_registration.php by fixme

TODO found
Open

#TODO use ini config file instead of php.
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

# TODO: it have problem finding duplicate NULL value
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

# TODO: it have problem finding duplicate NULL value
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

#TODO check password length
Severity: Minor
Found in webd/includes/user_registration.php by fixme

TODO found
Open

# TODO: it have problem finding duplicate NULL value
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

# TODO: it have problem finding duplicate NULL value
Severity: Minor
Found in webd/includes/DbAction.php by fixme

TODO found
Open

position?: any; // TODO
Severity: Minor
Found in webd/ts/libs/jqueryui.d.ts by fixme
Severity
Category
Status
Source
Language