Skip to content

Commit 78bbdb6

Browse files
authored
Merge pull request #98 from UnitTestBot/develop
1.1.0 release
2 parents 6139a09 + 16daefb commit 78bbdb6

File tree

112 files changed

+2929
-769
lines changed

Some content is hidden

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

112 files changed

+2929
-769
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ name: Build and run tests
1010
on:
1111
push:
1212
branches:
13-
- main
14-
- develop
15-
- 'feature-**'
16-
- '*/feature-**'
13+
- '*'
14+
- '*/*'
1715
pull_request:
1816
branches:
1917
- main
18+
- develop
2019

2120
permissions:
2221
contents: read

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Generate coverage report
22

33
on:
44
push:
5-
branches: [ develop, main ]
5+
branches: [ develop ]
66
pull_request:
77
branches: [ main ]
88
workflow_dispatch:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: ${{ github.actor == 'lehvolk' || github.actor == 'denis-fokin' || github.actor == 'bissquit' }}
1414
runs-on: ubuntu-latest
1515
permissions:
16-
contents: read
16+
contents: write
1717
packages: write
1818
steps:
1919
- uses: actions/checkout@v3

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
[![ci status](https://github.com/UnitTestBot/jacodb/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/UnitTestBot/jacodb/actions/workflows/build-and-test.yml)
1+
[![Maven](https://maven-badges.herokuapp.com/maven-central/org.jacodb/jacodb-api/badge.svg)](https://central.sonatype.com/search?smo=true&q=org.jacodb)
2+
[![Last Release](https://img.shields.io/github/release-date/unittestbot/jacodb.svg?logo=github)](https://github.com/unittestbot/jacodb/releases/latest)
3+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
4+
![Pure Java + Kotlin](https://img.shields.io/badge/100%25-java%2bkotlin-orange.svg)
25
[![Coverage](./docs/badges/jacoco.svg)](https://github.com/UnitTestBot/jacodb/actions/workflows/coverage.yml)
36

47
## Overview

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ val includeDokka: String? by project
88

99
group = "org.jacodb"
1010

11-
project.version = semVer ?: "1.0-SNAPSHOT"
11+
project.version = semVer ?: "1.1-SNAPSHOT"
1212

1313
buildscript {
1414
repositories {
@@ -175,6 +175,7 @@ if (!repoUrl.isNullOrEmpty()) {
175175
project(":jacodb-api"),
176176
project(":jacodb-core"),
177177
project(":jacodb-analysis"),
178+
project(":jacodb-approximations"),
178179
)
179180
) {
180181
publishing {

docs/badges/branches.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/badges/coverage-summary.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"branches": 68.14246846401187, "coverage": 69.80196523053665}
1+
{"branches": 68.50657108721624, "coverage": 70.46257629296498}

docs/badges/jacoco.svg

Lines changed: 1 addition & 1 deletion
Loading

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ jooqVersion=3.14.16
99
junit5Version=5.9.0
1010

1111
intellij_community_url=https://download-cdn.jetbrains.com/idea/ideaIC-2022.2.3.win.zip
12-
#database_location=d:\\work\\jacodb\\jcdb-http.db
12+
#database_location=d:\\work\\jacodb\\jcdb-http.db
13+
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m

jacodb-analysis/src/main/kotlin/org/jacodb/analysis/analyzers/NpeAnalyzer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private class NPEForwardFunctions(
222222
// Possibly null arguments
223223
result += method.flowGraph().locals
224224
.filterIsInstance<JcArgument>()
225-
.filter { it.type.nullable != false }
225+
.filter { method.parameters[it.index].isNullable != false }
226226
.map { NPETaintNode(AccessPath.fromLocal(it)) }
227227

228228
// Possibly null statics

0 commit comments

Comments
 (0)