9
Comments
  • 3
    That's a cute graph
  • 3
    @alexbrooklyn I hope it's readable...
    Logical Lines Of Code per PHP Class file

    Edit: Shot on my PotatoPhone™
  • 6
    @PonySlaystation but why not take a screenshot and crop it...
  • 3
    @melezorus34 could be a restricted work machine.
  • 2
    @melezorus34 @RememberMe Valid question. I'm not at work anymore and I lazily took the pictures. 😅
  • 7
    That reminds me of a website I was asked to 'audit' (see if I could find things that needed fixing, solutions to send the developer, etc).

    I say 'audit' because I'm not qualified to do anything remotely close to a security audit, so it was just me checking out the site for flaws. It was pro bono so not much effort was involved.

    For php sites, the first thing I do is bring up the browser console, check out the first server request and read the header.

    "Ah -hah! There's your problem. "X-Powered-By: PHP-5.3.0"

    PHP 5.3 is on a league of its own. Using non-declared variables does not throw an error and I remember seeing non-declared variables used as falsy values in if statements. Can you imagine debugging that shit?
  • 0
    @nitnip oh fuck 😢
  • 2
    That’s not even so bad yet… I’ll try to remember to run PhpMetrics on our codebase come Monday and show what’s legacy hell really like.
  • 0
  • 1
    My eyes my eyes!! 😩
Add Comment