Skip to content

Commit 079f8fa

Browse files
committed
callback study
1 parent 17ab360 commit 079f8fa

File tree

162 files changed

+107600
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+107600
-0
lines changed

callback-study/bootstrap.css

+6,647
Large diffs are not rendered by default.

callback-study/css/bootswatch.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

callback-study/data_guide.html

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head lang="en">
4+
<meta charset="UTF-8">
5+
<title>Guide for the dataset</title>
6+
</head>
7+
<body>
8+
<div id="preview"><h1>Guide for the dataset</h1>
9+
<p>Data records are separated into files according to the category of applications and the property being calculated. Suffix in the file name represent the category.</p>
10+
<ul>
11+
<li>D (dataviz) - Dataviz</li>
12+
<li>E (engines) - Game Engines</li>
13+
<li>F (frameworks) - MVC Frameworks</li>
14+
<li>G (games) - Games</li>
15+
<li>H (hybrid) - Web Applications</li>
16+
<li>N (npm) - NPM Modules.</li>
17+
</ul>
18+
<p>For example <code>callback_defs_dataviz.csv</code> contains results for function definitions accepting callbacks for DataViz category.</p>
19+
<h2 id="legend-for-tables">Legend for tables</h2>
20+
<ul>
21+
<li><p>Function definitions accepting callbacks - Files with prefix <code>callback_defs_</code>.</p>
22+
<ul>
23+
<li><strong>Field1:</strong> Project name</li>
24+
<li><strong>Field2:</strong> No. of function definitions accepting callbacks</li>
25+
<li><strong>Field3:</strong> No. of total function definitions</li>
26+
</ul>
27+
</li>
28+
<li><p>Function usages (callsites) accepting callbacks - Files with prefix <code>callback_usage_</code>.</p>
29+
<ul>
30+
<li><strong>Field1:</strong> Project name</li>
31+
<li><strong>Field2:</strong> No. of function callsites accepting callbacks</li>
32+
<li><strong>Field3:</strong> No. of total function callsites</li>
33+
</ul>
34+
</li>
35+
<li><p>Function usages with anonymous callbacks - Files with prefix <code>cb_anon_</code>.</p>
36+
<ul>
37+
<li><strong>Field1:</strong> Project name</li>
38+
<li><strong>Field2:</strong> No. of function callsites accepting anonymous callbacks</li>
39+
</ul>
40+
</li>
41+
<li><p>Function usages with asynchronous callbacks - Files with prefix <code>cbasync_callsites_</code>.</p>
42+
<ul>
43+
<li><strong>Field1:</strong> Project name</li>
44+
<li><strong>Field2:</strong> No. of function callsites accepting asynchronous callbacks</li>
45+
</ul>
46+
</li>
47+
<li><p>Function usages with asynchronous callbacks - Files with prefix <code>cbasync_callsites_</code>.</p>
48+
<ul>
49+
<li><strong>Field1:</strong> Project name</li>
50+
<li><strong>Field2:</strong> No. of function callsites accepting asynchronous callbacks</li>
51+
</ul>
52+
</li>
53+
<li><p>Promise creation and Promise usage - Files with prefix <code>promises_</code>.</p>
54+
<ul>
55+
<li><strong>Field1:</strong> Project name</li>
56+
<li><strong>Field2:</strong> No. of instances using Promises</li>
57+
<li><strong>Field3:</strong> No. of instances creating Promises</li>
58+
</ul>
59+
</li>
60+
<li><p>General Information about each file - Files with prefix <code>file_</code></p>
61+
<ul>
62+
<li><strong>Field List:</strong> "project","path","loc","functions","functionDecls","functionExprs","namedFuncExprs","calls","requires","defines","fsSyncs","fsAsyncs","setTimeouts","setIntervals","setImmediates","nextTicks","argscount","argsmax","paramscount","paramsmax"</li>
63+
</ul>
64+
</li>
65+
<li><p>Dependency counts for each application category - Files with prefix <code>pkg_</code>.</p>
66+
</li>
67+
</ul>
68+
</div>
69+
</body>
70+
</html>
226 KB
Binary file not shown.

0 commit comments

Comments
 (0)