德罗兰JS的好处,挑战和可用性评估:一个用于JavaScript的时间调试器
Paul Leger1, Felipe Ruiz1, Hiroaki Fukuda2
1Escuela de Ingeniería, Universidad Católica del Norte, Coquimbo, Elqui, Chile.
PeerJ. Computer science
|June 22, 2023
概括
新的JavaScript调试器DeloreanJS允许开发人员在执行过程中回到过去,与传统的调试器相比,大大提高了错误检测和解决问题的能力.
科学领域:
- 软件工程 软件工程 软件工程
- 计算机科学 计算机科学
背景情况:
- JavaScript的Web应用程序很普遍,但容易出现错误.
- 现有的JavaScript调试器缺乏向后执行和交互式调试功能.
研究的目的:
- 介绍DeloreanJS,一个新的JavaScript调试器.
- 评估DeloreanJS在错误检测中的可用性和有效性.
主要方法:
- 使用延续和静态分析开发了DeloreanJS.
- 通过可用性研究将DeloreanJS与Mozilla Firefox的调试器进行比较.
- 在5个bug检测任务中对30名计算机科学学生进行了评估.
主要成果:
- 100%的参与者推DeloreanJS,而Firefox的调试器为53%.
- 德罗兰JS获得了"好"的可用性评分 (71.6),而Firefox的调试器得分是"可接受" (55.8).
结论:
- 德罗兰JS为调试JavaScript Web应用程序提供了卓越的可用性和有效性.
- 时间回溯功能显著增强了开发人员的体验和错误解决.
相关概念视频
Electron Behavior
8.2K
Electrons are negatively charged subatomic particles attracted to and orbit around the positively-charged nucleus of an atom. They reside in spaces associated with energy levels called shells and are further organized into subshells and orbitals within each shell.
Electrons Orbit the Nucleus
Electrons are found in specific locations outside of the nucleus. The shell in which an electron resides indicates the general energy level of the electron: those closer to the nucleus have less energy,...
Electrons Orbit the Nucleus
Electrons are found in specific locations outside of the nucleus. The shell in which an electron resides indicates the general energy level of the electron: those closer to the nucleus have less energy,...
8.2K
Design Example: Automobile Ignition System
255
The automobile's ignition system plays a vital role by ensuring the timely ignition of the fuel-air mixture in each cylinder. This ignition is facilitated by a spark plug, which is composed of two electrodes separated by an air gap. A spark forms across this air gap when a substantial voltage is generated between the electrodes, leading to the ignition of the fuel.
One can generate a large voltage using a car battery of 12 volts with the help of inductors. Inductors are known for opposing...
One can generate a large voltage using a car battery of 12 volts with the help of inductors. Inductors are known for opposing...
255
Trial and Error and Algorithm
150
A problem-solving strategy is a plan of action used to find a solution. Different strategies have distinct action plans. Trial and error involves trying different solutions until one works. For instance, to fix a broken printer, you might check ink levels, ensure the paper tray isn't jammed, and verify the printer's connection to your laptop. This method can be time-consuming but is commonly used. Thomas Edison, for example, used trial and error to find a suitable filament for the light...
150
Types of Errors: Detection and Minimization
1.7K
Error is the deviation of the obtained result from the true, expected value or the estimated central value. Errors are expressed in absolute or relative terms.
Absolute error in a measurement is the numerical difference from the true or central value. Relative error is the ratio between absolute error and the true or central value, expressed as a percentage.
Errors can be classified by source, magnitude, and sign. There are three types of errors: systematic, random, and gross.
Systematic or...
Absolute error in a measurement is the numerical difference from the true or central value. Relative error is the ratio between absolute error and the true or central value, expressed as a percentage.
Errors can be classified by source, magnitude, and sign. There are three types of errors: systematic, random, and gross.
Systematic or...
1.7K
Electron Carriers
85.3K
Electron carriers can be thought of as electron shuttles. These compounds can easily accept electrons (i.e., be reduced) or lose them (i.e., be oxidized). They play an essential role in energy production because cellular respiration is contingent on the flow of electrons.
Over the many stages of cellular respiration, glucose breaks down into carbon dioxide and water. Electron carriers pick up electrons lost by glucose in these reactions, temporarily storing and releasing them into the electron...
Over the many stages of cellular respiration, glucose breaks down into carbon dioxide and water. Electron carriers pick up electrons lost by glucose in these reactions, temporarily storing and releasing them into the electron...
85.3K
Interpreting Run Charts
236
Run charts, essentially line graphs plotted over time, serve as fundamental yet effective tools for process analysis. They chronicle data sequentially, facilitating the identification of trends, shifts, or cyclical movements. This graphical representation is instrumental in determining whether a process is stable or exhibits signs of potential instability indicative of special cause variation. In the healthcare domain, run charts depict infection rates over time, enabling hospitals to monitor...
236


