August 4

eli0tc wants to merge patch-1 into master

Fix logout in stats page

Current Status:

Analysed View on GitHub
Good work!

A positive pull request.

  • = Issues
  • - Duplication
  • = Complexity
  • - Coverage
Woo! You don't have new issues.


includes/functions-html.php
The variable $_title is not named in camelCase.
function yourls_html_head( $context = 'index', $title = '' ) {

The variable $num_queries is not named in camelCase.
function yourls_html_footer() {

The variable $search_text is not named in camelCase.
function yourls_html_tfooter( $params = array() ) {

The method yourls_html_select has a boolean flag argument $display, which is a certain sign of a Single Responsibility Principle violation.
function yourls_html_select( $name, $options, $selected = '', $display = false ) {

The method yourls_share_box has a boolean flag argument $hidden, which is a certain sign of a Single Responsibility Principle violation.
function yourls_share_box( $longurl, $shorturl, $title = '', $text='', $shortlink_title = '', $share_title = '', $hidden = false ) {

The variable $shortlink_title is not named in camelCase.
function yourls_share_box( $longurl, $shorturl, $title = '', $text='', $shortlink_title = '', $share_title = '', $hidden = false ) {

The parameter $shortlink_title is not named in camelCase.
function yourls_share_box( $longurl, $shorturl, $title = '', $text='', $shortlink_title = '', $share_title = '', $hidden = false ) {

The variable $header_code is not named in camelCase.
function yourls_die( $message = '', $title = '', $header_code = 200 ) {

The parameter $header_code is not named in camelCase.
function yourls_die( $message = '', $title = '', $header_code = 200 ) {

The variable $safe_url is not named in camelCase.
function yourls_table_edit_row( $keyword ) {

The variable $delete_link is not named in camelCase.
function yourls_table_add_row( $keyword, $url, $title = '', $ip, $clicks, $timestamp ) {

The class yourls_table_add_row_callback is not named in CamelCase.
class yourls_table_add_row_callback {

The variable $error_msg is not named in camelCase.
function yourls_login_screen( $error_msg = '' ) {

The parameter $error_msg is not named in camelCase.
function yourls_login_screen( $error_msg = '' ) {

The variable $logout_link is not named in camelCase.
function yourls_html_menu() {

The method yourls_bookmarklet_link has a boolean flag argument $echo, which is a certain sign of a Single Responsibility Principle violation.
function yourls_bookmarklet_link( $href, $anchor, $echo = true ) {

More

Loading...

Loading...

Loading...

Loading...