summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/cruft/cruft-minified-js/build-spec/orig')
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/README1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js19
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.js3
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js4
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js4
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js8
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js4
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js3
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js104
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js30
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js4
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html7
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js3
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js3
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js1
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js2
-rw-r--r--t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js2
36 files changed, 232 insertions, 0 deletions
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/README b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/README
new file mode 100644
index 0000000..914d120
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/README
@@ -0,0 +1 @@
+Here we test deploy java \ No newline at end of file
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js
new file mode 100644
index 0000000..aa511b3
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.browser.js
@@ -0,0 +1,19 @@
+(function(modules, cache, entry) {
+ req(entry);
+ function req(name) {
+ if (cache[name]) return cache[name].exports;
+ var m = cache[name] = {exports: {}};
+ modules[name][0].call(m.exports, modRequire, m, m.exports, window);
+ return m.exports;
+ function modRequire(alias) {
+ var id = modules[name][1][alias];
+ if (!id) throw new Error("Cannot find module " + alias);
+ return req(id);
+ }
+ }
+})({0: [function(require,module,exports,global){
+var deployJava=function(){};
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
+
+}, {}],}, {}, 0);
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.js
new file mode 100644
index 0000000..2cb2fb3
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/deployJava/deployJava.js
@@ -0,0 +1,3 @@
+var deployJava=function(){};
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js
new file mode 100644
index 0000000..4a35a5a
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-debug.js
@@ -0,0 +1 @@
+//the source
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js
new file mode 100644
index 0000000..e1a0655
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-debug.js/src/test-min.js
@@ -0,0 +1,4 @@
+// a very long javascript yuic compressed
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js
new file mode 100644
index 0000000..620611a
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-nc.js
@@ -0,0 +1 @@
+//the source see zoneminder
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js
new file mode 100644
index 0000000..e1a0655
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/-nc.js/test-yc.js
@@ -0,0 +1,4 @@
+// a very long javascript yuic compressed
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js
new file mode 100644
index 0000000..3fc1fc2
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/admin.js
@@ -0,0 +1 @@
+// this catch missing . in regexp \ No newline at end of file
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js
new file mode 100644
index 0000000..0668aa7
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/css_browser_selector.js
@@ -0,0 +1,8 @@
+/*
+CSS Browser Selector v0.4.0 (Nov 02, 2010)
+Rafael Lima (http://rafael.adm.br)
+http://rafael.adm.br/css_browser_selector
+License: http://creativecommons.org/licenses/by/2.5/
+Contributors: http://rafael.adm.br/css_browser_selector#contributors
+*/
+function css_browser_selector(u){var ua=u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1},g='gecko',w='webkit',s='safari',o='opera',m='mobile',h=document.documentElement,b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3.5')?g+' ff3 ff3_5':is('firefox/3.6')?g+' ff3 ff3_6':is('firefox/3')?g+' ff3':is('gecko/')?g:is('opera')?o+(/version\/(\d+)/.test(ua)?' '+o+RegExp.$1:(/opera(\s|\/)(\d+)/.test(ua)?' '+o+RegExp.$2:'')):is('konqueror')?'konqueror':is('blackberry')?m+' blackberry':is('android')?m+' android':is('chrome')?w+' chrome':is('iron')?w+' iron':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?m+' j2me':is('iphone')?m+' iphone':is('ipod')?m+' ipod':is('ipad')?m+' ipad':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win'+(is('windows nt 6.0')?' vista':''):is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js']; c = b.join(' '); h.className += ' '+c; return c;}; css_browser_selector(navigator.userAgent);
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js
new file mode 100644
index 0000000..a1c3620
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.debug.js
@@ -0,0 +1 @@
+//the source found for instance in mono
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js
new file mode 100644
index 0000000..fc9eb65
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/debug.js/testdebug.js
@@ -0,0 +1,4 @@
+// a very long javascript yuic compressed
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; var second='X';
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js
new file mode 100644
index 0000000..a0a67e8
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.js
@@ -0,0 +1,3 @@
+var deployJava=function(){};
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt
new file mode 100644
index 0000000..a701c9f
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/deployJava/deployJava.txt
@@ -0,0 +1 @@
+Here we test if source is available \ No newline at end of file
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js
new file mode 100644
index 0000000..7ab1dda
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/endoflinecomments.js
@@ -0,0 +1,104 @@
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
+var longlonglong = 5; // comment
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js
new file mode 100644
index 0000000..d2f68d3
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/jslint.js
@@ -0,0 +1,2 @@
+/*jslint evil: true, undef: true, browser: true */
+/*globals $,require,jQuery,define,_selector_run,_selector_opts,_selector_first,_selector_row_indexes,_ext,_Api,_api_register,_api_registerPlural,_re_new_lines,_re_html,_re_formatted_numeric,_re_escape_regex,_empty,_intVal,_numToDecimal,_isNumber,_isHtml,_htmlNumeric,_pluck,_pluck_order,_range,_stripHtml,_unique,_fnBuildAjax,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnAjaxDataSrc,_fnAddColumn,_fnColumnOptions,_fnAdjustColumnSizing,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnVisbleColumns,_fnGetColumns,_fnColumnTypes,_fnApplyColumnDefs,_fnHungarianMap,_fnCamelToHungarian,_fnLanguageCompat,_fnBrowserDetect,_fnAddData,_fnAddTr,_fnNodeToDataIndex,_fnNodeToColumnIndex,_fnGetCellData,_fnSetCellData,_fnSplitObjNotation,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnGetDataMaster,_fnClearTable,_fnDeleteIndex,_fnInvalidate,_fnGetRowElements,_fnCreateTr,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAddOptionsHtml,_fnDetectHeader,_fnGetUniqueThs,_fnFeatureHtmlFilter,_fnFilterComplete,_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnFilterCreateSearch,_fnEscapeRegex,_fnFilterData,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnInfoMacros,_fnInitialise,_fnInitComplete,_fnLengthChange,_fnFeatureHtmlLength,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnFeatureHtmlTable,_fnScrollDraw,_fnApplyToChildren,_fnCalculateColumnWidths,_fnThrottle,_fnConvertToWidth,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnSortFlatten,_fnSort,_fnSortAria,_fnSortListener,_fnSortAttachListener,_fnSortingClasses,_fnSortData,_fnSaveState,_fnLoadState,_fnSettingsFromNode,_fnLog,_fnMap,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnLengthOverflow,_fnRenderer,_fnDataSource,_fnRowAttributes*/
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js
new file mode 100644
index 0000000..66222ee
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/longlicensetext.js
@@ -0,0 +1,30 @@
+/* long line in fake license */
+/*
+ * LICENSE
+ *
+ * POCKET MARKS
+ *
+ * Notwithstanding the permitted uses of the Software (as defined below) pursuant to the license set forth below, "Pocket," "Read It Later" and the Pocket icon and logos (collectively, the “Pocket Marks”) are registered and common law trademarks of Read It Later, Inc. This means that, while you have considerable freedom to redistribute and modify the Software, there are tight restrictions on your ability to use the Pocket Marks. This license does not grant you any rights to use the Pocket Marks except as they are embodied in the Software.
+ *
+ * ---
+ *
+ * SOFTWARE
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README
new file mode 100644
index 0000000..2db2f0f
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/README
@@ -0,0 +1 @@
+exercice missing dir in relative dir \ No newline at end of file
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js
new file mode 100644
index 0000000..3e0e3c2
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/dist/fake.min.js
@@ -0,0 +1,2 @@
+// fake min.js
+toto='1'; \ No newline at end of file
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js
new file mode 100644
index 0000000..772fe5c
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/nested-dir/src/fake.js
@@ -0,0 +1,2 @@
+// fake source
+toto='1'; \ No newline at end of file
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js
new file mode 100644
index 0000000..077c6f7
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/pandoc/search_index.js
@@ -0,0 +1,4 @@
+var search_index = [
+'ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION''ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION','ALLEGRO_CONFIG','ALLEGRO_CONFIG_SECTION',];
+var search_urls = [
+'config.html#allegro_config','config.html#allegro_config_section'];
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html
new file mode 100644
index 0000000..7267c7f
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/scriptinhtml/falsecopyright.html
@@ -0,0 +1,7 @@
+<html>
+<header>
+<script>
+(c)?b<=c:true)}function d(c,b)
+</script>
+</header>
+</html> \ No newline at end of file
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js
new file mode 100644
index 0000000..80e795f
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/singlecolon.js
@@ -0,0 +1,3 @@
+/* simulate a long line by with only one ;*/
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js
new file mode 100644
index 0000000..8e17061
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/sqlite.js
@@ -0,0 +1 @@
+// this one catch lite suffix \ No newline at end of file
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js
new file mode 100644
index 0000000..d47653c
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.min.js
@@ -0,0 +1,3 @@
+// a very long javascript yuic compressed
+/* simulate a long line */
+var longline = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js
new file mode 100644
index 0000000..4a35a5a
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/src.js/test.src.js
@@ -0,0 +1 @@
+//the source
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compiled.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-compressed.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-lite.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-min.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-pack.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-packed.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test-yc.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.compressed.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js
new file mode 100644
index 0000000..cb851fb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.js
@@ -0,0 +1 @@
+# the source
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test.min.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+
diff --git a/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js
new file mode 100644
index 0000000..d9fd3cb
--- /dev/null
+++ b/t/recipes/checks/cruft/cruft-minified-js/build-spec/orig/oldfalsepositives/suffix/test_min.js
@@ -0,0 +1,2 @@
+// a very long javascript yuic compressed
+