Why is this an issue?

File header should match a template.

Either define the header template as plain text or regular expression or load it from a file.

How to fix it

Code examples

Noncompliant code example

With plain text header template:

-- This confidential and proprietary software may be used only as authorized
-- by a licensing agreement from Linty Services.
-- (c) Copyright 2016-2022 Linty Services
-- ALL RIGHTS RESERVED
-- The entire notice above must be reproduced on all authorized copies.

-- My header is a bit different from the template

entity fly is
end;

Compliant solution

With plain text header template:

-- This confidential and proprietary software may be used only as authorized
-- by a licensing agreement from Linty Services.
-- (c) Copyright 2016-2022 Linty Services
-- ALL RIGHTS RESERVED
-- The entire notice above must be reproduced on all authorized copies.

-- This confidential and proprietary software may be used only as authorized
-- by a licensing agreement from Linty Services.
-- (c) Copyright 2016-2021 Linty Services
-- ALL RIGHTS RESERVED
-- The entire notice above must be reproduced on all authorized copies.

entity fly is
end;

Resources

Related rules