Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default free version lists 100,000 lines of code on https://naive.systems/#pricing, but tool only supports 10,000 #6

Open
jortega0 opened this issue Feb 8, 2024 · 1 comment

Comments

@jortega0
Copy link

jortega0 commented Feb 8, 2024

Describe the bug
A clear and concise description of what the bug is.

The https://naive.systems/#pricing website indicates that the free version allows for scanning up to 100,000 lines of code, however, I've found that it is actually 10,000.

To Reproduce
Steps to reproduce the behavior:

  1. Open the following URL in a web browswer: https://naive.systems/#pricing
  2. Read the bullets under the free version: Analyze up to 100,000 lines of code
  3. Run a docker command to run analyzer on files that have more than 10,000 accumulated lines of code:
$ docker run --rm \
    -v $PWD/.naivesystems:/config \
    -v $PWD/output:/output \
    -v $PWD:/src \
    ghcr.io/naivesystems/analyze:latest/opt/naivesystems/misra_analyzer \
    -show_results \
    -project_type=cmake \
    -src_dir /src
  1. Observe the error:
-- Configuring incomplete, errors occurred!
2024-02-08 14:33:35 6,273 lines of C code
2024-02-08 14:33:35 106 lines of C++ code
2024-02-08 14:33:35 5,414 lines of headers
F0208 14:33:39.129076       1 main.go:193] options.CheckCodeLines: exceed maximum limit 10000
goroutine 1 [running]:
github.com/golang/glog.stacks(0x0)
	github.com/golang/[email protected]/glog.go:769 +0x85
github.com/golang/glog.(*loggingT).output(0x1878b80, 0x3, 0xc000326000, {0x148c304?, 0xc000ed2b08?}, 0x1?, 0x0)
	github.com/golang/[email protected]/glog.go:720 +0x459
github.com/golang/glog.(*loggingT).printf(0xc001056150?, 0x2a?, {0xd35a94, 0x1a}, {0xc000ed2b08, 0x1, 0x1})
	github.com/golang/[email protected]/glog.go:655 +0x10a
github.com/golang/glog.Fatalf(...)
	github.com/golang/[email protected]/glog.go:1148
main.main()
	naive.systems/analyzer/misra/analyzer/cmd/main.go:193 +0x12a5

Expected behavior
A clear and concise description of what you expected to happen.

I'd expect the tool to reflect the website description or vice versa.

There are couple of potential options:

  1. Change the free version of the code to not error on 10,000 lines of code
  2. Change the number of lines of code on the website to 10,000

Screenshots
If applicable, add screenshots to help explain your problem.
Image of Website:
Screenshot from 2024-02-08 16-47-09

Desktop (please complete the following information):

  • OS: Ubuntu22.04
  • Browser chrome
  • Version:

Additional context
Add any other context about the problem here.
N/A

@xjia1
Copy link
Contributor

xjia1 commented Feb 20, 2024

The website at naive.systems is out of date. We will publish an updated version along with more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants