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

EXCESSIVE_COMPONENT_LENGTH reported multiple times per CFC #156

Closed
bardware opened this issue Apr 29, 2016 · 2 comments
Closed

EXCESSIVE_COMPONENT_LENGTH reported multiple times per CFC #156

bardware opened this issue Apr 29, 2016 · 2 comments

Comments

@bardware
Copy link

My JSON file with the CFLINT results contains multiple reports for finding EXCESSIVE_COMPONENT_LENGTH for the same cfc file. The number of lines differs.

{
  "severity" : "INFO",
  "id" : "EXCESSIVE_COMPONENT_LENGTH",
  "message" : "EXCESSIVE_COMPONENT_LENGTH",
  "category" : "CFLINT",
  "abbrev" : "EC",
  "location" : {
    "file" : "D:\\projects\\source\\app\\service\\AttendeeFeeService.cfc",
    "fileName" : "AttendeeFeeService.cfc",
    "column" : "0",
    "line" : "1",
    "message" : "Component AttendeeFeeService is 528 lines. Should be less than 500 lines.",
    "variable" : "",
    "expression" : ""
  }
}, {
  "severity" : "INFO",
  "id" : "EXCESSIVE_COMPONENT_LENGTH",
  "message" : "EXCESSIVE_COMPONENT_LENGTH",
  "category" : "CFLINT",
  "abbrev" : "EC",
  "location" : {
    "file" : "D:\\projects\\source\\app\\service\\AttendeeService.cfc",
    "fileName" : "AttendeeService.cfc",
    "column" : "0",
    "line" : "1",
    "message" : "Component AttendeeService is 918 lines. Should be less than 500 lines.",
    "variable" : "",
    "expression" : ""
  }
}
@jevans-gp
Copy link

Ntt quite, the first one in your example is for AttendeeFeeService.cfc (note the Fee in there) the second one is for AttendeeService.cfc

@bardware
Copy link
Author

I trusted, iI triple checked that. Sorry.

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