web/js/admin_list.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 7
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 5
dl 0
loc 7
rs 10
c 1
b 0
f 0
cc 0
nc 1
mnd 0
bc 2
fnc 2
bpm 1
cpm 1
noi 0
1
$(document).ready(function () {
2
    $('#filter_email_value').change(function() {
3
        var txt = $(this).val();
4
        txt = txt.replace(/[^0-9a-zA-Z@.\-_]/gi, '');
5
        $(this).val(txt);
6
    });
7
});
8