rengwuxian/RxJavaSamples
RxJava 2 和 Retrofit 结合使用的几个最常见使用方式举例
- Repository: https://github.com/rengwuxian/RxJavaSamples
- Commit:
f9e47c2e8347f124bc03ebe10e758f26a9b841b8 - Generated: 2026-11-13T23:27:13+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 0 | none-detected | 45% | 100% |
| Code quality | 51 | weak | 90% | 100% |
| Security | 76 | adequate | 85% | 100% |
AI provenance
No AI attribution or AI-consistent velocity signals detected.
- Explicitly attributed share (lower bound): 0.0%
- Unattributed share in AI-consistent velocity bursts: 0.0%
- Estimated AI-generated share: 0.0%
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2016-03 | 1,337 | 0% |
| 2016-04 | 5 | 0% |
| 2016-09 | 9 | 0% |
| 2016-10 | 1 | 0% |
| 2017-09 | 186 | 0% |
AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.
Code quality
Code quality is weak: test-to-source ratio 0.00, no CI test run detected; 0% of function code in complex or long functions; 21% duplicated lines. Weakest area: testing.
| Area | Score |
|---|---|
| Complexity (lizard) | 100 |
| Duplication | 28 |
| Code smells (Opengrep) | 100 |
| Tests and CI | 0 |
| Documentation | 40 |
| Type safety | n/a |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 98; mean complexity 1.5, 90th percentile 3; 0 complex and 0 long functions
- Duplicated lines: 21.0% of 675 compared
- Tests: 0 test lines for 1,331 source lines (ratio 0.00); CI test commands: none detected; 0% of recent source commits also change tests
- Docs missing or thin: license, contributing, changelog
Security
Security posture is adequate: no high-impact findings. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 85 |
| Vulnerable dependencies (OSV) | n/a |
| CI workflows (zizmor) | n/a |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
- Posture checks passed: lockfiles; missing: security policy, dependency updates, signed commits
Top findings
| Severity | Finding | Location |
|---|---|---|
| medium | opengrep/java.android.security.exported_activity: The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activities do not have privileged access to your application's control plane. [confidence medium] |
app/src/main/AndroidManifest.xml:15 |
Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.
Distribution signals
- binary-release-asset: release 2.0 ships RxJavaSamples_2.0.apk (2503 downloads)
- binary-release-asset: release 1.01 ships RxJavaSamples_1.01.apk (2684 downloads)
- binary-release-asset: release 1.0 ships RxJavaSamples.apk (2620 downloads)
Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.
Repository profile
- Source lines: 1,331; test lines: 0
| Language | Lines |
|---|---|
| Java | 1,331 |