AI Slop Code Risk Monitor

Gnucash/gnucash

SlopCodeMonitor badge for Gnucash/gnucash Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

GnuCash Double-Entry Accounting Program.

1.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Gnucash/gnucash, a C project with 4,390 GitHub stars. SynthScan examined 542,985 lines of code across 1494 source files, recording 856 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.8
Adjusted Signal
1.8
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
4.4K
Stars
C
Language
543.0K
Lines of Code
1.5K
Files
856
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 6.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 659 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

Are imports declared and package/API names verified? 165 finding(s).

Agent Over-Engineering Ratio 1.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 131 finding(s).

PR Review Velocity Impact 8.4/100 · LOW

Which changes need focused human review? 856 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 3MEDIUM 44LOW 809

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 856 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block513 hits · 513 pts
SeverityFileLineSnippetContext
LOWborrowed/libc/strptime.h41#ifdef __cplusplusCOMMENT
LOWborrowed/libc/strptime.c21/* XXX This version of the implementation is not really complete.COMMENT
LOWborrowed/libc/strptime.c221COMMENT
LOWborrowed/ctre/ctre.hpp221#ifndef CTRE_V2__CTRE__HPPCOMMENT
LOWborrowed/ctre/ctre.hpp241#include <cstdint>COMMENT
LOWborrowed/ctre/ctre.hpp261 #if __cpp_nontype_template_args >= 201911LCOMMENT
LOWborrowed/ctre/ctre.hpp1421#define CTRE__UTILITY__HPPCOMMENT
LOWborrowed/ctre/ctre.hpp1441#define CTRE_UNLIKELYCOMMENT
LOWborrowed/ctre/ctre.hpp2881}COMMENT
LOWborrowed/ctre/ctre.hpp3081 // check if all options starts with anchor or if they are empty, there is an anchor behind themCOMMENT
LOWborrowed/ctre/ctre.hpp3341}COMMENT
LOWborrowed/ctre/ctre.hpp5821 COMMENT
LOWborrowed/ctre/ctre.hpp5841// not enable literalsCOMMENT
LOWborrowed/chartjs-4/types/index.d.ts2621COMMENT
LOWborrowed/chartjs-2/Chart.bundle.js7321 // |----------------------------------------------------|COMMENT
LOWborrowed/chartjs-2/Chart.bundle.js7761 // Support for array based queries (such as jQuery)COMMENT
LOWborrowed/chartjs-2/Chart.bundle.js13501 // We assume the radius of the polygon is half the size of the canvas at firstCOMMENT
LOWborrowed/chartjs-2/Chart.bundle.js17581 hooks.updateOffset = function () {};COMMENT
LOWborrowed/chartjs-2/Chart.bundle.js19781 // Generates labels shown in the legendCOMMENT
LOWborrowed/chartjs-2/Chart.js7301 var padding = helpers$1.options.toPadding(layoutOptions.padding);COMMENT
LOWborrowed/chartjs-2/Chart.js7321 // | |----|-------------------------------------|----|COMMENT
LOWborrowed/chartjs-2/Chart.js7761 if (item && item.canvas) {COMMENT
LOWborrowed/chartjs-2/Chart.js13481 end: pos + sizeCOMMENT
LOWborrowed/chartjs-2/Chart.js13501 //COMMENT
LOWlibgnucash/gnc-module/example/gncmod-example.c21 * Free Software Foundation Voice: +1-617-542-5942COMMENT
LOWlibgnucash/tax/gnc-locale-tax.c21 * Free Software Foundation Voice: +1-617-542-5942 *COMMENT
LOWlibgnucash/backend/dbi/gnc-dbiproviderimpl.hpp21 * Boston, MA 02110-1301, USA gnu@gnu.org *COMMENT
LOWlibgnucash/backend/dbi/gnc-backend-dbi.cpp41#include "qof.h"COMMENT
LOWlibgnucash/backend/dbi/gnc-backend-dbi.cpp61#include <boost/regex.hpp>COMMENT
LOWlibgnucash/backend/dbi/gnc-backend-dbi.hpp21COMMENT
LOWlibgnucash/backend/dbi/gnc-dbisqlresult.cpp21 * Boston, MA 02110-1301, USA gnu@gnu.org *COMMENT
LOWlibgnucash/backend/dbi/test/test-dbi-stuff.cpp21 * along with this program; if not, write to the Free SoftwareCOMMENT
LOWlibgnucash/backend/dbi/test/test-backend-dbi-basic.cpp41#include "Account.h"COMMENT
LOWlibgnucash/backend/dbi/test/test-dbi-business-stuff.cpp21 * along with this program; if not, write to the Free SoftwareCOMMENT
LOWlibgnucash/backend/xml/sixtp-utils.cpp21 * *COMMENT
LOWlibgnucash/backend/xml/gnc-recurrence-xml-v2.cpp21 * Boston, MA 02110-1301, USA gnu@gnu.orgCOMMENT
LOWlibgnucash/backend/xml/gnc-account-xml-v2.cpp21 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *COMMENT
LOWlibgnucash/backend/xml/gnc-account-xml-v2.cpp41#include "gnc-xml.h"COMMENT
LOWlibgnucash/backend/xml/gnc-schedxaction-xml-v2.cpp21 * *COMMENT
LOWlibgnucash/backend/xml/gnc-schedxaction-xml-v2.cpp41#include "io-gncxml-gen.h"COMMENT
LOWlibgnucash/backend/xml/gnc-vendor-xml-v2.cpp21 * Boston, MA 02110-1301, USA gnu@gnu.org *COMMENT
LOWlibgnucash/backend/xml/gnc-vendor-xml-v2.cpp41#include "gnc-xml.h"COMMENT
LOWlibgnucash/backend/xml/io-example-account.cpp21 * Boston, MA 02110-1301, USA gnu@gnu.org *COMMENT
LOWlibgnucash/backend/xml/io-example-account.cpp41#include <sys/stat.h>COMMENT
LOWlibgnucash/backend/xml/gnc-freqspec-xml-v2.cpp21 * Boston, MA 02110-1301, USA gnu@gnu.org *COMMENT
LOWlibgnucash/backend/xml/gnc-order-xml-v2.cpp21 * Boston, MA 02110-1301, USA gnu@gnu.org *COMMENT
LOWlibgnucash/backend/xml/gnc-order-xml-v2.cpp41#include "io-gncxml-v2.h"COMMENT
LOWlibgnucash/backend/xml/io-gncxml-v1.cpp21 * *COMMENT
LOWlibgnucash/backend/xml/io-gncxml-v1.cpp41#include <TransactionP.hpp>COMMENT
LOWlibgnucash/backend/xml/gnc-customer-xml-v2.cpp21 * Boston, MA 02110-1301, USA gnu@gnu.org *COMMENT
LOWlibgnucash/backend/xml/gnc-customer-xml-v2.cpp41#include "sixtp-utils.h"COMMENT
LOWlibgnucash/backend/xml/gnc-customer-xml-v2.cpp61#define cust_id_string "cust:id"COMMENT
LOWlibgnucash/backend/xml/gnc-xml-helper.h21 * Boston, MA 02110-1301, USA gnu@gnu.org *COMMENT
LOWlibgnucash/backend/xml/gnc-xml-helper.h41# define xmlRootNode childrenCOMMENT
LOWlibgnucash/backend/xml/io-gncxml-v2.cpp21#include <glib.h>COMMENT
LOWlibgnucash/backend/xml/io-gncxml-v2.cpp41#include <string.h>COMMENT
LOWlibgnucash/backend/xml/io-gncxml-v2.cpp61#endifCOMMENT
LOWlibgnucash/backend/xml/io-gncxml-v2.cpp501 percentage = (loaded * 100) / total;COMMENT
LOWlibgnucash/backend/xml/gnc-tax-table-xml-v2.cpp21 * Boston, MA 02110-1301, USA gnu@gnu.org *COMMENT
LOWlibgnucash/backend/xml/gnc-tax-table-xml-v2.cpp41#include "io-gncxml-gen.h"COMMENT
453 more matches not shown…
Unused Imports146 hits · 120 pts
SeverityFileLineSnippetContext
LOWgnucash/python/init.py2CODE
LOWgnucash/python/init.py4CODE
LOWgnucash/python/pycons/shell.py34CODE
LOWgnucash/python/pycons/ishell.py19CODE
LOWgnucash/python/pycons/simple_plot.py6CODE
LOWbindings/python/gnucash_core.py163CODE
LOWbindings/python/gnucash_core.py168CODE
LOWbindings/python/gnucash_core.py184CODE
LOWbindings/python/gnucash_core.py982CODE
LOWbindings/python/gnucash_core.py982CODE
LOWbindings/python/gnucash_core.py982CODE
LOWbindings/python/gnucash_core.py982CODE
LOWbindings/python/gnucash_core.py982CODE
LOWbindings/python/gnucash_core.py989CODE
LOWbindings/python/gnucash_core.py989CODE
LOWbindings/python/gnucash_core.py989CODE
LOWbindings/python/gnucash_core.py989CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py994CODE
LOWbindings/python/gnucash_core.py1229CODE
LOWbindings/python/gnucash_core.py1229CODE
LOWbindings/python/gnucash_core.py1229CODE
LOWbindings/python/gnucash_core.py1229CODE
LOWbindings/python/gnucash_core.py1229CODE
LOWbindings/python/gnucash_core.py1236CODE
LOWbindings/python/gnucash_core.py1236CODE
LOWbindings/python/gnucash_core.py1240CODE
LOWbindings/python/gnucash_core.py1240CODE
LOWbindings/python/gnucash_core.py1240CODE
LOWbindings/python/gnucash_core.py1240CODE
LOWbindings/python/gnucash_core.py1240CODE
LOWbindings/python/gnucash_core.py1240CODE
LOWbindings/python/gnucash_core.py1240CODE
LOWbindings/python/gnucash_core.py1240CODE
LOWbindings/python/gnucash_core.py1250CODE
LOWbindings/python/gnucash_core.py1250CODE
LOWbindings/python/gnucash_core.py1254CODE
LOWbindings/python/gnucash_core.py1254CODE
LOWbindings/python/gnucash_core.py1254CODE
LOWbindings/python/gnucash_core.py1259CODE
LOWbindings/python/gnucash_core.py1259CODE
LOWbindings/python/gnucash_core.py1259CODE
LOWbindings/python/gnucash_core.py1259CODE
LOWbindings/python/gnucash_core.py1259CODE
LOWbindings/python/gnucash_core.py1266CODE
LOWbindings/python/gnucash_core.py1266CODE
LOWbindings/python/gnucash_core.py1270CODE
86 more matches not shown…
Decorative Section Separators27 hits · 103 pts
SeverityFileLineSnippetContext
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py27# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py66# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py68# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py145# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py147# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py228# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py230# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py281# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py283# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py307# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py309# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py342# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py344# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py386# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py388# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py419# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py421# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py457# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py459# ---------------------------------------------------------------------------COMMENT
MEDIUMbindings/python/tests/test_price_and_wrapping.py324# ---------------------------------------------------------------------------COMMENT
MEDIUMbindings/python/tests/test_price_and_wrapping.py326# ---------------------------------------------------------------------------COMMENT
MEDIUMbindings/python/tests/test_price_and_wrapping.py491# ---------------------------------------------------------------------------COMMENT
MEDIUMbindings/python/tests/test_price_and_wrapping.py494# ---------------------------------------------------------------------------COMMENT
MEDIUMbindings/python/example_scripts/quotes_historic.py78 # --------------------------------------------------------------------------COMMENT
MEDIUM…dings/python/example_scripts/price_database_example.py21# -------------------------------------------COMMENT
MEDIUM…dings/python/example_scripts/price_database_example.py31# -------------------------------------------COMMENT
Hyper-Verbose Identifiers99 hits · 96 pts
SeverityFileLineSnippetContext
LOWborrowed/chartjs-4/chart.js490function getOrCreateStack(stacks, stackKey, indexValue) {CODE
LOWborrowed/chartjs-4/chart.js1221 function computeFlexCategoryTraits(index, ruler, options, stackCount) {CODE
LOWborrowed/chartjs-4/chart.js2886function filterDynamicPositionByAxis(array, axis) {CODE
LOWborrowed/chartjs-4/chart.js3372function listenDevicePixelRatioChanges(chart, resize) {CODE
LOWborrowed/chartjs-4/chart.js3378function unlistenDevicePixelRatioChanges(chart) {CODE
LOWborrowed/chartjs-4/chart.js5227function getAxisFromDefaultScaleID(id, indexAxis) {CODE
LOWborrowed/chartjs-4/chart.js5236function getDefaultScaleIDFromAxis(axis, indexAxis) {CODE
LOWborrowed/chartjs-4/chart.js7391function containsColorsDefinitions(descriptors) {CODE
LOWborrowed/chartjs-4/chart.js7403function containsDefaultColorsDefenitions() {CODE
LOWborrowed/chartjs-4/chart.js7541function getStartAndCountOfVisiblePointsSimplified(meta, points) {CODE
LOWborrowed/chartjs-4/chart.js8719function calculateLegendItemHeight(legendItem, fontLineHeight) {CODE
LOWborrowed/chartjs-4/chart.js9320 function invokeCallbackWithFallback(callbacks, name, ctx, arg) {CODE
LOWborrowed/chartjs-4/chart.js11111 function determineUnitForAutoTicks(minUnit, min, max, capacity) {CODE
LOWborrowed/chartjs-4/chart.js11122 function determineUnitForFormatting(scale, numTicks, minUnit, min, max) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js23function getCjsExportFromNamespace (n) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js4841function computeFlexCategoryTraits(index, ruler, options) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js12937function getOrCreateStack(stacks, stacked, meta) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js13596function adjustPointPositionForLabelHeight(angle, textSize, position) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js14185function determineUnitForAutoTicks(minUnit, min, max, capacity) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js14204function determineUnitForFormatting(scale, numTicks, minUnit, min, max) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js15330 function replaceLongDateFormatTokens(input) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js17113 function configFromStringAndFormat(config) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js17694 function isDaylightSavingTimeShifted () {CODE
LOWborrowed/chartjs-2/Chart.bundle.js17808 function positiveMomentsDifference(base, other) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js19099 function getSetRelativeTimeRounding (roundingFunction) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js19111 function getSetRelativeTimeThreshold (threshold, limit) {CODE
LOWborrowed/chartjs-2/Chart.bundle.js20563function createNewTitleBlockAndAttach(chart, titleOpts) {CODE
LOWborrowed/chartjs-2/Chart.js19function getCjsExportFromNamespace (n) {CODE
LOWborrowed/chartjs-2/Chart.js4837function computeFlexCategoryTraits(index, ruler, options) {CODE
LOWborrowed/chartjs-2/Chart.js12933function getOrCreateStack(stacks, stacked, meta) {CODE
LOWborrowed/chartjs-2/Chart.js13592function adjustPointPositionForLabelHeight(angle, textSize, position) {CODE
LOWborrowed/chartjs-2/Chart.js14181function determineUnitForAutoTicks(minUnit, min, max, capacity) {CODE
LOWborrowed/chartjs-2/Chart.js14200function determineUnitForFormatting(scale, numTicks, minUnit, min, max) {CODE
LOWborrowed/chartjs-2/Chart.js15959function createNewTitleBlockAndAttach(chart, titleOpts) {CODE
LOWbindings/python/gnucash_core.py215 def do_lookup_create_oo_instance(self, lookup_function, cls, *args):CODE
LOWbindings/python/gnucash_core.py423 def raise_backend_errors_after_call(function, *args, **kwargs):CODE
LOWbindings/python/gnucash_core.py776def _deprecated_set_source_string(self, source):CODE
LOWbindings/python/gnucash_core.py893def decorate_monetary_list_returning_function(orig_function):CODE
LOWbindings/python/deprecation.py74def deprecated_args_session_init(original_function):CODE
LOWbindings/python/deprecation.py84def deprecated_args_session_begin(original_function):CODE
LOWbindings/python/gnucash_business.py176def decorate_to_return_instance_instead_of_owner(dec_function):CODE
LOWbindings/python/function_class.py203 def add_constructor_and_methods_with_prefix(cls, prefix, constructor, exclude=[]):CODE
LOWbindings/python/function_class.py233def method_function_returns_instance(method_function, cls):CODE
LOW⚡bindings/python/function_class.py250def method_function_returns_instance_list(method_function, cls):CODE
LOW⚡bindings/python/function_class.py256def methods_return_instance_lists(cls, function_dict):CODE
LOW⚡bindings/python/function_class.py262def default_arguments_decorator(function, *args, **kargs):CODE
LOW⚡bindings/python/function_class.py349def return_instance_if_value_has_it(value):CODE
LOW⚡bindings/python/function_class.py358def process_list_convert_to_instance( value_list ):CODE
LOW⚡bindings/python/function_class.py368def process_dict_convert_to_instance(value_dict):CODE
LOWbindings/python/function_class.py380def extract_attributes_with_prefix(obj, prefix):CODE
LOW⚡bindings/python/tests/test_session.py21 def test_create_empty_session(self):CODE
LOW⚡bindings/python/tests/test_session.py24 def test_session_deprecated_arguments(self):CODE
LOW⚡bindings/python/tests/test_session.py32 def test_session_with_new_file(self):CODE
LOWbindings/python/tests/test_session.py64 def test_app_utils_get_current_session(self):CODE
LOWbindings/python/tests/test_session.py70 def test_get_book_from_current_session(self):CODE
LOWbindings/python/tests/test_function_class.py29def prefix_test_function_return_args(self, *args, **kargs):CODE
LOWbindings/python/tests/test_function_class.py36def prefix_test_function_return_arg_karg(self, a, b=b_default):CODE
LOWbindings/python/tests/test_function_class.py51 def test_add_constructor_and_methods_with_prefix(self):CODE
LOWbindings/python/tests/test_function_class.py83 def test_default_arguments_decorator(self):CODE
LOW⚡bindings/python/tests/test_price_and_wrapping.py75 def test_lookup_latest_returns_gnc_price(self):CODE
39 more matches not shown…
Slop Phrases11 hits · 32 pts
SeverityFileLineSnippetContext
LOWlibgnucash/backend/xml/sixtp.h131 /* If you change this, don't forget to modify all the copy/etc. functions */COMMENT
LOWlibgnucash/engine/gnc-pricedb.h207 * @return a new price, with a ref-count of 1. Don't forget to unref it!COMMENT
LOWgnucash/gnome/window-report.cpp180 /* Don't forget to translate the window title */COMMENT
MEDIUMbindings/python/gnucash_core.py140# @li Then you can use the abilities of git to see the history of the code by @code git log @endcode done in the direcCOMMENT
MEDIUMbindings/python/example_scripts/priceDB_test.py22# For a file, simply pass the pathname, for a database you can useCOMMENT
MEDIUM…dings/python/example_scripts/simple_business_create.py41# For a database you can use these forms:COMMENT
MEDIUM…ndings/python/example_scripts/simple_invoice_insert.py38# for a file, simply pass the pathname, for a database you can useCOMMENT
MEDIUM…s/python/example_scripts/test_imbalance_transaction.py36# for a file, simply pass the pathname, for a database you can useCOMMENT
MEDIUMbindings/python/example_scripts/account_analysis.py109 # A the super nice thing is that you can add all kinds of period lengthsCOMMENT
MEDIUM⚡…thon/example_scripts/new_book_with_opening_balances.py71# For a database you can use these forms:COMMENT
MEDIUM⚡…thon/example_scripts/new_book_with_opening_balances.py82# For a database you can use these forms:COMMENT
Fake / Example Data18 hits · 24 pts
SeverityFileLineSnippetContext
LOWlibgnucash/backend/sql/gnc-account-sql.cpp92 gnc_sql_make_table_entry<CT_BOOLEAN>("placeholder", 0, 0, "placeholder"),CODE
LOWlibgnucash/engine/Scrub.cpp1401 qof_instance_get_kvp (QOF_INSTANCE (account), &v, 1, "placeholder");CODE
LOWlibgnucash/engine/Scrub.cpp1405 qof_instance_slot_delete (QOF_INSTANCE (account), "placeholder");CODE
LOW⚡libgnucash/engine/Account.h1293 /** Get the "placeholder" flag for an account. If this flag is setCOMMENT
LOW⚡libgnucash/engine/Account.h1298 * @return The current state of the account's "placeholder" flag. */COMMENT
LOW⚡libgnucash/engine/Account.h1301 /** Set the "placeholder" flag for an account. If this flag is setCOMMENT
LOW⚡libgnucash/engine/Account.h1306 * @param val The new state for the account's "placeholder" flag. */COMMENT
LOWlibgnucash/engine/Scrub.h160/** Removes empty "notes", "placeholder", and "hbci" KVP slots from Accounts. */COMMENT
LOWlibgnucash/engine/Account.cpp1010 g_param_spec_boolean ("placeholder",CODE
LOWlibgnucash/engine/Account.cpp4109 return get_kvp_boolean_path(acc, {"placeholder"});CODE
LOWlibgnucash/engine/Account.cpp4115 set_kvp_boolean_path(acc, {"placeholder"}, val);CODE
LOWlibgnucash/engine/test/utest-Account.cpp586 "placeholder", &hold,CODE
LOWgnucash/import-export/csv-imp/csv-account-import.c160 fill_model_with_match (match_info, "placeholder", store, &iter, PLACE_HOLDER);CODE
LOWgnucash/gnome-utils/dialog-transfer.cpp1427 LEAVE("placeholder");CODE
LOWgnucash/gnome-utils/gnc-tree-view-account.c1010 "placeholder",CODE
LOWpo/glossary/gnc-glossary.txt147 "placeholder" "An account where no transactions may be posted to; transactions can only be posted to subaccounts of thiCODE
LOWbindings/python/tests/test_business.py53 NAME = 'John Doe'CODE
LOW…ings/python/example_scripts/rest-api/gnucash_simple.py305 simple_account['placeholder'] = account.GetPlaceholder()CODE
AI Slop Vocabulary9 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMborrowed/chartjs-2/Chart.bundle.js7313 // Essentially we now have any number of boxes on each of the 4 sides.COMMENT
MEDIUMborrowed/chartjs-2/Chart.js7309 // Essentially we now have any number of boxes on each of the 4 sides.COMMENT
MEDIUMgnucash/gnome-utils/gnc-dense-cal.c1408 // strategy, but hopefully it'll listen to us. Certainly theCOMMENT
LOWbindings/python/example_scripts/priceDB_test.py22# For a file, simply pass the pathname, for a database you can useCOMMENT
LOW…dings/python/example_scripts/simple_business_create.py35# for a file, simply pass the pathname prefixed with the requested data formatCOMMENT
LOW…ndings/python/example_scripts/simple_invoice_insert.py38# for a file, simply pass the pathname, for a database you can useCOMMENT
LOW…s/python/example_scripts/test_imbalance_transaction.py36# for a file, simply pass the pathname, for a database you can useCOMMENT
LOW⚡…thon/example_scripts/new_book_with_opening_balances.py69# For a file, simply pass the pathname. GnuCash will determine the data formatCOMMENT
LOW⚡…thon/example_scripts/new_book_with_opening_balances.py76# For a file, simply pass the pathname prefixed with the requested data formatCOMMENT
Deep Nesting19 hits · 18 pts
SeverityFileLineSnippetContext
LOWgnucash/python/pycons/console.py309CODE
LOWgnucash/python/pycons/shell.py57CODE
LOWgnucash/python/pycons/shell.py139CODE
LOWbindings/python/gnucash_core.py578CODE
LOWbindings/python/gnucash_business.py176CODE
LOWbindings/python/gnucash_business.py177CODE
LOWbindings/python/example_scripts/account_analysis.py152CODE
LOWbindings/python/example_scripts/gncinvoice_jinja.py54CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py227CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py284CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py370CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py402CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py459CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py544CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py577CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py615CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py656CODE
LOW…ndings/python/example_scripts/rest-api/gnucash_rest.py715CODE
LOW…ings/python/example_scripts/rest-api/gnucash_simple.py88CODE
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMgnucash/python/pycons/console.py206 # Create a named pipe for system stdout/stderr redirectionCOMMENT
MEDIUMpo/glossary/txt-to-pot.sh29# This file is distributed under the same license as the GnuCash package.COMMENT
MEDIUM⚡bindings/python/tests/test_price_and_wrapping.py37 # Create a custom commodityCOMMENT
MEDIUMbindings/python/example_scripts/latex_invoices.py20# This file is not part of the python-bindings!\nCOMMENT
MEDIUMbindings/python/example_scripts/str_methods.py55 # Create a new flag unless `name` is already known.COMMENT
MEDIUMbindings/python/example_scripts/str_methods.py86 """This class provides a __format__ method which cuts values to a certain width.STRING
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHgnucash/python/pycons/console.py43except: passCODE
HIGHgnucash/python/pycons/console.py447except:CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHgnucash/python/pycons/ishell.py84 self.iter_more = self.IP.push(line)CODE
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWgnucash/python/pycons/ishell.py22except Exception as e:CODE
LOWbindings/python/example_scripts/latex_invoices.py260 except Exception as exception:CODE
LOWbindings/python/example_scripts/gncinvoice_jinja.py165 except Exception as exception:CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWgnucash/gnucash-strip-svn-datafile.sh28 # Print result of element removalCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ndings/python/example_scripts/export_account_totals.py18# Usage:COMMENT