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 |
/Zend/zend_strtod.c |
1097 |
static Bigint * d2b(double _d, int *e, int *bits) |
17.43 |
16.15 |
1.00 |
0.28 |
117.00 |
105.00 |
127.00 |
18.00 |
18.00 |
5.00 |
5.00 |
2 |
/sapi/phpdbg/phpdbg_opcode.c |
185 |
const char *phpdbg_decode_opcode(zend_uchar
opcode) |
15.77 |
13.77 |
1.14 |
0.86 |
185.00 |
182.00 |
402.00 |
14.00 |
16.00 |
14.00 |
12.00 |
3 |
/Zend/zend_extensions.c |
28 |
int zend_load_extension(const char *path) |
11.65 |
9.75 |
1.00 |
0.90 |
80.00 |
78.00 |
106.00 |
10.00 |
10.00 |
3.00 |
9.00 |
4 |
/Zend/zend_virtual_cwd.c |
1180 |
CWD_API int virtual_file_ex(cwd_state
*state, const char *path, verify_path_func verify_path, int use_realpath
TSRMLS_DC) |
8.95 |
7.73 |
1.07 |
0.14 |
181.00 |
100.00 |
120.00 |
14.00 |
15.00 |
4.00 |
2.00 |
5 |
/Zend/zend_execute_API.c |
1255 |
void zend_set_timeout(long seconds, int reset_signals) |
8.89 |
6.60 |
1.00 |
1.29 |
53.00 |
50.00 |
100.00 |
7.00 |
7.00 |
4.00 |
9.00 |
6 |
/main/main.c |
1276 |
PHPAPI char *php_get_current_user(TSRMLS_D) |
7.96 |
3.96 |
2.20 |
1.80 |
53.00 |
42.00 |
124.00 |
5.00 |
11.00 |
4.00 |
9.00 |
7 |
/sapi/caudium/caudium.c |
565 |
static void php_caudium_module_main(php_caudium_request
*ureq) |
7.52 |
5.32 |
1.40 |
0.80 |
109.00 |
58.00 |
132.00 |
10.00 |
14.00 |
3.00 |
8.00 |
8 |
/Zend/zend_virtual_cwd.c |
779 |
static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, int use_realpath, int is_dir,
int *link_is_dir TSRMLS_DC) |
7.19 |
5.81 |
1.25 |
0.13 |
340.00 |
247.00 |
311.00 |
8.00 |
10.00 |
3.00 |
1.00 |
9 |
/sapi/cli/ps_title.c |
142 |
char** save_ps_args(int argc, char** argv) |
7.13 |
5.63 |
1.33 |
0.17 |
80.00 |
75.00 |
106.00 |
6.00 |
8.00 |
3.00 |
1.00 |
10 |
/main/network.c |
170 |
PHPAPI int php_network_getaddresses(const
char *host, int socktype, struct sockaddr ***sal, char **error_string
TSRMLS_DC) |
6.74 |
5.41 |
1.00 |
0.33 |
91.00 |
82.00 |
100.00 |
6.00 |
6.00 |
2.00 |
2.00 |
11 |
/main/streams/plain_wrapper.c |
1080 |
static int php_plain_files_rename(php_stream_wrapper
*wrapper, const char *url_from, const char *url_to, int options,
php_stream_context *context TSRMLS_DC) |
6.23 |
4.23 |
1.17 |
0.83 |
71.00 |
50.00 |
124.00 |
6.00 |
7.00 |
4.00 |
5.00 |
12 |
/main/main.c |
1467 |
static void php_message_handler_for_zend(long
message, const void *data TSRMLS_DC) |
5.72 |
4.22 |
1.00 |
0.50 |
72.00 |
38.00 |
51.00 |
8.00 |
8.00 |
2.00 |
4.00 |
13 |
/Zend/zend_string.c |
85 |
static const char *zend_new_interned_string_int(const
char *arKey, int nKeyLength, int free_src TSRMLS_DC) |
5.40 |
3.90 |
1.00 |
0.50 |
79.00 |
77.00 |
84.00 |
4.00 |
4.00 |
2.00 |
2.00 |
14 |
/Zend/zend_string.c |
188 |
static void zend_interned_strings_restore_int(TSRMLS_D) |
5.17 |
3.67 |
1.00 |
0.50 |
36.00 |
33.00 |
39.00 |
4.00 |
4.00 |
2.00 |
2.00 |
15 |
/main/network.c |
1080 |
PHPAPI int php_set_sock_blocking(int
socketd, int block TSRMLS_DC) |
5.11 |
3.11 |
1.25 |
0.75 |
27.00 |
21.00 |
31.00 |
4.00 |
5.00 |
3.00 |
3.00 |
16 |
/sapi/cli/ps_title.c |
405 |
void cleanup_ps_args(char **argv) |
4.92 |
2.59 |
1.33 |
1.00 |
29.00 |
25.00 |
51.00 |
3.00 |
4.00 |
3.00 |
3.00 |
17 |
/main/SAPI.c |
77 |
SAPI_API void sapi_startup(sapi_module_struct
*sf) |
4.88 |
3.68 |
1.00 |
0.20 |
19.00 |
14.00 |
18.00 |
5.00 |
5.00 |
3.00 |
1.00 |
18 |
/Zend/zend_string.c |
41 |
void zend_interned_strings_init(TSRMLS_D) |
4.88 |
3.13 |
1.00 |
0.75 |
23.00 |
18.00 |
27.00 |
4.00 |
4.00 |
2.00 |
3.00 |
19 |
/sapi/fpm/fpm/fpm_conf.c |
1251 |
static void fpm_conf_ini_parser_include(char
*inc, void *arg TSRMLS_DC) |
4.52 |
3.27 |
1.00 |
0.25 |
49.00 |
40.00 |
48.00 |
4.00 |
4.00 |
2.00 |
1.00 |
20 |
/Zend/zend.c |
1284 |
ZEND_API void zend_output_debug_string(zend_bool
trigger_break, const char *format, ...) |
4.38 |
2.71 |
1.00 |
0.67 |
21.00 |
19.00 |
34.00 |
3.00 |
3.00 |
2.00 |
2.00 |
21 |
/sapi/fpm/fpm/fpm_env.c |
122 |
void fpm_env_setproctitle(char *title) |
3.90 |
2.57 |
1.00 |
0.33 |
14.00 |
12.00 |
21.00 |
3.00 |
3.00 |
2.00 |
1.00 |
22 |
/Zend/zend_alloc.c |
154 |
static zend_mm_segment* zend_mm_mem_mmap_realloc(zend_mm_storage
*storage, zend_mm_segment* segment, size_t size) |
3.70 |
2.20 |
1.00 |
0.50 |
20.00 |
11.00 |
17.00 |
4.00 |
4.00 |
2.00 |
2.00 |
23 |
/main/php_open_temporary_file.c |
193 |
PHPAPI const char* php_get_temporary_directory(TSRMLS_D) |
3.29 |
1.96 |
1.00 |
0.33 |
52.00 |
34.00 |
41.00 |
3.00 |
3.00 |
2.00 |
1.00 |
24 |
/main/streams/plain_wrapper.c |
1028 |
static int php_plain_files_url_stater(php_stream_wrapper *wrapper, const char *url, int flags,
php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) |
3.11 |
1.77 |
1.00 |
0.33 |
22.00 |
13.00 |
19.00 |
3.00 |
3.00 |
2.00 |
1.00 |
25 |
/Zend/zend_string.c |
74 |
void zend_interned_strings_dtor(TSRMLS_D) |
3.06 |
1.56 |
1.00 |
0.50 |
9.00 |
7.00 |
10.00 |
2.00 |
2.00 |
2.00 |
1.00 |
26 |
/sapi/fpm/fpm/fpm_env.c |
200 |
int fpm_env_init_main() |
2.96 |
1.46 |
1.00 |
0.50 |
59.00 |
43.00 |
84.00 |
2.00 |
2.00 |
2.00 |
1.00 |
|
|
|
|
6.00 |
|
|
|
|
|
|
|
|
|
|