summaryrefslogtreecommitdiff
path: root/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master
diff options
context:
space:
mode:
Diffstat (limited to '2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master')
-rw-r--r--2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/index.html114
-rw-r--r--2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/stats.html102
-rw-r--r--2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/style.css137
3 files changed, 353 insertions, 0 deletions
diff --git a/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/index.html b/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/index.html
new file mode 100644
index 0000000..e45957c
--- /dev/null
+++ b/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/index.html
@@ -0,0 +1,114 @@
+
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Cppcheck - HTML report - python-caja</title>
+ <link rel="stylesheet" href="style.css">
+ <style>
+
+ </style>
+ <script>
+ function getStyle(el, styleProp) {
+ var y;
+
+ if (el.currentStyle) {
+ y = el.currentStyle[styleProp];
+ } else if (window.getComputedStyle) {
+ y = document.defaultView.getComputedStyle(el, null).getPropertyValue(styleProp);
+ }
+
+ return y;
+ }
+
+ function toggle() {
+ var el = this.expandable_content;
+ var mark = this.expandable_marker;
+
+ if (el.style.display === "block") {
+ el.style.display = "none";
+ mark.textContent = "[+]";
+ } else {
+ el.style.display = "block";
+ mark.textContent = "[-]";
+ }
+ }
+
+ function initExpandables() {
+ var elements = document.querySelectorAll(".expandable");
+
+ for (var i = 0, len = elements.length; i < len; i++) {
+ var el = elements[i];
+ var clickable = el.querySelector("span");
+ var marker = clickable.querySelector(".marker");
+ var content = el.querySelector(".content");
+ var width = clickable.clientWidth - parseInt(getStyle(content, "padding-left")) - parseInt(getStyle(content, "padding-right"));
+ content.style.width = width + "px";
+ clickable.expandable_content = content;
+ clickable.expandable_marker = marker;
+ clickable.addEventListener("click", toggle);
+ }
+ }
+
+ function toggleDisplay(id) {
+ var elements = document.querySelectorAll("." + id);
+
+ for (var i = 0, len = elements.length; i < len; i++) {
+ elements[i].classList.toggle("d-none");
+ }
+ }
+
+ function toggleAll() {
+ var elements = document.querySelectorAll("input");
+
+ // starting from 1 since 0 is the "toggle all" input
+ for (var i = 1, len = elements.length; i < len; i++) {
+ var el = elements[i];
+
+ if (el.checked) {
+ el.checked = false;
+ } else {
+ el.checked = true;
+ }
+
+ toggleDisplay(el.id);
+ }
+ }
+ window.addEventListener("load", initExpandables);
+ </script>
+ </head>
+ <body>
+ <div id="header" class="header">
+ <h1>Cppcheck report - python-caja: </h1>
+ </div>
+ <div class="wrapper">
+ <div id="menu_index">
+ <p id="filename"><a href="index.html">Defect summary;</a> </p>
+
+ <label><input type="checkbox" onclick="toggleAll()" checked> Toggle all</label>
+ <table>
+ <tr><th>Show</th><th>#</th><th>Defect ID</th></tr>
+ <tr><td><input type="checkbox" onclick="toggleDisplay(this.id)" id="missingIncludeSystem" name="missingIncludeSystem" checked></td><td>1</td><td>missingIncludeSystem</td></tr>
+ <tr><td></td><td>1</td><td>total</td></tr>
+ </table>
+ <p><a href="stats.html">Statistics</a></p>
+ </div>
+ <div id="content_index">
+
+ <table>
+ <tr><th>Line</th><th>Id</th><th>CWE</th><th>Severity</th><th>Message</th></tr>
+ <tr><td colspan="5"><a href="0.html"></a></td></tr>
+ <tr class="missingIncludeSystem"><td></td><td>missingIncludeSystem</td><td></td><td>information</td><td>Cppcheck cannot find all the include files (use --check-config for details)</td></tr>
+ </table>
+ </div> <!-- /.wrapper -->
+ </div>
+ <div id="footer" class="footer">
+ <p>
+ Cppcheck 2.6 - a tool for static C/C++ code analysis<br>
+ <br>
+ Internet: <a href="https://cppcheck.sourceforge.io">https://cppcheck.sourceforge.io</a><br>
+ IRC: <a href="irc://irc.freenode.net/cppcheck">irc://irc.freenode.net/cppcheck</a><br>
+ </p>
+ </div>
+ </body>
+</html>
diff --git a/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/stats.html b/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/stats.html
new file mode 100644
index 0000000..4142bf1
--- /dev/null
+++ b/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/stats.html
@@ -0,0 +1,102 @@
+
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Cppcheck - HTML report - python-caja</title>
+ <link rel="stylesheet" href="style.css">
+ <style>
+
+ </style>
+ <script>
+ function getStyle(el, styleProp) {
+ var y;
+
+ if (el.currentStyle) {
+ y = el.currentStyle[styleProp];
+ } else if (window.getComputedStyle) {
+ y = document.defaultView.getComputedStyle(el, null).getPropertyValue(styleProp);
+ }
+
+ return y;
+ }
+
+ function toggle() {
+ var el = this.expandable_content;
+ var mark = this.expandable_marker;
+
+ if (el.style.display === "block") {
+ el.style.display = "none";
+ mark.textContent = "[+]";
+ } else {
+ el.style.display = "block";
+ mark.textContent = "[-]";
+ }
+ }
+
+ function initExpandables() {
+ var elements = document.querySelectorAll(".expandable");
+
+ for (var i = 0, len = elements.length; i < len; i++) {
+ var el = elements[i];
+ var clickable = el.querySelector("span");
+ var marker = clickable.querySelector(".marker");
+ var content = el.querySelector(".content");
+ var width = clickable.clientWidth - parseInt(getStyle(content, "padding-left")) - parseInt(getStyle(content, "padding-right"));
+ content.style.width = width + "px";
+ clickable.expandable_content = content;
+ clickable.expandable_marker = marker;
+ clickable.addEventListener("click", toggle);
+ }
+ }
+
+ function toggleDisplay(id) {
+ var elements = document.querySelectorAll("." + id);
+
+ for (var i = 0, len = elements.length; i < len; i++) {
+ elements[i].classList.toggle("d-none");
+ }
+ }
+
+ function toggleAll() {
+ var elements = document.querySelectorAll("input");
+
+ // starting from 1 since 0 is the "toggle all" input
+ for (var i = 1, len = elements.length; i < len; i++) {
+ var el = elements[i];
+
+ if (el.checked) {
+ el.checked = false;
+ } else {
+ el.checked = true;
+ }
+
+ toggleDisplay(el.id);
+ }
+ }
+ window.addEventListener("load", initExpandables);
+ </script>
+ </head>
+ <body>
+ <div id="header" class="header">
+ <h1>Cppcheck report - python-caja: Statistics</h1>
+ </div>
+ <div class="wrapper">
+ <div id="menu_index">
+ <p id="filename"><a href="index.html">Back to summary</a> </p>
+
+ </div>
+ <div id="content_index">
+
+ </div> <!-- /.wrapper -->
+ </div>
+ <div id="footer" class="footer">
+ <p>
+ Cppcheck 2.6 - a tool for static C/C++ code analysis<br>
+ <br>
+ Internet: <a href="https://cppcheck.sourceforge.io">https://cppcheck.sourceforge.io</a><br>
+ IRC: <a href="irc://irc.freenode.net/cppcheck">irc://irc.freenode.net/cppcheck</a><br>
+ </p>
+ </div>
+ </body>
+</html>
diff --git a/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/style.css b/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/style.css
new file mode 100644
index 0000000..07125f4
--- /dev/null
+++ b/2021-12-11-151924-6773-cppcheck@9b8b3fb98ee4_master/style.css
@@ -0,0 +1,137 @@
+
+body {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
+ font-size: 13px;
+ line-height: 1.5;
+ margin: 0;
+ width: auto;
+}
+
+h1 {
+ margin: 10px;
+}
+
+.header {
+ border-bottom: thin solid #aaa;
+}
+
+.footer {
+ border-top: thin solid #aaa;
+ font-size: 90%;
+ margin-top: 5px;
+}
+
+.footer ul {
+ list-style-type: none;
+ padding-left: 0;
+}
+
+.footer > p {
+ margin: 4px;
+}
+
+.wrapper {
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-pack: justify;
+ -ms-flex-pack: justify;
+ justify-content: space-between;
+}
+
+#menu,
+#menu_index {
+ text-align: left;
+ width: 350px;
+ height: 90vh;
+ min-height: 200px;
+ overflow: auto;
+ position: -webkit-sticky;
+ position: sticky;
+ top: 0;
+ padding: 0 15px 15px 15px;
+}
+
+#menu > a {
+ display: block;
+ margin-left: 10px;
+ font-size: 12px;
+ z-index: 1;
+}
+
+#content,
+#content_index {
+ background-color: #fff;
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ padding: 0 15px 15px 15px;
+ width: calc(100% - 350px);
+ height: 100%;
+ overflow-x: auto;
+}
+
+#filename {
+ margin-left: 10px;
+ font-size: 12px;
+ z-index: 1;
+}
+
+.error {
+ background-color: #ffb7b7;
+}
+
+.error2 {
+ background-color: #faa;
+ display: inline-block;
+ margin-left: 4px;
+}
+
+.inconclusive {
+ background-color: #b6b6b4;
+}
+
+.inconclusive2 {
+ background-color: #b6b6b4;
+ display: inline-block;
+ margin-left: 4px;
+}
+
+.verbose {
+ display: inline-block;
+ vertical-align: top;
+ cursor: help;
+}
+
+.verbose .content {
+ display: none;
+ position: absolute;
+ padding: 10px;
+ margin: 4px;
+ max-width: 40%;
+ white-space: pre-wrap;
+ border: 1px solid #000;
+ background-color: #ffffcc;
+ cursor: auto;
+}
+
+.highlight .hll {
+ padding: 1px;
+}
+
+.highlighttable {
+ background-color: #fff;
+ z-index: 10;
+ position: relative;
+ margin: -10px;
+}
+
+.linenos {
+ border-right: thin solid #aaa;
+ color: #d3d3d3;
+ padding-right: 6px;
+}
+
+.d-none {
+ display: none;
+}