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 |
/src/LYMain.c |
1007 |
int main(int argc, char **argv) |
52.64 |
51.36 |
1.15 |
0.14 |
807.00 |
471.00 |
613.00 |
88.00 |
101.00 |
59.00 |
12.00 |
2 |
/src/LYCurses.c |
1198 |
void start_curses(void) |
52.16 |
48.35 |
1.41 |
2.41 |
300.00 |
296.00 |
1058.00 |
49.00 |
69.00 |
34.00 |
118.00 |
3 |
/src/LYStrings.c |
1793 |
static int LYgetch_for(int code) |
48.92 |
45.96 |
1.55 |
1.42 |
718.00 |
600.00 |
1773.00 |
55.00 |
85.00 |
36.00 |
78.00 |
4 |
/WWW/Library/Implementation/HTTCP.c |
1788 |
int HTDoConnect(const char *url, const char *protocol, int
default_port, int *s) |
35.63 |
34.17 |
1.09 |
0.38 |
282.00 |
205.00 |
325.00 |
47.00 |
51.00 |
11.00 |
18.00 |
5 |
/src/HTInit.c |
1057 |
void HTFileInit(void) |
26.41 |
24.09 |
1.16 |
1.16 |
247.00 |
238.00 |
414.00 |
25.00 |
29.00 |
4.00 |
29.00 |
6 |
/WWW/Library/Implementation/HTFTP.c |
1163 |
static int get_listen_socket(void) |
25.61 |
24.11 |
1.00 |
0.50 |
223.00 |
192.00 |
262.00 |
28.00 |
28.00 |
6.00 |
14.00 |
7 |
/src/GridText.c |
1323 |
static int display_line(HTLine *line, HText *text, int scrline
GCC_UNUSED, const char *target GCC_UNUSED) |
22.14 |
20.60 |
1.25 |
0.29 |
246.00 |
181.00 |
289.00 |
28.00 |
35.00 |
6.00 |
8.00 |
8 |
/src/LYUtils.c |
7203 |
int LYSystem(char *command) |
18.01 |
15.25 |
1.47 |
1.29 |
136.00 |
122.00 |
308.00 |
17.00 |
25.00 |
12.00 |
22.00 |
9 |
/src/LYUtils.c |
4102 |
void LYConvertToURL(char **AllocatedString, int fixit) |
17.02 |
15.32 |
1.00 |
0.71 |
333.00 |
300.00 |
412.00 |
17.00 |
17.00 |
4.00 |
12.00 |
10 |
/src/LYMain.c |
3179 |
static int version_fun(char *next_arg GCC_UNUSED) |
16.85 |
14.20 |
1.50 |
1.15 |
69.00 |
49.00 |
140.00 |
20.00 |
30.00 |
17.00 |
23.00 |
11 |
/src/LYUtils.c |
3078 |
void size_change(int sig GCC_UNUSED) |
16.48 |
13.92 |
1.13 |
1.44 |
77.00 |
67.00 |
173.00 |
16.00 |
18.00 |
12.00 |
23.00 |
12 |
/src/LYCgi.c |
186 |
static int LYLoadCGI(const char *arg, HTParentAnchor
*anAnchor, HTFormat format_out, HTStream *sink) |
16.18 |
13.61 |
1.00 |
1.57 |
428.00 |
416.00 |
865.00 |
14.00 |
14.00 |
6.00 |
22.00 |
13 |
/src/LYForms.c |
361 |
static int form_getstr(int cur, int use_last_tfpos, int
redraw_only) |
15.72 |
14.25 |
1.14 |
0.32 |
385.00 |
196.00 |
331.00 |
28.00 |
32.00 |
13.00 |
9.00 |
14 |
/WWW/Library/Implementation/HTFile.c |
2709 |
int HTLoadFile(const char *addr, HTParentAnchor *anchor,
HTFormat format_out, HTStream *sink) |
14.88 |
12.82 |
1.07 |
1.00 |
309.00 |
264.00 |
629.00 |
15.00 |
16.00 |
8.00 |
15.00 |
15 |
/src/LYEditmap.c |
1453 |
int LYEditKeyForAction(int lac, int *pmodkey) |
14.87 |
12.20 |
1.53 |
1.13 |
161.00 |
131.00 |
226.00 |
15.00 |
23.00 |
4.00 |
17.00 |
16 |
/WWW/Library/Implementation/HTTCP.c |
1112 |
LYNX_HOSTENT *LYGetHostByName(char *host) |
14.86 |
12.61 |
1.13 |
1.13 |
118.00 |
93.00 |
192.00 |
16.00 |
18.00 |
9.00 |
18.00 |
17 |
/WWW/Library/Implementation/HTFile.c |
1922 |
static int print_local_dir(DIR *dp, char *localname,
HTParentAnchor *anchor, HTFormat format_out,
HTStream *sink) |
14.67 |
13.49 |
1.00 |
0.18 |
287.00 |
176.00 |
206.00 |
22.00 |
22.00 |
5.00 |
4.00 |
18 |
/WWW/Library/Implementation/HTFile.c |
2420 |
static int decompressAndParse(HTParentAnchor *anchor, HTFormat
format_out, HTStream *sink, char *nodename
GCC_UNUSED, char *filename, HTAtom *myEncoding, HTFormat format, int
*statusp) |
14.64 |
13.27 |
1.16 |
0.21 |
242.00 |
169.00 |
274.00 |
19.00 |
22.00 |
3.00 |
4.00 |
19 |
/src/LYCurses.c |
1738 |
void stop_curses(void) |
14.49 |
12.28 |
1.71 |
0.50 |
65.00 |
57.00 |
180.00 |
14.00 |
24.00 |
11.00 |
7.00 |
20 |
/src/LYUtils.c |
1798 |
int HTCheckForInterrupt(void) |
14.21 |
11.13 |
1.38 |
1.69 |
167.00 |
143.00 |
278.00 |
13.00 |
18.00 |
9.00 |
22.00 |
21 |
/WWW/Library/Implementation/HTTCP.c |
166 |
int HTInetStatus(const char *where) |
13.93 |
12.50 |
1.00 |
0.43 |
56.00 |
50.00 |
77.00 |
14.00 |
14.00 |
5.00 |
6.00 |
22 |
/src/LYexit.c |
86 |
void LYexit(int status) |
13.56 |
11.56 |
1.15 |
0.85 |
63.00 |
56.00 |
96.00 |
13.00 |
15.00 |
11.00 |
11.00 |
23 |
/WWW/Library/Implementation/HTTCP.c |
1269 |
static int HTParseInet(SockA * soc_in, const char *str) |
13.14 |
11.08 |
1.00 |
1.06 |
130.00 |
90.00 |
161.00 |
16.00 |
16.00 |
8.00 |
17.00 |
24 |
/WWW/Library/Implementation/HTTCP.c |
2187 |
int HTDoRead(int fildes, void *buf, unsigned nbyte) |
12.80 |
11.03 |
1.23 |
0.54 |
112.00 |
95.00 |
173.00 |
13.00 |
16.00 |
8.00 |
7.00 |
25 |
/src/LYExtern.c |
338 |
BOOL run_external(char *param, int only_overriders) |
12.78 |
10.98 |
1.13 |
0.67 |
97.00 |
71.00 |
111.00 |
15.00 |
17.00 |
5.00 |
10.00 |
26 |
/src/LYStrings.c |
3250 |
int LYDoEdit(FieldEditor * edit, int ch, int action, int
maxMessage) |
12.26 |
11.10 |
1.00 |
0.16 |
255.00 |
149.00 |
167.00 |
19.00 |
19.00 |
4.00 |
3.00 |
27 |
/src/LYCurses.c |
1585 |
void lynx_enable_mouse(int state) |
12.17 |
8.72 |
1.22 |
2.22 |
65.00 |
63.00 |
243.00 |
9.00 |
11.00 |
6.00 |
20.00 |
28 |
/src/LYLocal.c |
415 |
static int LYExecv(const char *path, char **argv, char *msg) |
11.96 |
9.16 |
1.20 |
1.60 |
83.00 |
76.00 |
221.00 |
10.00 |
12.00 |
7.00 |
16.00 |
29 |
/src/LYStrings.c |
5058 |
int LYgetBString(bstring **inputline, int hidden, size_t
max_cols, RecallType recall) |
11.69 |
10.54 |
1.00 |
0.14 |
239.00 |
120.00 |
137.00 |
21.00 |
21.00 |
9.00 |
3.00 |
30 |
/WWW/Library/Implementation/HTTelnet.c |
58 |
static int remote_session(char *acc_method, char *host) |
10.91 |
8.63 |
2.18 |
0.09 |
372.00 |
292.00 |
666.00 |
11.00 |
24.00 |
15.00 |
1.00 |
31 |
/WWW/Library/Implementation/HTTCP.c |
1666 |
static void get_host_details(void) |
10.34 |
8.64 |
1.00 |
0.70 |
66.00 |
57.00 |
121.00 |
10.00 |
10.00 |
5.00 |
7.00 |
32 |
/src/LYCurses.c |
308 |
void LYbox(WINDOW * win, int formfield GCC_UNUSED) |
10.00 |
7.75 |
1.00 |
1.25 |
65.00 |
63.00 |
152.00 |
8.00 |
8.00 |
4.00 |
10.00 |
33 |
/src/LYCurses.c |
2170 |
void LYtouchline(int row) |
9.66 |
7.16 |
1.25 |
1.25 |
19.00 |
17.00 |
62.00 |
8.00 |
10.00 |
5.00 |
10.00 |
34 |
/src/LYLocal.c |
1719 |
static char *build_command(char *line, char *dirName, char
*arg) |
9.47 |
7.69 |
1.11 |
0.67 |
179.00 |
153.00 |
265.00 |
9.00 |
10.00 |
5.00 |
6.00 |
35 |
/WWW/Library/Implementation/HTTP.c |
107 |
SSL *HTGetSSLHandle(void) |
9.46 |
8.02 |
1.11 |
0.33 |
64.00 |
57.00 |
84.00 |
9.00 |
10.00 |
5.00 |
3.00 |
36 |
/src/LYReadCFG.c |
2370 |
int lynx_cfg_infopage(DocInfo *newdoc) |
9.44 |
5.69 |
1.63 |
2.13 |
135.00 |
96.00 |
201.00 |
8.00 |
13.00 |
5.00 |
17.00 |
37 |
/src/LYUtils.c |
7428 |
const char *LYSysShell(void) |
9.26 |
7.26 |
1.00 |
1.00 |
43.00 |
39.00 |
84.00 |
8.00 |
8.00 |
4.00 |
8.00 |
38 |
/src/LYPrint.c |
470 |
static void send_file_to_mail(DocInfo *newdoc, char
*content_base, char *content_location) |
9.24 |
7.74 |
1.00 |
0.50 |
217.00 |
168.00 |
191.00 |
10.00 |
10.00 |
3.00 |
5.00 |
39 |
/src/LYMail.c |
909 |
void mailmsg(int cur, char *owner_address, char *filename,
char *linkname) |
8.97 |
7.74 |
1.00 |
0.23 |
173.00 |
103.00 |
156.00 |
13.00 |
13.00 |
3.00 |
3.00 |
40 |
/src/LYClean.c |
31 |
void cleanup_sig(int sig) |
8.77 |
7.47 |
1.00 |
0.30 |
75.00 |
56.00 |
69.00 |
10.00 |
10.00 |
5.00 |
3.00 |
41 |
/src/LYStrings.c |
124 |
int fancy_mouse(WINDOW * win, int row, int *position) |
8.76 |
5.59 |
1.33 |
1.83 |
117.00 |
109.00 |
394.00 |
6.00 |
8.00 |
5.00 |
11.00 |
42 |
/WWW/Library/Implementation/HTString.c |
629 |
PUBLIC_IF_FIND_LEAKS char *StrAllocVsprintf(char **pstr,
size_t dst_len, const char *fmt, va_list * ap) |
8.53 |
6.82 |
1.00 |
0.71 |
231.00 |
225.00 |
257.00 |
7.00 |
7.00 |
2.00 |
5.00 |
43 |
/src/GridText.c |
2793 |
static void split_line(HText *text, unsigned split) |
8.19 |
7.12 |
1.00 |
0.07 |
523.00 |
266.00 |
270.00 |
14.00 |
14.00 |
6.00 |
1.00 |
44 |
/WWW/Library/Implementation/HTFile.c |
1603 |
BOOL HTDirTitles(HTStructured * target, HTParentAnchor
*anchor, HTFormat format_out, int tildeIsTop) |
8.15 |
6.55 |
1.10 |
0.50 |
168.00 |
110.00 |
162.00 |
10.00 |
11.00 |
7.00 |
5.00 |
45 |
/src/LYUtils.c |
6747 |
BOOLEAN LYValidateFilename(bstring **result, bstring **given) |
7.68 |
5.25 |
1.14 |
1.29 |
72.00 |
54.00 |
89.00 |
7.00 |
8.00 |
6.00 |
9.00 |
46 |
/src/UCAux.c |
330 |
void UCSetBoxChars(int cset, int *pvert_out, int *phori_out,
int vert_in, int hori_in) |
7.43 |
4.77 |
2.00 |
0.67 |
107.00 |
85.00 |
246.00 |
6.00 |
12.00 |
7.00 |
4.00 |
47 |
/src/LYCurses.c |
192 |
static void sl_suspend(int sig) |
7.38 |
4.38 |
1.20 |
1.80 |
32.00 |
28.00 |
66.00 |
5.00 |
6.00 |
5.00 |
9.00 |
48 |
/src/HTAlert.c |
241 |
void HTReadProgress(off_t bytes, off_t total) |
7.30 |
5.30 |
1.60 |
0.40 |
132.00 |
70.00 |
112.00 |
10.00 |
16.00 |
6.00 |
4.00 |
49 |
/src/LYShowInfo.c |
133 |
int LYShowInfo(DocInfo *doc, DocInfo *newdoc, char
*owner_address) |
6.71 |
5.41 |
1.00 |
0.30 |
316.00 |
171.00 |
195.00 |
10.00 |
10.00 |
5.00 |
3.00 |
50 |
/src/LYCurses.c |
3026 |
void lynx_stop_link_color(int flag, int pending GCC_UNUSED) |
6.58 |
4.38 |
1.20 |
1.00 |
24.00 |
21.00 |
39.00 |
5.00 |
6.00 |
5.00 |
5.00 |
51 |
/src/LYEdit.c |
67 |
int edit_current_file(char *newfile, int cur, int lineno) |
6.53 |
4.66 |
1.63 |
0.25 |
79.00 |
46.00 |
97.00 |
8.00 |
13.00 |
4.00 |
2.00 |
52 |
/WWW/Library/Implementation/HTPlain.c |
193 |
static void HTPlain_write(HTStream *me, const char *s, int l) |
6.40 |
4.80 |
1.00 |
0.60 |
276.00 |
265.00 |
279.00 |
5.00 |
5.00 |
3.00 |
3.00 |
53 |
/WWW/Library/Implementation/HTTP.c |
179 |
void HTSSLInitPRNG(void) |
6.35 |
4.55 |
1.00 |
0.80 |
33.00 |
30.00 |
42.00 |
5.00 |
5.00 |
2.00 |
4.00 |
54 |
/src/LYStrings.c |
4080 |
static void draw_option(WINDOW * win, int entry, int width,
int reversed, int num_choices, int number, const char
*value) |
6.27 |
4.60 |
1.00 |
0.67 |
43.00 |
33.00 |
48.00 |
6.00 |
6.00 |
2.00 |
4.00 |
55 |
/WWW/Library/Implementation/HTAccess.c |
187 |
static void HTAccessInit(void) |
6.07 |
4.24 |
1.00 |
0.83 |
34.00 |
24.00 |
46.00 |
6.00 |
6.00 |
6.00 |
5.00 |
56 |
/src/UCAuto.c |
563 |
void UCChangeTerminalCodepage(int newcs, LYUCcharset *p) |
5.80 |
4.55 |
1.00 |
0.25 |
22.00 |
25.00 |
33.00 |
4.00 |
4.00 |
2.00 |
1.00 |
57 |
/src/LYMainLoop.c |
2518 |
static void handle_LYK_EDIT(int *old_c, int real_c) |
5.39 |
4.06 |
1.00 |
0.33 |
68.00 |
46.00 |
55.00 |
6.00 |
6.00 |
2.00 |
2.00 |
58 |
/src/LYMainLoop.c |
3896 |
static BOOLEAN handle_LYK_OPTIONS(int *cmd, BOOLEAN
*refresh_screen) |
5.36 |
3.86 |
1.00 |
0.50 |
114.00 |
110.00 |
123.00 |
4.00 |
4.00 |
3.00 |
2.00 |
59 |
/WWW/Library/Implementation/HTPlain.c |
112 |
static void HTPlain_put_character(HTStream *me, int c) |
5.31 |
3.81 |
1.00 |
0.50 |
42.00 |
40.00 |
49.00 |
4.00 |
4.00 |
3.00 |
2.00 |
60 |
/src/LYCurses.c |
1696 |
void lynx_nl2crlf(int normal GCC_UNUSED) |
4.89 |
1.89 |
2.50 |
0.50 |
38.00 |
36.00 |
149.00 |
2.00 |
5.00 |
4.00 |
1.00 |
61 |
/src/LYUtils.c |
5310 |
char *LYPathLeaf(char *pathname) |
4.83 |
3.33 |
1.00 |
0.50 |
24.00 |
20.00 |
36.00 |
4.00 |
4.00 |
2.00 |
2.00 |
62 |
/src/LYMain.c |
973 |
void LYSetTextDomain(void) |
4.63 |
2.63 |
1.33 |
0.67 |
16.00 |
14.00 |
36.00 |
3.00 |
4.00 |
3.00 |
2.00 |
63 |
/src/LYUtils.c |
5257 |
const char *Home_Dir(void) |
4.49 |
2.89 |
1.00 |
0.60 |
38.00 |
22.00 |
40.00 |
5.00 |
5.00 |
4.00 |
3.00 |
64 |
/src/LYCurses.c |
2057 |
void LYsubwindow(WINDOW * param) |
4.36 |
1.70 |
1.67 |
1.00 |
23.00 |
13.00 |
40.00 |
3.00 |
5.00 |
4.00 |
3.00 |
65 |
/src/LYUtils.c |
6725 |
const char *wwwName(const char *pathname) |
4.27 |
2.77 |
1.00 |
0.50 |
13.00 |
9.00 |
16.00 |
4.00 |
4.00 |
2.00 |
2.00 |
66 |
/src/LYStrings.c |
1458 |
static void setup_vtXXX_keymap(void) |
4.12 |
1.78 |
1.33 |
1.00 |
69.00 |
41.00 |
92.00 |
3.00 |
4.00 |
4.00 |
3.00 |
67 |
/src/LYUtils.c |
2020 |
BOOLEAN LYisAbsPath(const char *path) |
4.09 |
2.59 |
1.00 |
0.50 |
17.00 |
11.00 |
20.00 |
4.00 |
4.00 |
2.00 |
2.00 |
68 |
/src/LYUtils.c |
2936 |
BOOLEAN inlocaldomain(void) |
4.02 |
2.68 |
1.00 |
0.33 |
38.00 |
34.00 |
40.00 |
3.00 |
3.00 |
2.00 |
1.00 |
69 |
/src/LYUtils.c |
5960 |
static FILE *OpenHiddenFile(const char *name, const char
*mode) |
4.00 |
1.00 |
2.00 |
1.00 |
38.00 |
19.00 |
46.00 |
2.00 |
4.00 |
4.00 |
2.00 |
70 |
/src/LYOptions.c |
97 |
static void SetupChosenShowColor(void) |
3.88 |
1.88 |
1.50 |
0.50 |
34.00 |
32.00 |
70.00 |
2.00 |
3.00 |
2.00 |
1.00 |
71 |
/WWW/Library/Implementation/HTTP.c |
75 |
static int HTSSLCallback(int preverify_ok, X509_STORE_CTX *
x509_ctx GCC_UNUSED) |
3.78 |
2.44 |
1.00 |
0.33 |
27.00 |
22.00 |
31.00 |
3.00 |
3.00 |
2.00 |
1.00 |
72 |
/src/LYCurses.c |
903 |
void LYnoVideo(int a) |
3.77 |
2.44 |
1.00 |
0.33 |
16.00 |
13.00 |
17.00 |
3.00 |
3.00 |
2.00 |
1.00 |
73 |
/src/LYMainLoop.c |
4569 |
static void handle_LYK_SOURCE(char **ownerS_address_p) |
3.38 |
2.13 |
1.00 |
0.25 |
45.00 |
24.00 |
29.00 |
4.00 |
4.00 |
2.00 |
1.00 |
74 |
/src/LYMainLoop.c |
288 |
BOOLEAN LYOpenTraceLog(void) |
3.38 |
1.88 |
1.00 |
0.50 |
49.00 |
46.00 |
54.00 |
2.00 |
2.00 |
2.00 |
1.00 |
75 |
/src/LYUtils.c |
5202 |
static char *HomeEnv(void) |
3.33 |
1.83 |
1.00 |
0.50 |
46.00 |
42.00 |
46.00 |
2.00 |
2.00 |
2.00 |
1.00 |
76 |
/src/LYCurses.c |
2995 |
void lynx_start_link_color(int flag, int pending) |
3.17 |
1.50 |
1.33 |
0.33 |
20.00 |
10.00 |
17.00 |
3.00 |
4.00 |
4.00 |
1.00 |
|
|
|
|
12.27 |
|
|
|
|
|
|
|
|
|
|