Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
treefrog-framework/.lgtm.yml at master · treefrogframework/treefrog-framework · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
treefrogframework
treefrog-framework
Repository navigation
Code
Issues
4
(4)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
treefrog-framework
/
.lgtm.yml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
153 lines (144 loc) · 7.32 KB
master
Breadcrumbs
treefrog-framework
/
.lgtm.yml
Copy path
Top
File metadata and controls
Code
Blame
153 lines (144 loc) · 7.32 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
#
#########################################################################################
#
Customize file classifications. #
#
Results from files under any classifier will be excluded from LGTM #
#
statistics. #
#
#########################################################################################
#
#########################################################################################
#
Use the `path_classifiers` block to define changes to the default classification of #
#
files. #
#
#########################################################################################
path_classifiers
:
docs
:
#
Identify the top-level file called `generate_javadoc.py` as documentation-related.
-
generate_javadoc.py
test
:
#
Override LGTM's default classification of test files by excluding all files.
-
exclude
:
/
#
Classify all files in the top-level directories test/ and testsuites/ as test code.
-
test
-
testsuites
#
Classify all files with suffix `.test` as test code.
#
Note: use only forward slash / as a path separator.
#
Use ** to indicate an arbitrary parent path.
#
Use * to indicate any sequence of characters excluding /.
#
Always enclose the expression in double quotes if it includes *.
-
"
**/*.test
"
#
Refine the classifications above by excluding files in test/util/.
-
exclude
:
test/util
#
The default behavior is to tag all files created during the
#
build as `generated`. Results are hidden for generated code. You can tag
#
further files as being generated by adding them to the `generated` section.
generated
:
#
Exclude all `*.c` files under the `ui/` directory from classification as
#
generated code.
-
exclude
:
ui/**/*.c
#
By default, all files not checked into the repository are considered to be
#
'generated'.
#
The default behavior is to tag library code as `library`. Results are hidden
#
for library code. You can tag further files as being library code by adding them
#
to the `library` section.
library
:
-
exclude
:
3rdparty/**/*.c
-
exclude
:
3rdparty/**/*.cpp
#
The default behavior is to tag template files as `template`. Results are hidden
#
for template files. You can tag further files as being template files by adding
#
them to the `template` section.
template
:
-
exclude
:
path/to/template/code/**/*.c
#
Define your own category, for example: 'some_custom_category'.
some_custom_category
:
#
Classify all files in the top-level directory tools/ (or the top-level file
#
called tools).
-
tools
#
########################################################################################
#
Use the `queries` block to change the default display of query results. #
#
########################################################################################
queries
:
#
Start by hiding the results of all queries.
-
exclude
:
"
*
"
#
Then include all queries tagged 'security' and 'correctness', and with a severity of
#
'error'.
-
include
:
tags
:
-
"
security
"
-
"
correctness
"
severity
:
"
error
"
#
Specifically hide the results of two queries.
-
exclude
:
cpp/use-of-goto
-
exclude
:
java/equals-on-unrelated-types
#
Refine by including the `java/command-line-injection` query.
-
include
:
java/command-line-injection
#
########################################################################################
#
Define changes to the default code extraction process. #
#
Each block configures the extraction of a single language, and modifies actions in a #
#
named step. Every named step includes automatic default actions, #
#
except for the 'prepare' step. The steps are performed in the following sequence: #
#
prepare #
#
after_prepare #
#
configure (C/C++ only) #
#
python_setup (Python only) #
#
before_index #
#
index #
#
#########################################################################################
#
########################################################################################
#
Environment variables available to the steps: #
#
########################################################################################
#
LGTM_SRC
#
The root of the source tree.
#
LGTM_WORKSPACE
#
An existing (initially empty) folder outside the source tree.
#
Used for temporary download and setup commands.
#
########################################################################################
#
Use the extraction block to define changes to the default code extraction process #
#
for one or more languages. The settings for each language are defined in a child #
#
block, with one or more steps. #
#
########################################################################################
extraction
:
#
Define settings for C/C++ analysis
#
####################################
cpp
:
#
The `prepare` step exists for customization on LGTM.com only.
prepare
:
#
The `packages` section is valid for LGTM.com only. It names Ubuntu packages to
#
be installed.
packages
:
-
qtbase5-dev
-
qt5-default
-
qt5-qmake
-
qttools5-dev-tools
-
qtdeclarative5-dev
-
qtdeclarative5-dev-tools
-
libqt5sql5
-
libqt5sql5-sqlite
-
libsqlite3-dev
-
libmongoc-dev
-
libbson-dev
#
Add an `after-prepare` step if you need to run commands after the prepare step.
#
Each command should be listed on a separate line.
#
This step is useful for C/C++ analysis where you want to prepare the environment
#
for the `configure` step without changing the default behavior for that step.
after_prepare
:
-
export GNU_MAKE=make
-
export GIT=true
#
The `configure` step generates build configuration files which the `index` step
#
then uses to build the codebase.
configure
:
command
:
-
./configure --prefix=$PWD/local
#
Optional step. You should add a `before_index` step if you need to run commands
#
before the `index` step.
before_index
:
-
export BOOST_DIR=$LGTM_SRC/boost
-
export GTEST_DIR=$LGTM_SRC/googletest
-
export HUNSPELL_DIR=$LGTM_SRC/hunspell
-
export CRYPTOPP_DIR=$LGTM_SRC/cryptopp
#
The `index` step builds the code and extracts information during the build
#
process.
index
:
#
Override the autobuild process by specifying a list of custom build commands
#
to use instead.
build_command
:
-
$GNU_MAKE -j2 -C src
#
Specify that all project or solution files should be used for extraction.
#
Default: false.
all_solutions
:
false
You can’t perform that action at this time.