993 resultados para code source


Relevância:

30.00% 30.00%

Publicador:

Resumo:

Detecting bugs as early as possible plays an important role in ensuring software quality before shipping. We argue that mining previous bug fixes can produce good knowledge about why bugs happen and how they are fixed. In this paper, we mine the change history of 717 open source projects to extract bug-fix patterns. We also manually inspect many of the bugs we found to get insights into the contexts and reasons behind those bugs. For instance, we found out that missing null checks and missing initializations are very recurrent and we believe that they can be automatically detected and fixed.

Relevância:

30.00% 30.00%

Publicador:

Resumo:

Code clone detection helps connect developers across projects, if we do it on a large scale. The cornerstones that allow clone detection to work on a large scale are: (1) bad hashing (2) lightweight parsing using regular expressions and (3) MapReduce pipelines. Bad hashing means to determine whether or not two artifacts are similar by checking whether their hashes are identical. We show a bad hashing scheme that works well on source code. Lightweight parsing using regular expressions is our technique of obtaining entire parse trees from regular expressions, robustly and efficiently. We detail the algorithm and implementation of one such regular expression engine. MapReduce pipelines are a way of expressing a computation such that it can automatically and simply be parallelized. We detail the design and implementation of one such MapReduce pipeline that is efficient and debuggable. We show a clone detector that combines these cornerstones to detect code clones across all projects, across all versions of each project.

Relevância:

30.00% 30.00%

Publicador:

Resumo:

LECO analysis, pyrolysis assay, and bitumen and elemental analysis were used to characterize the organic matter of 23 black shale samples from Deep Sea Drilling Project Leg 93, Hole 603B, located in the western North Atlantic. The organic matter is dominantly gas-prone and/or refractory. Two cores within the Turonian and Cenomanian, however, contained significant quantities of well-preserved, hydrogen-enriched, organic matter. This material is thermally immature and represents a potential oil-prone source rock. These sediments do not appear to have been deposited within a stagnant, euxinic ocean as would be consistent with an "oceanic anoxic event." Their organic geochemical and sedimentary character is more consistent with deposition by turbidity currents originating on the continental shelf and slope.