JED Checker Rules? Topic is solved

Here you can contact the editors of our Extensions site, as well as access infomation relating to this site.

Moderator: JED Team

Forum rules
Forum Rules
READ ME <-- please read before posting, this means YOU.
Post Reply
jjbongio
Joomla! Intern
Joomla! Intern
Posts: 56
Joined: Mon Dec 16, 2013 2:29 pm

JED Checker Rules?

Post by jjbongio » Fri Dec 29, 2023 12:13 am

I'm looking for some documentation on what JED checker looks for (even better, why). Trying to figure out some of the warnings, for example "error_log and var_dump".

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30945
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: JED Checker Rules?

Post by Per Yngve Berg » Fri Dec 29, 2023 7:49 am

Mod. Note: Relocated topic from Extensions to the JED Feedback Forum.

jjbongio
Joomla! Intern
Joomla! Intern
Posts: 56
Joined: Mon Dec 16, 2013 2:29 pm

Re: JED Checker Rules?

Post by jjbongio » Sat Dec 30, 2023 3:06 am

In particular, I'm trying to understand why having print_r in a component throws an error.
I note that many current components use it occasionally, including some extremely popular ones.

Physicist
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 131
Joined: Sat Apr 14, 2007 9:16 am
Location: Armenia
Contact:

Re: JED Checker Rules?

Post by Physicist » Sat Dec 30, 2023 6:31 am

Normally, print_r, var_dump and their friends are used for debugging purposes only. And JED Checker warns about them to avoid uploading debug versions to the JED.
Denis Ryabov, JED Checker Developer, Page Speed Optimizer Developer, Mobile Developer.

jjbongio
Joomla! Intern
Joomla! Intern
Posts: 56
Joined: Mon Dec 16, 2013 2:29 pm

Re: JED Checker Rules?

Post by jjbongio » Sat Dec 30, 2023 4:27 pm

That makes sense, thanks. In fact,they're in debugging code that can be enabled if necessary.

Physicist
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 131
Joined: Sat Apr 14, 2007 9:16 am
Location: Armenia
Contact:

Re: JED Checker Rules?

Post by Physicist » Wed Jan 03, 2024 6:06 am

jjbongio wrote:
Sat Dec 30, 2023 4:27 pm
That makes sense, thanks. In fact,they're in debugging code that can be enabled if necessary.
Anyway, JEDChecker is made for developers, not only for the JED Team. So if you are sure that this functionality is needed, submit your extension to the directory. If you are asked if you are sure that this functionality was not included by mistake, answer that yes, it is needed there.
Good luck!
Denis Ryabov, JED Checker Developer, Page Speed Optimizer Developer, Mobile Developer.


Post Reply

Return to “extensions.joomla.org - Feedback/Information”