ID |
File |
Start |
Method |
ABSmell Metric |
Feature Location Metric |
Feature Constants Metric |
Nesting Metric |
LOC |
LOAC |
LOFC |
NOFL |
NOFC_Dup |
NOFC_NonDup |
ND-acc |
1 |
/xmlIO.c |
268 |
void __xmlIOErr(int domain, int code, const char *extra) |
50.87 |
48.89 |
1.00 |
0.98 |
167.00 |
157.00 |
310.00 |
52.00 |
52.00 |
50.00 |
51.00 |
2 |
/xmllint.c |
2169 |
static void parseAndPrintFile(char *filename, xmlParserCtxtPtr
rectxt) |
36.17 |
33.25 |
1.70 |
1.22 |
691.00 |
621.00 |
916.00 |
37.00 |
63.00 |
18.00 |
45.00 |
3 |
/xmllint.c |
3126 |
int main(int argc, char **argv) |
24.47 |
23.35 |
1.00 |
0.13 |
651.00 |
380.00 |
399.00 |
40.00 |
40.00 |
17.00 |
5.00 |
4 |
/nanohttp.c |
851 |
static SOCKET xmlNanoHTTPConnectAttempt(struct sockaddr *addr) |
19.56 |
17.33 |
1.08 |
1.15 |
156.00 |
104.00 |
238.00 |
26.00 |
28.00 |
11.00 |
30.00 |
5 |
/xmllint.c |
2987 |
static void usage(const char *name) |
16.51 |
15.42 |
1.00 |
0.09 |
117.00 |
82.00 |
90.00 |
22.00 |
22.00 |
17.00 |
2.00 |
6 |
/nanohttp.c |
1039 |
static SOCKET xmlNanoHTTPConnectHost(const char *host, int
port) |
14.80 |
12.03 |
2.00 |
0.77 |
147.00 |
136.00 |
435.00 |
13.00 |
26.00 |
9.00 |
10.00 |
7 |
/threads.c |
659 |
xmlGlobalStatePtr xmlGetGlobalState(void) |
13.34 |
9.64 |
1.90 |
1.80 |
83.00 |
80.00 |
268.00 |
10.00 |
19.00 |
6.00 |
18.00 |
8 |
/testHTML.c |
714 |
static void parseAndPrintFile(char *filename) |
9.53 |
7.03 |
1.50 |
1.00 |
66.00 |
58.00 |
92.00 |
8.00 |
12.00 |
7.00 |
8.00 |
9 |
/testHTML.c |
620 |
static void parseSAXFile(char *filename) |
9.19 |
4.86 |
2.33 |
2.00 |
79.00 |
64.00 |
100.00 |
6.00 |
14.00 |
4.00 |
12.00 |
10 |
/testapi.c |
24030 |
static int test_xmlValidateNCName(void) |
8.78 |
1.78 |
6.00 |
1.00 |
36.00 |
32.00 |
380.00 |
2.00 |
12.00 |
9.00 |
2.00 |
11 |
/testSAX.c |
1004 |
static void parseAndPrintFile(char *filename) |
8.04 |
3.71 |
2.33 |
2.00 |
102.00 |
63.00 |
99.00 |
6.00 |
14.00 |
4.00 |
12.00 |
12 |
/threads.c |
439 |
void __xmlGlobalInitMutexLock(void) |
7.63 |
5.63 |
1.50 |
0.50 |
48.00 |
45.00 |
121.00 |
6.00 |
9.00 |
5.00 |
3.00 |
13 |
/xmlIO.c |
771 |
int xmlCheckFilename (const char *path) |
7.00 |
3.80 |
1.80 |
1.40 |
25.00 |
19.00 |
56.00 |
5.00 |
9.00 |
5.00 |
7.00 |
14 |
/encoding.c |
1632 |
xmlCharEncodingHandlerPtr xmlFindCharEncodingHandler(const
char *name) |
6.77 |
5.52 |
1.00 |
0.25 |
113.00 |
78.00 |
86.00 |
8.00 |
8.00 |
3.00 |
2.00 |
15 |
/trionan.c |
323 |
TRIO_PUBLIC double trio_nan(TRIO_NOARGS) |
6.76 |
4.09 |
2.33 |
0.33 |
22.00 |
15.00 |
66.00 |
6.00 |
14.00 |
5.00 |
2.00 |
16 |
/nanohttp.c |
452 |
static int xmlNanoHTTPSend(xmlNanoHTTPCtxtPtr ctxt, const char
*xmt_ptr, int outlen) |
6.39 |
4.77 |
1.25 |
0.38 |
52.00 |
31.00 |
50.00 |
8.00 |
10.00 |
5.00 |
3.00 |
17 |
/python/types.c |
597 |
xmlXPathObjectPtr libxml_xmlXPathObjectPtrConvert(PyObject
*obj) |
6.36 |
5.16 |
1.00 |
0.20 |
91.00 |
47.00 |
67.00 |
10.00 |
10.00 |
5.00 |
2.00 |
18 |
/xmlmemory.c |
717 |
void xmlMemDisplay(FILE *fp) |
6.35 |
4.15 |
1.40 |
0.80 |
65.00 |
54.00 |
77.00 |
5.00 |
7.00 |
3.00 |
4.00 |
19 |
/xmllint.c |
1735 |
static void processNode(xmlTextReaderPtr reader) |
6.14 |
2.89 |
1.75 |
1.50 |
79.00 |
57.00 |
85.00 |
4.00 |
7.00 |
3.00 |
6.00 |
20 |
/xinclude.c |
1402 |
static int xmlXIncludeLoadDoc(xmlXIncludeCtxtPtr ctxt, const
xmlChar *url, int nr) |
6.13 |
5.03 |
1.00 |
0.10 |
296.00 |
149.00 |
152.00 |
10.00 |
10.00 |
3.00 |
1.00 |
21 |
/trionan.c |
258 |
TRIO_PUBLIC double trio_pinf(TRIO_NOARGS) |
5.88 |
3.48 |
2.00 |
0.40 |
23.00 |
16.00 |
57.00 |
5.00 |
10.00 |
4.00 |
2.00 |
22 |
/testapi.c |
13605 |
static int test_xmlParseBalancedChunkMemoryRecover(void) |
5.84 |
2.84 |
1.33 |
1.67 |
74.00 |
70.00 |
144.00 |
3.00 |
4.00 |
1.00 |
5.00 |
23 |
/testapi.c |
13529 |
static int test_xmlParseBalancedChunkMemory(void) |
5.82 |
2.82 |
1.33 |
1.67 |
67.00 |
63.00 |
130.00 |
3.00 |
4.00 |
1.00 |
5.00 |
24 |
/xpath.c |
3417 |
void xmlXPathNodeSetSort(xmlNodeSetPtr set) |
5.81 |
4.41 |
1.00 |
0.40 |
34.00 |
30.00 |
39.00 |
5.00 |
5.00 |
2.00 |
2.00 |
25 |
/testapi.c |
15155 |
static int test_xmlSAXUserParseMemory(void) |
5.77 |
2.77 |
1.33 |
1.67 |
53.00 |
49.00 |
102.00 |
3.00 |
4.00 |
1.00 |
5.00 |
26 |
/testapi.c |
15100 |
static int test_xmlSAXUserParseFile(void) |
5.74 |
2.74 |
1.33 |
1.67 |
46.00 |
42.00 |
88.00 |
3.00 |
4.00 |
1.00 |
5.00 |
27 |
/threads.c |
954 |
static void xmlOnceInit(void) |
5.48 |
3.48 |
1.75 |
0.25 |
31.00 |
27.00 |
65.00 |
4.00 |
7.00 |
4.00 |
1.00 |
28 |
/parser.c |
13639 |
xmlParserErrors xmlParseInNodeContext(xmlNodePtr node, const
char *data, int datalen, int options, xmlNodePtr
*lst) |
5.42 |
3.92 |
1.00 |
0.50 |
151.00 |
148.00 |
160.00 |
4.00 |
4.00 |
2.00 |
2.00 |
29 |
/testapi.c |
5026 |
static int test_xmlSAX2StartElement(void) |
5.30 |
1.80 |
3.00 |
0.50 |
41.00 |
37.00 |
220.00 |
2.00 |
6.00 |
5.00 |
1.00 |
30 |
/testapi.c |
4061 |
static int test_xmlSAX2EndElement(void) |
5.26 |
1.76 |
3.00 |
0.50 |
34.00 |
30.00 |
178.00 |
2.00 |
6.00 |
5.00 |
1.00 |
31 |
/python/libxml.c |
3905 |
PyObject *PyInit_libxml2mod(void) #else void
initlibxml2mod(void) #endif |
5.17 |
4.00 |
1.00 |
0.17 |
24.00 |
16.00 |
20.00 |
6.00 |
6.00 |
2.00 |
1.00 |
32 |
/threads.c |
241 |
void xmlMutexLock(xmlMutexPtr tok) |
4.95 |
2.95 |
1.75 |
0.25 |
19.00 |
14.00 |
41.00 |
4.00 |
7.00 |
4.00 |
1.00 |
33 |
/encoding.c |
1388 |
void xmlInitCharEncodingHandlers(void) |
4.60 |
3.00 |
1.20 |
0.40 |
45.00 |
27.00 |
39.00 |
5.00 |
6.00 |
5.00 |
2.00 |
34 |
/testapi.c |
21906 |
static int test_xmlNewProp(void) |
4.31 |
1.81 |
2.00 |
0.50 |
43.00 |
39.00 |
154.00 |
2.00 |
4.00 |
3.00 |
1.00 |
35 |
/python/libxml.c |
1549 |
PyObject * libxml_htmlSAXParseFile(ATTRIBUTE_UNUSED PyObject *
self, PyObject * args) |
4.02 |
2.69 |
1.00 |
0.33 |
29.00 |
26.00 |
31.00 |
3.00 |
3.00 |
2.00 |
1.00 |
36 |
/python/libxml.c |
1482 |
PyObject * libxml_htmlCreatePushParser(ATTRIBUTE_UNUSED
PyObject * self, PyObject * args) |
3.96 |
2.63 |
1.00 |
0.33 |
32.00 |
28.00 |
33.00 |
3.00 |
3.00 |
2.00 |
1.00 |
37 |
/testapi.c |
21049 |
static int test_xmlNewChild(void) |
3.84 |
1.84 |
1.50 |
0.50 |
50.00 |
46.00 |
136.00 |
2.00 |
3.00 |
2.00 |
1.00 |
38 |
/testapi.c |
32307 |
static int test_xmlTextReaderPreservePattern(void) |
3.81 |
1.81 |
1.50 |
0.50 |
43.00 |
39.00 |
115.00 |
2.00 |
3.00 |
2.00 |
1.00 |
39 |
/testapi.c |
24073 |
static int test_xmlValidateNMToken(void) |
3.78 |
1.78 |
1.50 |
0.50 |
36.00 |
32.00 |
94.00 |
2.00 |
3.00 |
2.00 |
1.00 |
40 |
/testapi.c |
24159 |
static int test_xmlValidateQName(void) |
3.78 |
1.78 |
1.50 |
0.50 |
36.00 |
32.00 |
94.00 |
2.00 |
3.00 |
2.00 |
1.00 |
41 |
/testapi.c |
24116 |
static int test_xmlValidateName(void) |
3.78 |
1.78 |
1.50 |
0.50 |
36.00 |
32.00 |
94.00 |
2.00 |
3.00 |
2.00 |
1.00 |
42 |
/testapi.c |
13978 |
static int test_xmlParseExternalEntity(void) |
3.39 |
1.89 |
1.00 |
0.50 |
71.00 |
67.00 |
132.00 |
2.00 |
2.00 |
1.00 |
1.00 |
43 |
/testapi.c |
15036 |
static int test_xmlSAXParseMemoryWithData(void) |
3.36 |
1.86 |
1.00 |
0.50 |
57.00 |
53.00 |
104.00 |
2.00 |
2.00 |
1.00 |
1.00 |
44 |
/testapi.c |
14979 |
static int test_xmlSAXParseMemory(void) |
3.34 |
1.84 |
1.00 |
0.50 |
50.00 |
46.00 |
90.00 |
2.00 |
2.00 |
1.00 |
1.00 |
45 |
/testapi.c |
14922 |
static int test_xmlSAXParseFileWithData(void) |
3.34 |
1.84 |
1.00 |
0.50 |
50.00 |
46.00 |
90.00 |
2.00 |
2.00 |
1.00 |
1.00 |
46 |
/testapi.c |
8514 |
static int test_UTF8Toisolat1(void) |
3.34 |
1.84 |
1.00 |
0.50 |
50.00 |
46.00 |
90.00 |
2.00 |
2.00 |
1.00 |
1.00 |
47 |
/testapi.c |
26117 |
static int test_xmlValidGetPotentialChildren(void) |
3.34 |
1.84 |
1.00 |
0.50 |
50.00 |
46.00 |
90.00 |
2.00 |
2.00 |
1.00 |
1.00 |
48 |
/testapi.c |
26174 |
static int test_xmlValidGetValidElements(void) |
3.34 |
1.84 |
1.00 |
0.50 |
50.00 |
46.00 |
90.00 |
2.00 |
2.00 |
1.00 |
1.00 |
49 |
/testapi.c |
21441 |
static int test_xmlNewDocRawNode(void) |
3.34 |
1.84 |
1.00 |
0.50 |
50.00 |
46.00 |
90.00 |
2.00 |
2.00 |
1.00 |
1.00 |
50 |
/testapi.c |
22027 |
static int test_xmlNewTextChild(void) |
3.34 |
1.84 |
1.00 |
0.50 |
50.00 |
46.00 |
90.00 |
2.00 |
2.00 |
1.00 |
1.00 |
51 |
/testapi.c |
18359 |
static int test_xmlAttrSerializeTxtContent(void) |
3.33 |
1.83 |
1.00 |
0.50 |
48.00 |
44.00 |
86.00 |
2.00 |
2.00 |
1.00 |
1.00 |
52 |
/testapi.c |
14872 |
static int test_xmlSAXParseFile(void) |
3.31 |
1.81 |
1.00 |
0.50 |
43.00 |
39.00 |
76.00 |
2.00 |
2.00 |
1.00 |
1.00 |
53 |
/testapi.c |
14779 |
static int test_xmlSAXParseDoc(void) |
3.31 |
1.81 |
1.00 |
0.50 |
43.00 |
39.00 |
76.00 |
2.00 |
2.00 |
1.00 |
1.00 |
54 |
/testapi.c |
14729 |
static int test_xmlSAXParseDTD(void) |
3.31 |
1.81 |
1.00 |
0.50 |
43.00 |
39.00 |
76.00 |
2.00 |
2.00 |
2.00 |
1.00 |
55 |
/testapi.c |
13083 |
static int test_xmlGetFeature(void) |
3.31 |
1.81 |
1.00 |
0.50 |
43.00 |
39.00 |
76.00 |
2.00 |
2.00 |
1.00 |
1.00 |
56 |
/testapi.c |
15227 |
static int test_xmlSetFeature(void) |
3.31 |
1.81 |
1.00 |
0.50 |
43.00 |
39.00 |
76.00 |
2.00 |
2.00 |
1.00 |
1.00 |
57 |
/testapi.c |
15277 |
static int test_xmlSetupParserForBuffer(void) |
3.30 |
1.80 |
1.00 |
0.50 |
41.00 |
37.00 |
72.00 |
2.00 |
2.00 |
1.00 |
1.00 |
58 |
/testapi.c |
25959 |
static int test_xmlSprintfElementContent(void) |
3.30 |
1.80 |
1.00 |
0.50 |
41.00 |
37.00 |
72.00 |
2.00 |
2.00 |
1.00 |
1.00 |
59 |
/testapi.c |
14152 |
static int test_xmlParseMemory(void) |
3.28 |
1.78 |
1.00 |
0.50 |
36.00 |
32.00 |
62.00 |
2.00 |
2.00 |
1.00 |
1.00 |
60 |
/testapi.c |
14829 |
static int test_xmlSAXParseEntity(void) |
3.28 |
1.78 |
1.00 |
0.50 |
36.00 |
32.00 |
62.00 |
2.00 |
2.00 |
1.00 |
1.00 |
61 |
/testapi.c |
14686 |
static int test_xmlRecoverMemory(void) |
3.28 |
1.78 |
1.00 |
0.50 |
36.00 |
32.00 |
62.00 |
2.00 |
2.00 |
1.00 |
1.00 |
62 |
/testapi.c |
13140 |
static int test_xmlGetFeaturesList(void) |
3.28 |
1.78 |
1.00 |
0.50 |
36.00 |
32.00 |
62.00 |
2.00 |
2.00 |
1.00 |
1.00 |
63 |
/testapi.c |
13797 |
static int test_xmlParseDTD(void) |
3.28 |
1.78 |
1.00 |
0.50 |
36.00 |
32.00 |
62.00 |
2.00 |
2.00 |
1.00 |
1.00 |
64 |
/testapi.c |
22940 |
static int test_xmlReconciliateNs(void) |
3.28 |
1.78 |
1.00 |
0.50 |
36.00 |
32.00 |
62.00 |
2.00 |
2.00 |
1.00 |
1.00 |
65 |
/testapi.c |
13215 |
static int test_xmlIOParseDTD(void) |
3.26 |
1.76 |
1.00 |
0.50 |
33.00 |
29.00 |
56.00 |
2.00 |
2.00 |
1.00 |
1.00 |
66 |
/testapi.c |
13840 |
static int test_xmlParseDoc(void) |
3.22 |
1.72 |
1.00 |
0.50 |
29.00 |
25.00 |
48.00 |
2.00 |
2.00 |
1.00 |
1.00 |
67 |
/testapi.c |
14056 |
static int test_xmlParseFile(void) |
3.22 |
1.72 |
1.00 |
0.50 |
29.00 |
25.00 |
48.00 |
2.00 |
2.00 |
1.00 |
1.00 |
68 |
/testapi.c |
13909 |
static int test_xmlParseEntity(void) |
3.22 |
1.72 |
1.00 |
0.50 |
29.00 |
25.00 |
48.00 |
2.00 |
2.00 |
1.00 |
1.00 |
69 |
/testapi.c |
14650 |
static int test_xmlRecoverFile(void) |
3.22 |
1.72 |
1.00 |
0.50 |
29.00 |
25.00 |
48.00 |
2.00 |
2.00 |
1.00 |
1.00 |
70 |
/testapi.c |
14614 |
static int test_xmlRecoverDoc(void) |
3.22 |
1.72 |
1.00 |
0.50 |
29.00 |
25.00 |
48.00 |
2.00 |
2.00 |
1.00 |
1.00 |
71 |
/testapi.c |
5218 |
static int test_xmlSAXDefaultVersion(void) |
3.22 |
1.72 |
1.00 |
0.50 |
29.00 |
25.00 |
48.00 |
2.00 |
2.00 |
1.00 |
1.00 |
72 |
/python/libxml.c |
1519 |
PyObject * libxml_xmlSAXParseFile(ATTRIBUTE_UNUSED PyObject *
self, PyObject * args) |
3.10 |
1.60 |
1.00 |
0.50 |
25.00 |
20.00 |
24.00 |
2.00 |
2.00 |
2.00 |
1.00 |
73 |
/testapi.c |
3699 |
static int test_docbDefaultSAXHandlerInit(void) |
3.10 |
1.60 |
1.00 |
0.50 |
20.00 |
16.00 |
30.00 |
2.00 |
2.00 |
1.00 |
1.00 |
74 |
/testapi.c |
3726 |
static int test_htmlDefaultSAXHandlerInit(void) |
3.10 |
1.60 |
1.00 |
0.50 |
20.00 |
16.00 |
30.00 |
2.00 |
2.00 |
1.00 |
1.00 |
75 |
/testapi.c |
9280 |
static int test_xmlCleanupPredefinedEntities(void) |
3.10 |
1.60 |
1.00 |
0.50 |
20.00 |
16.00 |
30.00 |
2.00 |
2.00 |
1.00 |
1.00 |
76 |
/testapi.c |
9653 |
static int test_xmlInitializePredefinedEntities(void) |
3.10 |
1.60 |
1.00 |
0.50 |
20.00 |
16.00 |
30.00 |
2.00 |
2.00 |
1.00 |
1.00 |
|
|
|
|
5.00 |
|
|
|
|
|
|
|
|
|
|