ImpressCMS/impresscms

View on GitHub
htdocs/modules/system/language/italiano/admin/users.php

Summary

Maintainability
F
4 days
Test Coverage

Similar blocks of code found in 2 locations. Consider refactoring.
Open

<?php
// 08/2008 Updated and adapted for ImpressCMS by evoc - webmaster of www.impresscms.it
// Published by ImpressCMS Italian Official Support Site - www.impresscms.it
// Updated by evoc - webmaster of ImpressCMS
// Updated by Ianez - Xoops Italia Staff
Severity: Major
Found in htdocs/modules/system/language/italiano/admin/users.php and 1 other location - About 4 days to fix
htdocs/modules/system/language/francais/admin/images.php on lines 1..71

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 807.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

No space found after comma in function call
Open

define("_AM_YES","S&igrave;");

No space found after comma in function call
Open

define("_AM_AVATAR","Avatar");

No space found after comma in function call
Open

define("_AM_USERID","ID utente");

No space found after comma in function call
Open

define("_AM_LIST","Elenca");

No space found after comma in function call
Open

define("_AM_AYSYWTDU","Sei certo di voler eliminare l'utente %s?");

No space found after comma in function call
Open

define("_AM_DELUSER","Elimina Utente");

No space found after comma in function call
Open

define("_AM_AOUTVTEAD","Consenti ad altri utenti di visualizzare questo indirizzo email?");

No space found after comma in function call
Open

define("_AM_INDICATECOF","* campi obbligatori");

No space found after comma in function call
Open

define("_AM_USERPOST","Messaggi utente");

No space found after comma in function call
Open

define('_AM_BADPWD','Password scadente. La password non pu&ograve; contenere il nome utente.');

No space found after comma in function call
Open

define("_AM_REMOVED_USERS","Utenti rimossi");

No space found after comma in function call
Open

define("_AM_USERS_DELETEED","eliminato");

No space found after comma in function call
Open

define("_AM_MODIFYUSER","Modifica Utente");

No space found after comma in function call
Open

define("_AM_GO","Vai!");

No space found after comma in function call
Open

define("_AM_EMAIL","Indirizzo email");

No space found after comma in function call
Open

define("_AM_YIM","YIM");

No space found after comma in function call
Open

define("_AM_USERINFO","Dati utente");

No space found after comma in function call
Open

define("_AM_ACCESSLEV","Livello di accesso");

No space found after comma in function call
Open

define("_AM_CNGTCOM","Impossibile ottenere il numero totale dei commenti");

No space found after comma in function call
Open

define("_AM_UPDATEUSER","Utente modificato");

No space found after comma in function call
Open

define("_AM_CNRNU2","Impossibile aggiungere il nuovo utente al gruppo: %s.");

No space found after comma in function call
Open

define("_AM_STORIES","Articoli");

No space found after comma in function call
Open

define("_AM_CNUUSER","Impossibile aggiornare il profilo dell'utente");

No space found after comma in function call
Open

define("_AM_YMCACF","Devi compilare tutti i campi obbligatori!");

No space found after comma in function call
Open

define("_AM_NAME","Nome");

No space found after comma in function call
Open

define("_AM_INTEREST","Interessi");

No space found after comma in function call
Open

define("_AM_NSRA","Nessun livello speciale assegnato");

No space found after comma in function call
Open

define("_AM_COMMENTS","Commenti");

No space found after comma in function call
Open

define("_AM_CNGUSERID","Impossibile ottenere l'ID dell'utente");

No space found after comma in function call
Open

define("_AM_BYTHIS","Con questa operazione anche tutti i dati relativi all'utente verranno definitivamente cancellati.");

No space found after comma in function call
Open

define("_AM_NICKNAME","Nick");

No space found after comma in function call
Open

define("_AM_LOCATION","Localit&agrave;");

No space found after comma in function call
Open

define("_AM_SYNCHRONIZE","Sincronizza");

No space found after comma in function call
Open

define("_AM_USERDONEXIT","L'utente non esiste!");

No space found after comma in function call
Open

define("_AM_ADMIN_CAN_NOT_BE_DELETEED","L'utente amministrativo non pu&ograve; essere rimosso");

No space found after comma in function call
Open

define("_AM_ALREADY_EXISTS","esiste gia");

No space found after comma in function call
Open

define("_AM_NO","No");

No space found after comma in function call
Open

define("_AM_CNRNU","Impossibile registrare il nuovo utente.");

No space found after comma in function call
Open

define("_AM_URL","Sito web");

No space found after comma in function call
Open

define("_AM_PASSWORD","Password");

No space found after comma in function call
Open

define("_AM_RETYPEPD","Re-inserisci la password");

No space found after comma in function call
Open

define("_AM_CHANGEONLY","(solo per modificarla)");

No space found after comma in function call
Open

define("_AM_COULD_NOT_DELETE","non &egrave; possibile eliminare");

No space found after comma in function call
Open

define("_AM_A_USER_WITH_THIS_EMAIL_ADDRESS","Un utente con questo indirizzo email");

No space found after comma in function call
Open

define("_AM_OCCUPATION","Occupazione");

No space found after comma in function call
Open

define("_AM_DBUPDATED","Database aggiornato con successo!");

No space found after comma in function call
Open

define("_AM_PTBBTSDIYT","Premi il pulsante che segue per sincronizzare i dati se pensi che il numero dei messaggi inviati dall'utente non corrispondano al valore presente nel database.<br />");

No space found after comma in function call
Open

define("_AM_STNPDNM","Spiacenti, le due password sono diverse. Torna indietro e riprova!");

No space found after comma in function call
Open

define("_AM_ICQ","ICQ");

No space found after comma in function call
Open

define("_AM_MSNM","MSNM");

No space found after comma in function call
Open

define("_AM_RANK","Livello");

No space found after comma in function call
Open

define("_AM_NSRID","Nessun livello speciale nel database");

No space found after comma in function call
Open

define("_AM_SIGNATURE","Firma");

No space found after comma in function call
Open

define("_AM_NOTACTIVE","Questo utente non &egrave; ancora stato attivato. Vuoi attivare l'account dell'utente?");

No space found after comma in function call
Open

define("_AM_CNGTST","Impossibile ottenere il numero totale delle news");

No space found after comma in function call
Open

define("_AM_EDEUSER","Modifica/Elimina Utenti");

No space found after comma in function call
Open

define("_AM_AIM","AIM");

No space found after comma in function call
Open

define("_AM_ADDUSER","Aggiungi Utente");

No space found after comma in function call
Open

define("_AM_OPTION","Opzioni");

No space found after comma in function call
Open

define("_AM_THEME","Tema");

No space found after comma in function call
Open

define("_AM_LOGINNAME","Nome Login");

There are no issues that match your filters.

Category
Status