Skip to content

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

@jortega0

Description

@jortega0

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/glog@v1.0.0/glog.go:769 +0x85
github.com/golang/glog.(*loggingT).output(0x1878b80, 0x3, 0xc000326000, {0x148c304?, 0xc000ed2b08?}, 0x1?, 0x0)
	github.com/golang/glog@v1.0.0/glog.go:720 +0x459
github.com/golang/glog.(*loggingT).printf(0xc001056150?, 0x2a?, {0xd35a94, 0x1a}, {0xc000ed2b08, 0x1, 0x1})
	github.com/golang/glog@v1.0.0/glog.go:655 +0x10a
github.com/golang/glog.Fatalf(...)
	github.com/golang/glog@v1.0.0/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions