Archive for January, 2015

Gini index

WORK IN PROGRESS! Με μια φράση A low Gini coefficient indicates a more equal distribution, with 0 corresponding to complete equality, while higher Gini coefficients indicate more unequal distribution, with 1 corresponding to complete inequality Καμπύλη Lorenz πηγή EASYPOl, Charting Income Inequality The Lorenz Curve (11/11/13) http://www.fao.org/docs/up/easypol/302/charting_income_inequality_000en.pdf Η καμπύλη Lorenz είναι ένα εργαλείο που χρησιμοποιείτε […]


CCN

CCN Ο αριθμός κυκλοματικής πολυπλοκότητας CCN είναι μια από τις παλιότερες μετρικές πολυπλοκότητας. Για πρώτη φορά αυτή η μετρική αναφέρθηκε από τον J. McCabe το 1975. Η μετρική αυτή μετρά τα διαθέσιμα μονοπάτια αποφάσεων σε ένα τμήμα πηγαίου κώδικα για να βρει την πολυπλοκότητα του. Κάθε μονοπάτι απόφασης αρχίζει με ένα statement από αυτά της […]


Hooks explained

The simplest implementation of hooks is to have a global array holding the registered hooks, a function to make hook registrations and finally a function to call the corresponding function handlers for a given hook, as shown in the next code segment. 1 2 3 4 5 6 7 8 9 10 11 12 13 […]